Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
How to "open" a partition for storage?
- Join Date
- Jan 2007
first you need to know what's hogging the space on /dev/sda3,
the root directory / is mounted there.
du -x | sort -nr >DUs
Now look at DUs to find who is using most of the space. Suppose it is
/home. You want to get those files onto sdb1, after moving all the sdb1
files onto sda3
here's one way (note the mv command is destructive)
1. umount /dev/sdb1
2. mount /dev/sdb1 /mnt
3. cd /mnt
4. mv * /usr # on sda3
5. cd /home
6. mv * /mnt # on sdb1
7. umount /mnt
8. mount /dev/sdb1 /home
now go into /etc and change fstab so that /dev/sdb1 is mounted (not on
/usr but) on /home. Reboot.the sun is new every day (heraclitus)