PdfPrep.com

CORRECT TEXT

CORRECT TEXT

Create a logical volume

Create 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

Answer: see explanation below.

Explanation

fdisk -cu /dev/vda// Create a 1G partition, modified when needed

partx Ca /dev/vda

pvcreate /dev/vdax

vgcreate datastore /dev/vdax Cs 16M

lvcreateC l 50 Cn database datastore

mkfs.ext3 /dev/datastore/database

mkdir /mnt/database

mount /dev/datastore/database /mnt/database/ df CTh

vi /etc/fstab

/dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount Ca

Restart and check all the questions requirements.

Exit mobile version