[Samba] Adding Nested Partitions To A Mount Point

Noah Dain noahdain at gmail.com
Sun Nov 13 20:53:51 GMT 2005


On 11/13/05, Carter Campbell <carter at soph-text.com> wrote:
> Hi Noah;
>
> Thanks for the fast response.  Actually, your response pointed to an inaccuracy in my original mail.  Originally, I said:
>
> CC> > I have a 200GB hard drive mounted to the directory "/pub".  I would like
> CC> > to add an additional 60GB drive to this.  Can I create a directory on
> CC> > the 200GB drive called "/pub/temp" and mount the 60GB drive to that
> CC> > mount point?  Then be able to have Samba consider the whole mess as a
> CC> > single 260GB drive?
>
> ND> you want a logical volume management system.  An lvms will allow you
> ND> to grow/shink filesystems on the fly, append drives to give more
> ND> space, etc.  It's very cool.
>
> What I meant to say is that I would like to create a directory, say "/tmp" on the 200GB drive and mount the 60GB drive to that and have the aggregate volume presented by Samba as a 260GB.  By this, I meant that I would have the 200GB drive mounted to the empty directory "/pub" and then the 60GB drive would be mounted to an empty directory, say "/tmp" located on the 200GB drive.  This would then be presented as a 260GB drive to the user.  Is this possible just my tuning something in linux, or would you still recommend using lvm2?

that won't work either.  You still have two distinct filesystems, and
samba just provides the network interface to them.  Samba doesn't keep
track of where to store files with respect to filesystem size.  Say,
for instance, that the 200gig unit was filling up, samba won't try to
start writing new files to the 60gig drive to avoid running out of
room.  You're still back to lvm again if you want one large storage
space.

no matter where you mount a drive, it's being mounted somewhere in the
virtual filesystem 'space', and not within an actual filesystem (here,
the 200gig drive's fs).

>
> I think I will play with it anyway, just to play.
>
> Again, thanks for all your help.
>
> Carter
>
> Carter Campbell
> Calgary Alberta
> Canada
>
>
>
>
>
>
>
>
>


--
Noah Dain


More information about the samba mailing list