Where is my 2G?
Florian Diesch
diesch at spamfence.net
Mon Apr 9 13:54:34 UTC 2007
Brian Astill <bastill at adam.com.au> wrote:
> My fault, but if any of you can help me, I'd be grateful.
>
> My hda Ubuntu partition was looking like it might become a bit
> cramped eventually (less thsn 2G free), so I decided to pre-empt
> by creating a partition on hdb to hold /home (a bit over 3G).
> That should leave about 5G free on hda - ample.
>
> I used mc to copy /home from hda to hdb and it looked OK, but near
> the end of the copy mc said "no space left" - which was daft, 3G
> can't fill a 12G partition! Then I looked at hdb and all it had
> was an empty lost & found directory.
>
> Then I realised that mc had "copied" onto an unmounted partition!
I guess that means you copied them to the directory where you planned
(but forgot) to mount the new partition.
> I mounted hdb and this time effected a real copy. BUT!
> hda now showed as being 100% full! Where had the 2G free gone to?
I guess you did not remove the files you copied above so they are still
there filling up your disc. But as you mounted a new partition at this
directory the files there a hidden "below" the mounted partition.
Unmount hdb and remove the files you copied to the directory you
mounted hdb. You can use "df ." to see on which partition the current
directory is.
Florian
--
<http://www.florian-diesch.de/>
More information about the ubuntu-users
mailing list