Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Need some help developing a strategy

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Prometheus418
Posts: 1
Joined: 2015-09-14 13:21

Need some help developing a strategy

#1 Post by Prometheus418 »

Hi all-

I've got a pair of Debian servers running some django sites, and they've been working good for me for quite a while.

The problem is that when I set them up, I did not really configure the system the way I should have, and our PLM system is storing files in the Root filesystem. So now I have a Raid 5 array sitting basically unused, and a root partition that won't behave because it is maxed out.

I have resized partitions with Gparted before, but only on single disks- I used a live usb to look at it, but it doesn't rebuild the array and I don't want to mess the entire system up. They are LVM partitions, so I am hoping that there is a way to simply grow the root folder into the home partition without too much hassle. The home partition exists, but I don't really use it for anything. If I shrink it and lose some data, I don't really care about that- I just want the root partition larger.

Here's what lsblk gives me:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 3.7T 0 disk
└─md126 9:126 0 10.4T 0 raid5
├─md126p1 259:0 0 768K 0 md
├─md126p2 259:1 0 244.1M 0 md /boot
└─md126p3 259:2 0 10.4T 0 md
├─RMopenPLM--vg-root (dm-0) 253:0 0 9.3G 0 lvm /
├─RMopenPLM--vg-swap_1 (dm-1) 253:1 0 31.9G 0 lvm [SWAP]
└─RMopenPLM--vg-home (dm-2) 253:2 0 10.3T 0 lvm /home
sdb 8:16 0 3.7T 0 disk
└─md126 9:126 0 10.4T 0 raid5
├─md126p1 259:0 0 768K 0 md
├─md126p2 259:1 0 244.1M 0 md /boot
└─md126p3 259:2 0 10.4T 0 md
├─RMopenPLM--vg-root (dm-0) 253:0 0 9.3G 0 lvm /
├─RMopenPLM--vg-swap_1 (dm-1) 253:1 0 31.9G 0 lvm [SWAP]
└─RMopenPLM--vg-home (dm-2) 253:2 0 10.3T 0 lvm /home
sdc 8:32 0 3.7T 0 disk
└─md126 9:126 0 10.4T 0 raid5
├─md126p1 259:0 0 768K 0 md
├─md126p2 259:1 0 244.1M 0 md /boot
└─md126p3 259:2 0 10.4T 0 md
├─RMopenPLM--vg-root (dm-0) 253:0 0 9.3G 0 lvm /
├─RMopenPLM--vg-swap_1 (dm-1) 253:1 0 31.9G 0 lvm [SWAP]
└─RMopenPLM--vg-home (dm-2) 253:2 0 10.3T 0 lvm /home
sdd 8:48 0 3.7T 0 disk
└─md126 9:126 0 10.4T 0 raid5
├─md126p1 259:0 0 768K 0 md
├─md126p2 259:1 0 244.1M 0 md /boot
└─md126p3 259:2 0 10.4T 0 md
├─RMopenPLM--vg-root (dm-0) 253:0 0 9.3G 0 lvm /
├─RMopenPLM--vg-swap_1 (dm-1) 253:1 0 31.9G 0 lvm [SWAP]
└─RMopenPLM--vg-home (dm-2) 253:2 0 10.3T 0 lvm /home
sde 8:64 1 14.6G 0 disk
└─sde1 8:65 1 14.6G 0 part /usr
sr0 11:0 1 1024M 0 rom

Anyone able to spare a few moments to help me out? Some of the packages needed for the software are older, and I'd rather not reinstall if it can be avoided.

Thanks!

Post Reply