On Fri, 13 Aug 2004, kate wrote:
What way could I repartition, non-destructively, to give more space to /usr and less to /var?
A 20 GB drive, on setup I over-estimated space to some partitions (eg. /var), while under-estimating space to other (/usr) partitions. df -h gives:
Filesystem Size Used Avail Use% Mounted on /dev/hda6 3.8G 301M 3.3G 9% / /dev/hda1 99M 13M 81M 14% /boot none 252M 0 252M 0% /dev/shm /dev/hda5 4.9G 943M 3.7G 21% /home /dev/hda3 4.9G 3.8G 790M 84% /usr /dev/hda2 4.9G 267M 4.3G 6% /var
Is there a way to repartition, non-destructively, to give more space to /usr and less to /var? I have googled but not found anything precise. Any suggestions appreciated, thanks in advance,
options (from most to least ambitious):
1) switch over to using LVM2, where you can resize at will
2) combination of parted and resize2fs
3) don't really resize. just cheat and move stuff using symlinks if you just want to fix the problem for now with the least effort
rday
p.s. your root partition is a little on the large side as well.