Converting from LVM - Need more space on root partion

interspectrum
Posts: 5
Joined: Fri Dec 23, 2011 10:54 pm

Converting from LVM - Need more space on root partion

Postby interspectrum » Sat Apr 14, 2012 4:18 pm

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

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

Postby bigfoot65 » Sat Apr 14, 2012 5:53 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

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

Postby sgtfoo » Sun Apr 15, 2012 7:25 am

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?
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

Who is online

Users browsing this forum: No registered users and 10 guests