RE: Can one file system be R/W mounted multiple times in Linux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Eric Sandeen [mailto:esandeen@xxxxxxxxxx]
> Sent: Friday, January 9, 2015 14:05 PM
> To: Dexuan Cui
> Cc: Al Viro; linux-fsdevel@xxxxxxxxxxxxxxx; linux-ext4; stefanha@xxxxxxxxxx
> Subject: Re: Can one file system be R/W mounted multiple times in Linux?
> 
> On Jan 8, 2015, at 10:59 PM, Dexuan Cui <decui@xxxxxxxxxxxxx> wrote:
> 
> >> -----Original Message-----
> >> From: Al Viro [mailto:viro@xxxxxxxxxxxxxxxx] On Behalf Of Al Viro
> >> Sent: Friday, January 9, 2015 11:51 AM
> >> To: Dexuan Cui
> >> Cc: linux-fsdevel@xxxxxxxxxxxxxxx; 'linux-ext4'; stefanha@xxxxxxxxxx
> >> Subject: Re: Can one file system be R/W mounted multiple times in Linux?
> >>
> >>> On Fri, Jan 09, 2015 at 03:44:16AM +0000, Dexuan Cui wrote:
> >>> The 'mount' utility allows me to mount 1 file systems multiple times at
> >> different
> >>> mount points, like "mount /dev/sdb1 /a; mount /dev/sdb1 /b".
> >>>
> >>> I tried to write from /a and /b at the same time and it seems everything is
> OK
> >>> and no data corruption happens.
> >>> I tried only  ext4 only.
> >>>
> >>> Can somebody please tell me if this usage is safe?
> >>
> >> Yes.
> >
> > Thanks for the confirmation!
> >
> > -- Dexuan
> 
> But to be clear, just in case - this is completely different from, say, mounting the
> same ext4 fs on two different nodes on a SAN, which is quite certainly not safe...
> 
> -Eric

Thank Eric for pointing this out!
Can you please explain this?  I didn't use SAN... 

Thanks,
-- Dexuan
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux