Reclaim mounted space
I have just changed from 1 harddrive into having a root, and a home harddrive. its now working but i had several gigs in the old home that i would like to clear off, how can i clear the old home dir with out unmounting the new home -- -Lawrence
Re: Reclaim mounted space
On Sun, Jun 03, 2007 at 09:10:34AM -0700, Lawrence Horvath wrote: I have just changed from 1 harddrive into having a root, and a home harddrive. its now working but i had several gigs in the old home that i would like to clear off, how can i clear the old home dir with out unmounting the new home # mount /dev/old /mnt where old is whatever your old home directory was. Perhaps wd0h. Then it'll be available under /mnt/* -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: Reclaim mounted space
Well my old set up was to have just one harddrive, so my old home is part of the root drive, and since my root drive is in use as root, how would i mount just that part of it? On 03/06/07, Darrin Chandler [EMAIL PROTECTED] wrote: On Sun, Jun 03, 2007 at 09:10:34AM -0700, Lawrence Horvath wrote: I have just changed from 1 harddrive into having a root, and a home harddrive. its now working but i had several gigs in the old home that i would like to clear off, how can i clear the old home dir with out unmounting the new home # mount /dev/old /mnt where old is whatever your old home directory was. Perhaps wd0h. Then it'll be available under /mnt/* -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation -- -Lawrence -Student ID 1028219 -CCNA
Re: Reclaim mounted space
On Sun, Jun 03, 2007 at 09:45:46AM -0700, Lawrence Horvath wrote: Well my old set up was to have just one harddrive, so my old home is part of the root drive, and since my root drive is in use as root, how would i mount just that part of it? Ah. Log in as root, then umount /home. With that partition unmounted, the old /home stuff will be visible again. When you are done cleaning you can mount /home, log out, and log in as your normal user. Be very careful when zapping whole subtrees logged in as root. It's too easy to make a mistake. Measure twice, cut once. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: Reclaim mounted space
On 6/3/07, Darrin Chandler [EMAIL PROTECTED] wrote: On Sun, Jun 03, 2007 at 09:10:34AM -0700, Lawrence Horvath wrote: I have just changed from 1 harddrive into having a root, and a home harddrive. its now working but i had several gigs in the old home that i would like to clear off, how can i clear the old home dir with out unmounting the new home # mount /dev/old /mnt where old is whatever your old home directory was. Perhaps wd0h. Then it'll be available under /mnt/* That's what I was thinking but from reading his initial post I think he just had one filesystem on his original harddrive. Greg
Re: Reclaim mounted space
On 6/3/07, Lawrence Horvath [EMAIL PROTECTED] wrote: Well my old set up was to have just one harddrive, so my old home is part of the root drive, and since my root drive is in use as root, how would i mount just that part of it? When you added your new drive and mounted it as /home, did you do anything to the old disk (repartition, reformat?) if not, then you've probably got your new disk and its data mounted at /home. If you unmount /home, you should be able to uncover your old /home on the old drive and clean it up. Then remount the new drive on its /home mountpoint. DS On 03/06/07, Darrin Chandler [EMAIL PROTECTED] wrote: On Sun, Jun 03, 2007 at 09:10:34AM -0700, Lawrence Horvath wrote: I have just changed from 1 harddrive into having a root, and a home harddrive. its now working but i had several gigs in the old home that i would like to clear off, how can i clear the old home dir with out unmounting the new home # mount /dev/old /mnt where old is whatever your old home directory was. Perhaps wd0h. Then it'll be available under /mnt/* -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation -- -Lawrence -Student ID 1028219 -CCNA -- Darren Spruell [EMAIL PROTECTED]
Re: Reclaim mounted space
Export / with NFS, mount it somewhere and you will see the old contents.
Re: Reclaim mounted space
unmounted the new home, rm'd the old home, and remounted the new home, all is working well I was just hoping there was some kind of cleanup i could use to clear unused space on a hd with out having to unmount anything On 03/06/07, Darren Spruell [EMAIL PROTECTED] wrote: On 6/3/07, Lawrence Horvath [EMAIL PROTECTED] wrote: Well my old set up was to have just one harddrive, so my old home is part of the root drive, and since my root drive is in use as root, how would i mount just that part of it? When you added your new drive and mounted it as /home, did you do anything to the old disk (repartition, reformat?) if not, then you've probably got your new disk and its data mounted at /home. If you unmount /home, you should be able to uncover your old /home on the old drive and clean it up. Then remount the new drive on its /home mountpoint. DS On 03/06/07, Darrin Chandler [EMAIL PROTECTED] wrote: On Sun, Jun 03, 2007 at 09:10:34AM -0700, Lawrence Horvath wrote: I have just changed from 1 harddrive into having a root, and a home harddrive. its now working but i had several gigs in the old home that i would like to clear off, how can i clear the old home dir with out unmounting the new home # mount /dev/old /mnt where old is whatever your old home directory was. Perhaps wd0h. Then it'll be available under /mnt/* -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation -- -Lawrence -Student ID 1028219 -CCNA -- Darren Spruell [EMAIL PROTECTED] -- -Lawrence -Student ID 1028219 -CCNA