Jump to content
SolusVM Community

Archived

This topic is now archived and is closed to further replies.

kalhori

LVM Partition for Solus VM

Recommended Posts

Dear All

 

I'm new , I've just installed a CentOS 6.4 with partition below.

 

/Boot 500MB format as EXT2

/ 50GB format as EXT3

SWAP 12GB

400 GB is free

 

Could you please help me to create partition LVM for XEN and SolusVM.

 

Best Regards

Share this post


Link to post
Share on other sites

Hello

 

df -h

 

Filesystem Size Used Avail Use% Mounted on

/dev/sda2 50G 785M 46G 2% /

tmpfs 3.8G 0 3.8G 0% /dev/shm

/dev/sda1 291M 32M 244M 12% /boot

 

 

fdisk -l

 

Disk /dev/sda: 500.1 GB, 500107862016 bytes

255 heads, 63 sectors/track, 60801 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk identifier: 0x00078081

 

Device Boot Start End Blocks Id System

/dev/sda1 * 1 39 307200 83 Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2 39 6566 52428800 83 Linux

/dev/sda3 6566 8132 12582912 82 Linux swap / Solaris

 

 

vgs

No volume groups found

 

lvs

No volume groups found

 

pvs

nothing

 

Thank you very much.

 

Best Regards

Share this post


Link to post
Share on other sites

 

fdisk -l

 

Disk /dev/sda: 500.1 GB, 500107862016 bytes

255 heads, 63 sectors/track, 60801 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk identifier: 0x00078081

 

Device Boot Start End Blocks Id System

/dev/sda1 * 1 39 307200 83 Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2 39 6566 52428800 83 Linux

/dev/sda3 6566 8132 12582912 82 Linux swap / Solaris

 

 

 

1) As per your fdisk -l command I can see you have not created LVM Partition on your server so please create the new Partition on your server using fdisk and change the Partition type to Linux LVM,

 

 

NOTE : If you are not sure how to create new Partition, Let me know I will provide you full steps

 

 

2) Create the PV through following command

 

pvcreate /dev/sda4

 

 

You can check that new PV through pvscan command

 

3)Create the Volume Group

 

vgcreate -s 32M vol_grp1 /dev/sda4

 

Check your volume groups through vgdisplay command

 

Once it's done, Just update your volume group name in your SolusVM setting so that SolusVM will create the VM on that volume group

 

 

Thank you..!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.