Your second partition mounted on / could be covering the contents of the folder that is the mount point. Unmount your second partition and then list contents of the directory that is your mount point. If you inadvertently wrote to the mount point directory, because the 4G partition was not mounted at the time, rather than the mounted 4G partition, this would be the result. Mounting a partition on a directory renders the contents of that directory invisible while the partition is mounted there.
Ken

Glen Turner wrote:
On Fri, 2008-08-15 at 17:33 -0400, Geoffrey Cowling wrote:
I've just built a new machine for myself, and have put Ubuntu on it
(I've usually used Debian), and there seem to be quite a few Ubuntu
experts around here.

I have a 400G disk, and I partitioned /sdb2 as / and gave it 1G.  This
was working well until I foolishly mounted a partition from another
disk on a subdirectory of it --perhaps 4G.  This gave some error
messages, and now df says the partition is full and some things I try
to do with apt-get give error messages,  (incl. "is your disk full")
I have /boot, /usr /usr/local/ swap /tmp and /home partitions.

That's very odd. You say you used 'mount' to add the new partition
into the tree of directories. That shouldn't have used any disk
on /.

Are you sure you didn't attempt 'cp' the contents of the new
partition into /?

The output of 'df' will show all mounted directories -- does
'df' show your 4G partition at all?


Personally, I don't bother with partitions on personal-use computers,
they always seem to cause more trouble than they solve for computers
used in that role.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to