public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* FS-specified FSID for non-device based filesystems?
@ 2006-04-12 11:10 Oleg Drokin
  2006-04-14 20:22 ` Bryan Henderson
  2006-04-17  0:54 ` Neil Brown
  0 siblings, 2 replies; 16+ messages in thread
From: Oleg Drokin @ 2006-04-12 11:10 UTC (permalink / raw)
  To: neilb; +Cc: linux-fsdevel

Hello!

   Right now NFSD depends on FS_REQUIRES_DEV to be set in sb->s_type->fs_flags
   or manually set fsid= in /etc/exports in order to export filesystem.
   But there are non-device based filesystems (Lustre for example ;) ) that
   would like to be exported via NFS without guiding users through this
   fsid= business. Of course it is easy to cheat through by setting
   FS_REQUIRES_DEV, but this does not solve entire problem. While allowing
   for single-node export of filesystem to work ok, more generic problem of
   exporting same filesystem from several NFS servers in clustered manner
   won't work because sb->s_dev might be different on different nodes.
   This is not only Lustre problem, I believe same problem will happen
   with GFS or OCFS2 or whatever other SAN-based fs if different nodes
   have different device names (/dev/sda | /dev/sdb) for same SAN device,
   in such a case fsid calculated would be different on different nodes too.

   I wonder if e.g. another export op could be introduced to ask filesystem
   for its unique id (if supported) and use that instead of sb->s_dev in
   fsid calculations. Does this look sane?
   I hope I am not missing anything?
   Or are there better ideas?

   Thanks.

Bye,
    Oleg

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

end of thread, other threads:[~2006-04-20 12:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-12 11:10 FS-specified FSID for non-device based filesystems? Oleg Drokin
2006-04-14 20:22 ` Bryan Henderson
2006-04-14 20:45   ` Oleg Drokin
2006-04-14 20:59     ` J. Bruce Fields
2006-04-14 21:32     ` Bryan Henderson
2006-04-14 21:41       ` Oleg Drokin
2006-04-17  0:54 ` Neil Brown
2006-04-17  3:50   ` Greg KH
2006-04-17  4:32     ` Neil Brown
2006-04-18 18:07       ` Greg KH
2006-04-19 12:15         ` Miklos Szeredi
2006-04-20 11:35           ` Al Viro
2006-04-20 11:58             ` Miklos Szeredi
2006-04-20 12:30               ` Al Viro
2006-04-20 12:43                 ` Miklos Szeredi
2006-04-17  8:00   ` Anton Altaparmakov

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