[Nottingham] Mount and Filesystem

Martin Garton martin at stupids.org
Wed Sep 26 09:12:47 BST 2007


On Tue, 2007-09-25 at 18:25 +0100, NLUG wrote:

> I have a couple of questions for you.
> Let's say you have a 30GB partition /var on disk 1 (/dev/sda1).
> We also have a 100GB disk 2 which is one big /dev/sdb1 partition.
> The 30GB /var is nearly full...if i mount /dev/sdb1 to /var, what happens?
> 
> Do i get a 130GB partition?

No. You get a 100GB partition.  The 30GB one will not be visible any
more.

> if an application keeps adding stuff to /var, where is the data written 
> to ? does it fill up /dev/sda1 first and then carries on to /dev/sdb1?
> Or more simply, can you not mount a partition onto an already mounted 
> partition ?

You can mount a partition in the same place as something else already
mounted, but the previously mounted content will not be accessible.

-- 
Martin.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mailman.lug.org.uk/pipermail/nottingham/attachments/20070926/61730278/attachment.bin


More information about the Nottingham mailing list