Command (m for help): t in Software

Creating QR Code JIS X 0510 in Software Command (m for help): t

Command (m for help): t
Painting QR Code JIS X 0510 In None
Using Barcode creation for Software Control to generate, create Quick Response Code image in Software applications.
Recognize QR Code In None
Using Barcode reader for Software Control to read, scan read, scan image in Software applications.
7:
QR Code ISO/IEC18004 Creator In C#.NET
Using Barcode printer for .NET framework Control to generate, create Denso QR Bar Code image in .NET framework applications.
Printing Quick Response Code In .NET Framework
Using Barcode creator for ASP.NET Control to generate, create Quick Response Code image in ASP.NET applications.
File Systems
QR Code JIS X 0510 Printer In VS .NET
Using Barcode creator for .NET framework Control to generate, create QR Code image in .NET applications.
QR Code Generator In Visual Basic .NET
Using Barcode encoder for .NET framework Control to generate, create Denso QR Bar Code image in Visual Studio .NET applications.
10 Enter the partition number whose type you want to change We want to change the type for the /dev/hda3 partition that was just created, so type 3 when prompted for a partition number
Make DataMatrix In None
Using Barcode generator for Software Control to generate, create Data Matrix image in Software applications.
EAN-13 Supplement 5 Creation In None
Using Barcode maker for Software Control to generate, create European Article Number 13 image in Software applications.
Partition number (1-4): 3
UCC - 12 Encoder In None
Using Barcode encoder for Software Control to generate, create UPC-A Supplement 5 image in Software applications.
Encoding Barcode In None
Using Barcode generator for Software Control to generate, create barcode image in Software applications.
11 Enter the partition type for Linux LVM Type 8e at the prompt:
Code 39 Full ASCII Maker In None
Using Barcode maker for Software Control to generate, create Code-39 image in Software applications.
UCC.EAN - 128 Creation In None
Using Barcode generator for Software Control to generate, create EAN 128 image in Software applications.
Hex code (type L to list codes): 8e
UPC-E Supplement 2 Encoder In None
Using Barcode printer for Software Control to generate, create GS1 - 12 image in Software applications.
Data Matrix ECC200 Generation In None
Using Barcode generation for Microsoft Excel Control to generate, create Data Matrix 2d barcode image in Office Excel applications.
NOTE
USS-128 Generation In Java
Using Barcode printer for Java Control to generate, create USS-128 image in Java applications.
Read Bar Code In .NET Framework
Using Barcode Control SDK for ASP.NET Control to generate, create, read, scan barcode image in ASP.NET applications.
You can list the hex codes for the available partition types by typing L
Decode Code 128 Code Set B In C#
Using Barcode scanner for VS .NET Control to read, scan read, scan image in Visual Studio .NET applications.
Code128 Creator In .NET
Using Barcode drawer for Reporting Service Control to generate, create Code 128 Code Set C image in Reporting Service applications.
12 View the changes you ve made by viewing the partition table Type p
Decoding GS1 - 13 In Visual Basic .NET
Using Barcode recognizer for Visual Studio .NET Control to read, scan read, scan image in .NET framework applications.
GS1 - 12 Generator In None
Using Barcode generator for Microsoft Word Control to generate, create UCC - 12 image in Office Word applications.
Command (m for help): p Disk /dev/sda: 107 GB, 10737418240 bytes 255 heads, 63 sectors/track, 1305 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00005158 Device Boot Start End Blocks Id System /dev/sda1 * 1 25 200781 83 Linux /dev/sda2 26 1200 9438187+ 8e Linux LVM /dev/sda3 1201 1305 843412+ 8e Linux LVM
13 Once you are satisfied with your changes, commit or write the changes you ve made to the disk s partition table using the w (write table to disk) command:
Command (m for help): w
14 Quit the fdisk utility Type q
Command (m for help): q
15 When you are back at the shell prompt, reboot the system to allow the Linux kernel to properly recognize the new partition table Type
[root@fedora-serverA ~]# reboot
Creating a Physical Volume
Next, create the physical volume itself 1 After the system comes back up from the reboot, log back in as the superuser 2 First let s view the current physical volumes defined on the system Type
[root@fedora-serverA ~]# pvdisplay --- Physical volume ---
Linux Administration: A Beginner s Guide
PV Name /dev/sda2 VG Name VolGroup00 PV Size 900 GB / not usable 100300 KB (OUTPUT TRUNCATED)
Take note of the physical volume name field (PV Name) 3 Use the pvcreate command to initialize the partition we created earlier as a physical volume Type
[root@fedora-serverA ~]# pvcreate /dev/sda3 Physical volume "/dev/sda3" successfully created
4 Use the pvdisplay command to view your changes again Type
[root@fedora-serverA ~]# pvdisplay --- Physical volume --PV Name /dev/sda2 VG Name VolGroup00 (OUTPUT TRUNCATED) --- NEW Physical volume --PV Name /dev/sda3 VG Name PV Size 82364 MB (OUTPUT TRUNCATED)
Assigning a Physical Volume to a Volume Group
Here we will assign the physical volume created earlier to a volume group (VG) 1 First use the vgdisplay command to view the current volume groups that might exist on your system Type
[root@fedora-serverA ~]# vgdisplay --- Volume group --VG Name VolGroup00 System ID Format lvm2 (Output truncated) VG Size 900 GB PE Size 3200 MB Total PE 288 Alloc PE / Size 287 / 897 GB Free PE / Size 1 / 3200 MB VG UUID T4153B-80Zu-KQPs-sWwt-X5sg-0G78-EAiEp0
7:
File Systems
From the preceding output, we can tell that The volume group name (VG Name) is VolGroup00 The current size of the VG is 9GB (this should increase by the time we are done) The physical extent size is 32MB, and there are a total of 288 PEs There is only one physical extent that is free in the VG It is equivalent to 32MB of space 2 Assign the PV to the volume group using the vgextend command The syntax for the command is
vgextend [options] VolumeGroupName PhysicalDevicePath
Substituting the correct values in this command, type
[root@fedora-serverA ~]# vgextend VolGroup00 /dev/sda3 Volume group "VolGroup00" successfully extended
3 View your changes with the vgdisplay command Type
[root@fedora-serverA ~]# vgdisplay --- Volume group --VG Name VolGroup00 (Output truncated) Act PV 2 VG Size 978 GB PE Size 3200 MB Total PE 313 Alloc PE / Size 287 / 897 GB Free PE / Size 26 / 83200 MB
Note that the VG Size, Total PE, and Free PE values have dramatically increased We now have a total of 26 free PEs (or 832MB)
Creating a Logical Volume (LV)
Now that we have some room in the VG, we can go ahead and create the final logical volume (LV) 1 First view the current LVs on the system Type
[root@fedora-serverA ~]# lvdisplay | less --- Logical volume --LV Name /dev/VolGroup00/LogVol00 VG Name VolGroup00 (Output truncated)
Linux Administration: A Beginner s Guide
--- Logical volume --LV Name /dev/VolGroup00/LogVol02 VG Name VolGroup00 (Output truncated) --- Logical volume --LV Name /dev/VolGroup00/LogVol03 VG Name VolGroup00 (Output truncated) --- Logical volume --LV Name /dev/VolGroup00/LogVol01 VG Name VolGroup00
The preceding output shows the current LVs /dev/VolGroup00/LogVol00, /dev/VolGroup00/LogVol02, /dev/VolGroup00/LogVol03, and so on 2 With the background information that we now have, we will create an LV using the same naming convention that is currently used on the system We will create a fourth LV called LogVol04 The full path to the LV will be /dev/VolGroup00/ LogVol04 Type
Copyright © OnBarcode.com . All rights reserved.