Page 1 of 1

Converting from LVM - Need more space on root partion

Posted: Sat Apr 14, 2012 4:18 pm
by interspectrum
I posted this here in the newbie section cause I wasn't sure where it fits best. I have had a server running for a many months and it has been doing great. I planed on redoing the server once the new Amahi on Fedora 16 was out but since it is taking a while longer the issue I am having is getting to be to difficult to ignore.

The issue is when I installed Amahi 6 on fedora 14, I followed the standard install which portioned my drive with LVM. I am using Greyhole and have added several more drives. The problem is the root portion is only 50 gigs. This causes issues because it fills up quickly when the system is working (copying files, using sabnzbdplus, etc).

Is there a way to convert the LVM to a normal portion and increase the root size or must I reinstall from scratch?

If I must reinstall, I understand how to do that. I would disconnect my data drives and reinstall on the system drive, then once amahi is up and running, reconnect the data drives and run greyhole to process the old drives. The issue is the old data drives are still have the LVM partion. The new system wont read them, or am I wrong? I'm note sure how to handle all data on the greyhole drives. I don't want to loose all my data. What is the best procedure for this?

Here is the output of df -h:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root 50G 47G 25M 100% /
tmpfs 1.4G 88K 1.4G 1% /dev/shm
/dev/sdb1 485M 48M 412M 11% /boot
/dev/mapper/VolGroup-lv_home 176G 820M 167G 1% /home
/dev/sde1 299G 118G 181G 40% /var/hda/files/drives/drive1
/dev/sda1 1.8T 1.6T 182G 90% /var/hda/files/drives/drive2
/dev/sdc1 459G 255G 181G 59% /var/hda/files/drives/drive3
/dev/sdd1 459G 255G 181G 59% /var/hda/files/drives/drive4
//127.0.0.1/Audiobooks 3.2T 2.3T 890G 73% /mnt/samba/Audiobooks
//127.0.0.1/Books 3.2T 2.3T 890G 73% /mnt/samba/Books
//127.0.0.1/Cartoons 3.2T 2.3T 890G 73% /mnt/samba/Cartoons
//127.0.0.1/Docs 3.2T 2.3T 890G 73% /mnt/samba/Docs
//127.0.0.1/Misc 3.2T 2.3T 890G 73% /mnt/samba/Misc
//127.0.0.1/Movies 3.2T 2.3T 890G 73% /mnt/samba/Movies
//127.0.0.1/Music 3.2T 2.3T 890G 73% /mnt/samba/Music
//127.0.0.1/Newsgroup 3.2T 2.3T 890G 73% /mnt/samba/Newsgroups
//127.0.0.1/Pictures 3.2T 2.3T 890G 73% /mnt/samba/Pictures
//127.0.0.1/TV 3.2T 2.3T 890G 73% /mnt/samba/TV
//127.0.0.1/VideoRola 3.2T 2.3T 890G 73% /mnt/samba/VideoRola

Re: Converting from LVM - Need more space on root partion

Posted: Sat Apr 14, 2012 5:53 pm
by bigfoot65
Why not move the landing zone?

http://wiki.amahi.org/index.php/Moving_landing_zone

You can also move the location of shares to other drives as well. Seems like a simple solution for your problem.

Re: Converting from LVM - Need more space on root partion

Posted: Sun Apr 15, 2012 7:25 am
by sgtfoo
you're filling up your OS drive?

How big is your /home mount?

Could you change where your space-filling apps are saving data? to something like a folder inside /home/user ?

I have a 74GB WDRaptor as my system drive and it barely gets used, as all things that need storage are pointed to the storage shares or to the /home mount.

could you reshape the size of your partition using a gparted live USB... shrink the /home and expand the root.
No need to be rid of LVM?