RedHat EX200 Exam - Topic 6 Question 131 Discussion
Create a logical volumeCreate a new logical volume as required:Name the logical volume as database, belongs to datastore of the volume group, size is 50 PE.Expansion size of each volume in volume group datastore is 16MB.Use ext3 to format this new logical volume, this logical volume should automatically mount to /mnt/database
A) Explanation:
fdisk -cu /dev/vda// Create a 1G partition, modified when needed
partx --a /dev/vda
pvcreate /dev/vdax
vgcreate datastore /dev/vdax --s 16M
lvcreate-- l 50 --n database datastore
mkfs.ext3 /dev/datastore/database
mkdir /mnt/database
mount /dev/datastore/database /mnt/database/ df --Th
vi /etc/fstab
/dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount --a
Restart and check all the questions requirements.
Currently there are no comments in this discussion, be the first to comment!