[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pulled /home from / to New File Sys



On Tue, 28 Sep 1999 mmiller@enterprise.extremezone.com wrote:

> I ran out of space on /, so I decided to pull /home into its own
> partition.  I created /dev/hda8 and made an ext2 file sys there.
> I then mounted /dev/hda8 on /mnt, and issued 'cp -rp /home/* /mnt'
> 
> This looked good, so I changed /etc/fstab to reflect this new home
> for /home, and rebooted.
> 
> I'm happy in my new /home, but I want to clean out my old /home.
> 'df -h /' still shows a full file sys, yet 'du -hs /home' shows over
> 2M.  I'm assuming that 2M is still hiding under / somewhere,
> but how do I get at it?

Unmount /dev/hda8 (best done in the singel user mode, init 1), the old
(hiden) content of /home will show up and can be deleted with 
rm /home/* -rf, then mount again /dev/hda8 on /home.

Martin

-- 
For public PGP-key:  finger mfluch@mathphys.fsk.uni-heidelberg.de


Reply to: