Unable to create scheduled backups, no space, need to merge partitions

Partitions on a live machine:

Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_ns03-lv_root 11G 7.5G 2.9G 73% / tmpfs 1.9G 80K 1.9G 1% /dev/shm /dev/sda1 485M 147M 314M 32% /boot /dev/mapper/vg_ns03-lv_home 132G 51G 75G 41% /home

Due to lack of space in the '/' partition, I am unable to create scheduled backups on the machine or outside the machine.

I would like to know if I can merge partitions '/' and '/home' so that I have enough space to do backups without losing existing data

Please ask for more info if needed

Status: 
Active

Comments

Howdy -- hmm, rather than merging the partitions, what would you think about moving Webmin's tmp directory to use /home rather than /tmp?

That way, the backups would run properly, and you wouldn't have to make significant changes to your server.

To do that, you would first need to make a tmp directory, such as "/home/tmp".

Then, go into Webmin -> Webmin -> Webmin Configuration -> Advanced, and there, set "Temporary files directory" to your new temp directory.

bislinks's picture
Submitted by bislinks on Wed, 11/05/2014 - 13:22 Pro Licensee

Thank you very much andreycheck.

I did that. Will peacefully schedule backups on this server now on....

bislinks's picture
Submitted by bislinks on Wed, 11/05/2014 - 13:25 Pro Licensee

Can I make '/home/tmp' the default instead of the /tmp for the machine, not just for webmin?

Probably not, unfortunately... most services that use it have that hard coded in some way.

Well, I suppose you could make /tmp a symlink to /home/tmp, that may work, though I haven't tested that before :-)