Re: [Samba] Samba 3 dynamically enable or disable share

2013-05-01 Thread Mauricio Alvarez
Jonathan, >>  I really don't want to repartition--again! But yes, your idea is >>intresting. >> > As a point of note that is what LVM is for, the 20th century called and > wants partitions back. Point taken! But really, I had already enough issues with this server, I just wanted to keep it a

Re: [Samba] Samba 3 dynamically enable or disable share

2013-04-30 Thread Jonathan Buzzard
On Mon, 2013-04-29 at 07:05 -0700, Mauricio Alvarez wrote: > Michael, > > I really don't want to repartition--again! But yes, your idea is intresting. > As a point of note that is what LVM is for, the 20th century called and wants partitions back. Getting back on topic why not consider using

Re: [Samba] Samba 3 dynamically enable or disable share

2013-04-29 Thread Dustin C. Hatch
On 4/29/2013 09:05, Mauricio Alvarez wrote: Michael, I really don't want to repartition--again! But yes, your idea is intresting. You don't need to repartition; you could mount tmpfs on /mnt and use something like tmpfiles.d or a custom script to create the mountpoints therein at boot. Th

Re: [Samba] Samba 3 dynamically enable or disable share

2013-04-29 Thread Neal Murphy
On Monday, April 29, 2013 10:05:29 AM Mauricio Alvarez wrote: > Michael, > >I really don't want to repartition--again! But yes, your idea is > intresting. Loop-mount a small file (1.44M) on the dir; that should be as effective as a small partition. -- To unsubscribe from this list go to th

Re: [Samba] Samba 3 dynamically enable or disable share

2013-04-29 Thread Ricky Nance
Instead of repartitioning you could create a filesystem inside of a file... http://freecode.com/articles/virtual-filesystem-building-a-linux-filesystem-from-an-ordinary-file . Just a thought, Ricky On Mon, Apr 29, 2013 at 9:05 AM, Mauricio Alvarez < maurialvarez...@rocketmail.com> wrote: > Mic

[Samba] Samba 3 dynamically enable or disable share

2013-04-29 Thread Mauricio Alvarez
Michael,    I really don't want to repartition--again! But yes, your idea is intresting.  If there really isn't any other option (really? no-one has ever had this problem in the past?), I was thinking of something like this: * Inside each disk, at the root level, create a single directory, call

Re: [Samba] Samba 3 dynamically enable or disable share

2013-04-29 Thread Michael De Groote
Wouldn't it be very simple to just create a VERY small partition (e.g. 10MB) on the main drive (the one that your system disk is on), and mount it on e.g. /mnt. Then, even if one of your disks can't mount for some reason, only this very small partition will fill up => no problem for the rest of the

[Samba] Samba 3 dynamically enable or disable share

2013-04-29 Thread Mauricio Alvarez
Hello,    I wonder if it is possible to dynamically enable/disable samba 3 shares.  Here is my problem.  On a remote server I have 4 removable hard drives, large capacity. I am not using any RAID/JBOD, so each drive is mounted individually (like /mnt/DISK1, /mnt/DISK2 etc) and each drive is in