sourceninja
Diamond Member
Ok, so I'm an idiot.
I setup a new box a little while ago and set it up with the following partitions
50megs /boot (ext2)
2 gigs swap
20 gig / (reiserfs)
rest of the drive /home (reiserfs)
Now I'm finding i'm about 80% full on my / drive. I need to get some more space onto that partition. Now I have a few options, but i'm not sure which is the best. All of these will solve my problem.
1) The biggest apps I have installed are UT2004 and NWN in my /opt folder. I could uninstall those games and install them in my home drive. This would free up a few gig. (annoying because then portage can't manage my updates for me)
2) I could get a new drive, partition it and copy over my old drive with cp -a. (expensive gonna cost a little to get another dirve, but I would then have another 300-400 gig)
3) I could do a bind mount (mount --bind /home/games /opt) to mount /opt to a folder on my home drive (I could also do this with other folders like /usr/portage/distfiles or anything else that gets large. I already do this with /root in my fstab, but thats just to make sure the root user files get backed up with my other user /home files. (This might work out great for a while, but i'm concerned about access times doing this. Will this cause any issues?)
4) Do a backup of my system, repartition the drive and restore the backup (just really freaking time comsuming)
Anways, what do you think the best solution is?
I setup a new box a little while ago and set it up with the following partitions
50megs /boot (ext2)
2 gigs swap
20 gig / (reiserfs)
rest of the drive /home (reiserfs)
Now I'm finding i'm about 80% full on my / drive. I need to get some more space onto that partition. Now I have a few options, but i'm not sure which is the best. All of these will solve my problem.
1) The biggest apps I have installed are UT2004 and NWN in my /opt folder. I could uninstall those games and install them in my home drive. This would free up a few gig. (annoying because then portage can't manage my updates for me)
2) I could get a new drive, partition it and copy over my old drive with cp -a. (expensive gonna cost a little to get another dirve, but I would then have another 300-400 gig)
3) I could do a bind mount (mount --bind /home/games /opt) to mount /opt to a folder on my home drive (I could also do this with other folders like /usr/portage/distfiles or anything else that gets large. I already do this with /root in my fstab, but thats just to make sure the root user files get backed up with my other user /home files. (This might work out great for a while, but i'm concerned about access times doing this. Will this cause any issues?)
4) Do a backup of my system, repartition the drive and restore the backup (just really freaking time comsuming)
Anways, what do you think the best solution is?