Linux NILFS development
 help / color / mirror / Atom feed
* Bug? Kernel doesn't prevent multiple rw nilfs mounts
@ 2013-10-24 17:21 Michael Conrad
       [not found] ` <52695704.3010507-HsDW+lVSy7tZ66HEZ9PjWw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Conrad @ 2013-10-24 17:21 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

Hi,  When I mount a NILFS partition twice (not on purpose), it correctly 
prints:

   mount.nilfs2: the device already has a rw-mount on /mnt/_bak.
                 multiple rw-mount is not allowed.

But the mount happens anyway?!

   /dev/sdb4 on /mnt/_bak type nilfs2 (rw,relatime)
   /dev/sdb4 on /mnt/sdb4 type nilfs2 (rw,relatime)

I saw this in Linux 3.2.16, then upgraded to 3.10.7 and it still 
happens.  Writing to these mounts in parallel causes buggy behavior, 
though it didn't corrupt my partition (yet).

Has no-one tested this lately?

-Mike

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-10-25 16:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-24 17:21 Bug? Kernel doesn't prevent multiple rw nilfs mounts Michael Conrad
     [not found] ` <52695704.3010507-HsDW+lVSy7tZ66HEZ9PjWw@public.gmane.org>
2013-10-24 18:07   ` Vyacheslav Dubeyko
     [not found]     ` <76524A8B-8063-4335-9B26-615417123CDE-yeENwD64cLxBDgjK7y7TUQ@public.gmane.org>
2013-10-24 19:05       ` Michael Conrad
     [not found]         ` <52696F86.70203-HsDW+lVSy7tZ66HEZ9PjWw@public.gmane.org>
2013-10-24 19:57           ` Vyacheslav Dubeyko
     [not found]             ` <B40AD6B8-5EB1-4F64-9224-2F684AE3DF8A-yeENwD64cLxBDgjK7y7TUQ@public.gmane.org>
2013-10-24 20:01               ` Michael Conrad
     [not found]                 ` <52697C8B.3090407-HsDW+lVSy7tZ66HEZ9PjWw@public.gmane.org>
2013-10-25  1:38                   ` Ryusuke Konishi
     [not found]                     ` <20131025.103819.27810920.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2013-10-25  1:54                       ` Ryusuke Konishi
2013-10-25 16:26                       ` Michael Conrad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox