Dit deel is nog niet vertaald. Je ziet de Engelse tekst.
Doel
Build a volume group with a fixed extent size and two logical volumes that are mounted at every boot.
Voordat je begint
- You need an empty disk of at least 5 GiB (in this lab
/dev/vdc; check withlsblk). Work as root.
Taken
Vink een taak aan als hij klaar is. Alleen je browser onthoudt dit.
- Create a partition of 4 GiB of the type LVM on the disk and make it a physical volume.
- Create the volume group
vgfileswith an extent size of 8 MiB. - Create the logical volume
lvfileswith exactly 50 extents. Format it with XFS and mount it on/filesat every boot. - Create the logical volume
lvdocswith the rest of the free space. Format it with ext4 and mount it on/docsat every boot. - Show the size of
lvfilesin MiB and the PE size of the VG.
Controleer je werk
Hints
Toon de hints
- fdisk type alias:
lvm. vgcreate -s 8M,lvcreate -l 50,lvcreate -l 100%FREE.- In fstab use
/dev/vgfiles/lvfiles.
Oplossing
Toon de oplossing
- Partition and PV.
- VG with 8 MiB extents.
vgcreate -s 8M vgfiles /dev/vdc1 - lvfiles with 50 extents, XFS, fstab.
- lvdocs with the rest, ext4, fstab.
- Sizes.
Mijn notities
Nog geen notities.