RedHat EX200 Exam - Topic 2 Question 61 Discussion
Create a volume group, and set the size is 500M, the size of single PE is 16M. Create logical volume named lv0 in this volume group, set size is 20 PE, make it as ext3 file system, and mounted automatically under data.
A) Explanation:
fdisk /dev/vda
pvcreate /dev/vda3
vgcreate --s 16M vg0 /dev/vda3
lvcreate --n lv0 --l 20 vg0
mkfs.ext3 /dev/mapper/vg0-lv0
mkdir /data
/etc/fstab:
/dev/mapper/vg0-lv0 /data ext3 defaults 0 0
mount --a
mount | grep data
My
9 months agoTegan
10 months agoShawnee
10 months agoIvette
10 months agoDorinda
10 months agoJess
11 months agoProvidencia
11 months agoShaniqua
11 months agoYasuko
11 months agoRodrigo
11 months agoRueben
11 months agoMelissa
11 months agoGeoffrey
12 months ago