Re: reclaiming space from redmond!
Prashanth Narayanan wrote:
some more info: (i messed up the named of the devices in my earlier email)
here is a "df -h" from my machine:
prash@mantra:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda8 3.8G 3.2G 389M 90% /
tmpfs 189M 0 189M 0% /dev/shm
/dev/hda6 45M 5.3M 37M 13% /boot
/dev/hda1 6.9G 6.7G 228M 97% /mnt/c
/dev/hda5 7.8G 6.7G 1.2G 86% /mnt/d
/dev/hdb1 28G 24G 4.7G 84% /mnt/g
/dev/hdb5 28G 25G 3.9G 87% /mnt/h
/dev/hdb6 28G 15G 14G 52% /mnt/i
/dev/hdb7 31G 23G 8.3G 74% /mnt/j
as you can see /dev/hda6 is where i have my "/" partition. this is 90% full.
Um, no. It's /dev/hda8 which is your "/" partition.
Since 8 is not next to 5, you won't be able to merge these two partitions.
You can backup, wipe, repartion, restore, to get things the way you want.
Or, what I would suggest, is to simply move to a multi-partition scheme.
You can use the /dev/hda6 partition for /usr, or /var, or /home
(whichever is taking up the most space on /dev/hda8). For example, let's
say your /usr directory is 2.8 GB of your 3.2 GB used on "/". You can
cfdisk /dev/hda6 into a Linux partition, then format it (mkfs.ext3
/dev/hda6). Then mount /dev/hda6 on a temporary directory ("mkdir
/tmpusr"; "mount /dev/hda6 /tmpusr"). Then copy the /usr data over ("cp
-a /usr/* /tmpusr"). The next step is tricky. Either go into single user
mode and then delete everything in /usr, then edit /etc/fstab and add a
line for /usr on /dev/hda6, or boot off a LiveCD like Knoppix and do the
equivalent. Then unmount /tmpusr (if necessary) and remount /dev/hda6 on
/usr. You're all done.
i need to "merge" somehow the 6.9 gb of /mnt/d mounted on /dev/hda5
(although it says 86% full, i will transfer all the data before i do
this of course).
so the question is: how do i merge /dev/hda6 (linux "/") with
/dev/hda5 (windows "d:drive")?
/A/bilene /C/hristian /U/niversity