Need to reduce the size of a volume group
Hi,
I wasn't familiar with the Ubuntu 12.04 Server partitioner and wasn't sure how to make it create two volume groups on the same pv (/dev/md0 is the only pv I have available) - or how to set the size of that volume group. What I ended up doing is allow the volume group to be the entire size of the pv and then made a logical volume in it that is much smaller. So what I have is a single volume group of around 6 TB in size on /dev/md0 and a single logical volume in it that's around 30 GB in size. That logical volume is where Ubuntu server is installed to (mounted as / ). I need to find a way to reduce the size of the volume group (not the logical volume, the volume group) to match the size of the logical volume on it, so I can use the resulting free space to create a second volume group for other logical volumes to reside in. I'm seeing a lot of info on the net about changing the size of logical volumes but nothing for changing the size of volume groups. If there's another way to reach my goal besides the resizing route, I'm open to it - just need an idea what to do. Ultimately I need to have, not one, but two volume groups on the single physical volume. One of which containing Ubuntu server in a single logical volume, the other for other purposes. Can anyone please help me along?
Thanks in advance
Jake
“ The best method for accelerating a computer is the one that boosts it by 9.8 m/s2. ”
- Anonymous
Bookmarks