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
7 months agoTegan
8 months agoShawnee
8 months agoIvette
8 months agoDorinda
8 months agoJess
9 months agoProvidencia
9 months agoShaniqua
9 months agoYasuko
9 months agoRodrigo
9 months agoRueben
9 months agoMelissa
10 months agoGeoffrey
10 months ago