SIMULATION - 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.
'vgcreate -s' is to specify the size of 'Physical Extent' of 16M, not the total disk size.
'lvcreate -l' specify 20 units of the extents, the requirement says LV named as 'lv0'.
after LV has created, there is no '/dev/mapper/'.
pvcreate /dev/nvme1n1
vgcreate -s 500M VGEX /dev/nvme1n1
lvcreate -n lvex -L 320M VGEX
mkfs.ext3 /dev/VGEX/lvex
mkdir /mnt/data
echo “/dev/mapper/VGEX-lvex /mnt/data ext3 defaults 0 0” >> /etc/fstab
mount -a
mount
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ly01
4 months, 3 weeks agogaven186
5 months agoPENNSHARK
10 months, 3 weeks ago