* [linux-lvm] Could vgscan read a file of "preferred" LV name -> minor device id ?
@ 2002-01-11 1:11 Piete Brooks
2002-01-11 4:42 ` Patrick Caulfield
0 siblings, 1 reply; 3+ messages in thread
From: Piete Brooks @ 2002-01-11 1:11 UTC (permalink / raw)
To: Heinz Mauelshagen; +Cc: Piete.Brooks
I'm getting complaints from NFS users that when servers reboot, they often
find that their mounts have the wrong data. I've never really worked out
which end hold what in NFS FHs, but the basic idea is that a client identifies
a FH which encodes (major dev id,minor dev id,inode number,version).
This appears to break down when a new LV is created ane the server rebooted.
As the /dev/<vg>/<lv> nodes are numbered strictly in the order that they are
discovered, all LV minor device IDs on subsequent VGs are renumbered, so any
remote caching of FHs breaks (( as with SCSI )).
Is that about right ?
Would it be possible for vgscan to read a "hints" file consisting of <vg>/<lv>
and minor device number pairs ?
As each <vg>/<lv> is found, if it's in the file, the nominated minor device id
is used; if it's not found, then the next minor device id which is not listed
in the file is used.
[[ I use devfs, so using existing data in /dev/ would not help -- but I think
it would do no harm to use that data by default ]]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Could vgscan read a file of "preferred" LV name -> minor device id ?
2002-01-11 1:11 [linux-lvm] Could vgscan read a file of "preferred" LV name -> minor device id ? Piete Brooks
@ 2002-01-11 4:42 ` Patrick Caulfield
2002-01-15 8:03 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Caulfield @ 2002-01-11 4:42 UTC (permalink / raw)
To: linux-lvm
On Fri, Jan 11, 2002 at 07:11:00AM +0000, Piete Brooks wrote:
> I'm getting complaints from NFS users that when servers reboot, they often
> find that their mounts have the wrong data. I've never really worked out
> which end hold what in NFS FHs, but the basic idea is that a client identifies
> a FH which encodes (major dev id,minor dev id,inode number,version).
> This appears to break down when a new LV is created ane the server rebooted.
> As the /dev/<vg>/<lv> nodes are numbered strictly in the order that they are
> discovered, all LV minor device IDs on subsequent VGs are renumbered, so any
> remote caching of FHs breaks (( as with SCSI )).
>
> Is that about right ?
>
> Would it be possible for vgscan to read a "hints" file consisting of <vg>/<lv>
> and minor device number pairs ?
>
> As each <vg>/<lv> is found, if it's in the file, the nominated minor device id
> is used; if it's not found, then the next minor device id which is not listed
> in the file is used.
>
> [[ I use devfs, so using existing data in /dev/ would not help -- but I think
> it would do no harm to use that data by default ]]
>
I thought Heinz had fixed this in 1.0.1, what version are you using (tools &
kernel)?
patrick
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Could vgscan read a file of "preferred" LV name -> minor device id ?
2002-01-11 4:42 ` Patrick Caulfield
@ 2002-01-15 8:03 ` Heinz J . Mauelshagen
0 siblings, 0 replies; 3+ messages in thread
From: Heinz J . Mauelshagen @ 2002-01-15 8:03 UTC (permalink / raw)
To: linux-lvm
On Fri, Jan 11, 2002 at 10:41:16AM +0000, Patrick Caulfield wrote:
> On Fri, Jan 11, 2002 at 07:11:00AM +0000, Piete Brooks wrote:
> > I'm getting complaints from NFS users that when servers reboot, they often
> > find that their mounts have the wrong data. I've never really worked out
> > which end hold what in NFS FHs, but the basic idea is that a client identifies
> > a FH which encodes (major dev id,minor dev id,inode number,version).
> > This appears to break down when a new LV is created ane the server rebooted.
> > As the /dev/<vg>/<lv> nodes are numbered strictly in the order that they are
> > discovered, all LV minor device IDs on subsequent VGs are renumbered, so any
> > remote caching of FHs breaks (( as with SCSI )).
> >
> > Is that about right ?
> >
> > Would it be possible for vgscan to read a "hints" file consisting of <vg>/<lv>
> > and minor device number pairs ?
> >
> > As each <vg>/<lv> is found, if it's in the file, the nominated minor device id
> > is used; if it's not found, then the next minor device id which is not listed
> > in the file is used.
> >
> > [[ I use devfs, so using existing data in /dev/ would not help -- but I think
> > it would do no harm to use that data by default ]]
> >
>
> I thought Heinz had fixed this in 1.0.1, what version are you using (tools &
> kernel)?
That's right. It is in since 1.0.1.
>
> patrick
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-01-15 8:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-11 1:11 [linux-lvm] Could vgscan read a file of "preferred" LV name -> minor device id ? Piete Brooks
2002-01-11 4:42 ` Patrick Caulfield
2002-01-15 8:03 ` Heinz J . Mauelshagen
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.