Requirements:
1.
Adding the Additional DISK to the VM using
the vCenter
2.
Creating the logical Volume Manager using
SUSE Linux
Solution:
Adding a disk to VM,
Right click on the VM and click on the Edit settings
Click on the Add button and from the Add hardware popup
select the Hard Disk then Click Next
Select a disk choose the below Radio Button:
Click Next -> Next and Finish.
You can see the Virtual Machine properties New Hard
Disk is added.
Step2:
Login to the VM and perform the following instructions:
Rescan-scsi-bus.sh
Lsscsi will give the device information:
pvcreate
/dev/sdc
vgcreate vg02
/dev/sdc
lvcreate -l
100%FREE -n lvol01 vg02
mkfs -t ext3 -m 1 -v /dev/vg02/lvol01
mkdir /vol01
chmod 755 /vol01
cp -p /etc/fstab /etc/fstab.bak
echo
"/dev/vg02/lvol01 /vol01 ext3 defaults
1 2" >> /etc/fstab
mount –a
Once you done above step execute the df –h which will
show you the all mounted filesystem.









No comments:
Post a Comment