setting up Volume Groups after initial installation created on single volume group using all space https://www.softaculous.com/board/index.php?tid=6230 <![CDATA[setting up Volume Groups after initial installation created on single volume group using all space]]> https://www.softaculous.com/board/index.php?tid=6230&tpg=1#p22893
Sir, you will need to shrink the /root LV and only then this can be used for Virtualizor VM Creation.
Its going to be a long process. Its better you simply reinstall the OS with the following partition scheme :
http://www.virtualizor.com/wiki/Install_Xen#Partition_Scheme

Regards,
ALons]]>
Sun, 07 Dec 2014 12:24:38 GMT https://www.softaculous.com/board/index.php?tid=6230&tpg=1#p22893
<![CDATA[]]> https://www.softaculous.com/board/index.php?tid=6230&tpg=0#p22887
First, apologies in advance for this post. I haven't used LVM in 7 years and seemingly forgot everything I knew since operating a fairly large xen cluster.

I have a CentOS 6.4 box installed from scratch with the following setup:

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg-root  450G  1.5G  426G  1% /
tmpfs                464M    0  464M  0% /dev/shm
/dev/cciss/c0d0p1    243M  74M  157M  33% /boot
/dev/mapper/vg-tmp    976M  1.3M  908M  1% /tmp
xenstore              464M  40K  464M  1% /var/lib/xenstored


# fdisk -l

Disk /dev/cciss/c0d0: 500.1 GB, 500074307584 bytes
255 heads, 32 sectors/track, 119694 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbee3f084

          Device Boot      Start        End      Blocks  Id  System
/dev/cciss/c0d0p1  *          1          63      256000  83  Linux
Partition 1 does not end on cylinder boundary.
/dev/cciss/c0d0p2              63      119695  488096768  8e  Linux LVM

Disk /dev/mapper/vg-root: 490.3 GB, 490297360384 bytes
255 heads, 63 sectors/track, 59608 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg-swap: 8422 MB, 8422162432 bytes
255 heads, 63 sectors/track, 1023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg-tmp: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000



I've installed Virtualizor for Xen and unfortunately only found after the install that the Volume group I specified in the installer must be empty/not mounted.

Can anyone give me advice on how to resize this vg and add a new one for Xen/Virtualizor to use?

Any help appreciated, thanks
]]>
Sat, 06 Dec 2014 23:25:28 GMT https://www.softaculous.com/board/index.php?tid=6230&tpg=0#p22887