From: David Chow <davidchow@shaolinmicro.com>
To: linux-fsdevel@vger.kernel.org
Subject: Re: nfs exporting my stacked fs
Date: Thu, 05 Jun 2003 23:38:04 +0800 [thread overview]
Message-ID: <3EDF63DC.4080305@shaolinmicro.com> (raw)
>Agreed, but note that you're talking specifically about a very recent Linux
>system with a careful system administrator. I was talking about the world
>of NFS in general -- the practical world.
>
>
>
>>For most setups, this should not be necessary (since device numbers
>>will suffice). Those that don't have permanently allocated device
>>numbers (e.g. fibre channel), should use the fsid export option in
>>order to provide a permanent value...
>>
>>
OK, I think I'd ask Trond a similar question long ago about fsids. One
good example of the need of fsid
is high availability NFS . When a shared volume over fibre-channel, SAN
or shared SCSI will definitely alter the device numbers without having
to recabling . IBM's SAN unit does support virtual LUNs (I had a go with
FastT 200 and Bryan should know better than me do) which device number
has no sense at all. One or more machines can share the same physical
volume with different LUNs (seen by the OS) and of course, device
numbers are just junk. I think SAN is a subsystem designed for server
farms, it is a bit difficult to make cluster of servers to maintain
universal global device numbers, otherwise failover doesn't work though.
May be for apps but unfortunately not NFS without fsid .
>But now you're talking about sufficiency, whereas I was talking about
>actually implementing unique fsids. Device number is clearly sufficient,
>since people have been using it for decades. But it does not come close to
>being a real fsid. No device numbers in Linux (on architectures I know
>about) are permanently associated with physical devices. Lots of things,
>including recabling, can change them. Moreover, filesystems are not
>permanently associated with physical devices. You can move a filesystem
>from one device to another.
>
>The fsid export option, while a leap ahead of what we had before, is
>clearly not the ultimate solution to the fsid problem, because it requires
>too much human participation. System administrators don't normally have to
>administrate at that level. It's like choosing device addresses and IRQ
>levels when you install network cards.
>
>
Why not? We did that in the old days didn't we? A unversity graduate
from computer course should well understand what is an address or IRQ.
If I am a careful sys admin or settting up a HA cluster failover
solution, I'll need it. I strongly support the fsid option as there is
no point to remove it. For other users (admin who don't care or
standalone nfs servers), nfsd can still use the device numbers to
generate file handles.
Referring the subject of this mail, I did wrote a nfsd exportable
consistent stacked fs . I simply register a dummy block device in my fs
module to fool the nfsd I had one (in sense I don't use it at all).
However, a change in fstab can change everything. Whether you guys want
to rely on fsid in nfsd export identification, its up to you as I am not
the maintainer of it. However, I do find it useful and especially for
stacked fs and in many situation disregarding your fs is stacked or not.
Or fsid should have save some device numbers (as they will run out soon)
at least I don't have to waste a couple of them.
regards,
David Chow
next reply other threads:[~2003-06-05 15:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-05 15:38 David Chow [this message]
2003-06-05 16:30 ` nfs exporting my stacked fs Bryan Henderson
-- strict thread matches above, loose matches on Subject: below --
2003-05-28 21:57 Andrew Sharp
2003-05-28 23:05 ` Neil Brown
2003-05-29 5:29 ` Andrew Sharp
2003-05-30 4:04 ` Neil Brown
2003-05-30 8:20 ` Trond Myklebust
2003-05-30 16:24 ` Bryan Henderson
2003-05-30 23:10 ` Trond Myklebust
2003-05-30 23:30 ` Andrew Sharp
2003-05-30 23:44 ` Trond Myklebust
2003-05-31 0:12 ` Bryan Henderson
2003-05-31 2:44 ` Trond Myklebust
2003-06-02 16:13 ` Bryan Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EDF63DC.4080305@shaolinmicro.com \
--to=davidchow@shaolinmicro.com \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.