* Re: Bug#381150: still not able to handle partitionable arrays
[not found] <20070106165916.GA7895@lapse.madduck.net>
@ 2007-05-04 23:29 ` Robert Millan
2007-05-07 19:03 ` Yoshinori K. Okuji
2007-05-17 23:28 ` Jeroen Dekkers
0 siblings, 2 replies; 9+ messages in thread
From: Robert Millan @ 2007-05-04 23:29 UTC (permalink / raw)
To: grub-devel; +Cc: 381150-forwarded, martin f krafft
It seems there are problems with accessing software RAID in devices with
pathnames like /dev/md_d0p1
On Sat, Jan 06, 2007 at 05:59:16PM +0100, martin f krafft wrote:
>
> grub2 1.95-2 still does not support partitionable arrays:
>
> [...]
>
> debian# grub-probe -v /boot
> grub-probe: info: changing current directory to /dev
> grub-probe: info: changing current directory to i2o
> grub-probe: info: changing current directory to ataraid
> grub-probe: info: changing current directory to shm
> grub-probe: info: changing current directory to network
> grub-probe: info: changing current directory to input
> grub-probe: info: changing current directory to cciss
> grub-probe: info: changing current directory to mapper
> grub-probe: info: changing current directory to ida
> grub-probe: info: changing current directory to rd
> grub-probe: info: changing current directory to pts
> cannot find a GRUB drive for md_d0p1.
--
Robert Millan
My spam trap is honeypot@aybabtu.com. Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Bug#381150: still not able to handle partitionable arrays
2007-05-04 23:29 ` Bug#381150: still not able to handle partitionable arrays Robert Millan
@ 2007-05-07 19:03 ` Yoshinori K. Okuji
2007-05-07 20:00 ` Robert Millan
2007-05-17 23:28 ` Jeroen Dekkers
1 sibling, 1 reply; 9+ messages in thread
From: Yoshinori K. Okuji @ 2007-05-07 19:03 UTC (permalink / raw)
To: grub-devel; +Cc: 381150-forwarded, martin f krafft, Robert Millan
On Saturday 05 May 2007 01:29, Robert Millan wrote:
> It seems there are problems with accessing software RAID in devices with
> pathnames like /dev/md_d0p1
Is there any specification about device names on Linux? I have been seeing
Linux adding more and more new inconsistent device names for years, and it
seems to be no end in this game.
Okuji
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Bug#381150: still not able to handle partitionable arrays
2007-05-07 19:03 ` Yoshinori K. Okuji
@ 2007-05-07 20:00 ` Robert Millan
2007-05-17 21:25 ` Jeroen Dekkers
0 siblings, 1 reply; 9+ messages in thread
From: Robert Millan @ 2007-05-07 20:00 UTC (permalink / raw)
To: The development of GRUB 2
On Mon, May 07, 2007 at 09:03:48PM +0200, Yoshinori K. Okuji wrote:
> On Saturday 05 May 2007 01:29, Robert Millan wrote:
> > It seems there are problems with accessing software RAID in devices with
> > pathnames like /dev/md_d0p1
>
> Is there any specification about device names on Linux? I have been seeing
> Linux adding more and more new inconsistent device names for years, and it
> seems to be no end in this game.
Not that I know of. But a few days ago I was toying with the idea that grub
could theoreticaly become device path agnostic. Maybe this doesn't apply to
specific things like software RAID / LVM, but for most weird devices it's
probably feasible.
--
Robert Millan
My spam trap is honeypot@aybabtu.com. Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Bug#381150: still not able to handle partitionable arrays
2007-05-07 20:00 ` Robert Millan
@ 2007-05-17 21:25 ` Jeroen Dekkers
2007-05-18 18:37 ` Yoshinori K. Okuji
0 siblings, 1 reply; 9+ messages in thread
From: Jeroen Dekkers @ 2007-05-17 21:25 UTC (permalink / raw)
To: The development of GRUB 2
At Mon, 7 May 2007 22:00:50 +0200,
Robert Millan wrote:
>
> On Mon, May 07, 2007 at 09:03:48PM +0200, Yoshinori K. Okuji wrote:
> > On Saturday 05 May 2007 01:29, Robert Millan wrote:
> > > It seems there are problems with accessing software RAID in devices with
> > > pathnames like /dev/md_d0p1
> >
> > Is there any specification about device names on Linux? I have been seeing
> > Linux adding more and more new inconsistent device names for years, and it
> > seems to be no end in this game.
The best part is actually that it's not the only name, from the mdadm manpage:
"""
The standard names for non-partitioned arrays (the only sort of md array available in 2.4 and earlier) either of
/dev/mdNN
/dev/md/NN
where NN is a number. The standard names for partitionable arrays (as available from 2.6 onwards) is one of
/dev/md/dNN
/dev/md_dNN
Partition numbers should be indicated by added "pMM" to these, thus "/dev/md/d1p2".
"""
> Not that I know of. But a few days ago I was toying with the idea that grub
> could theoreticaly become device path agnostic. Maybe this doesn't apply to
> specific things like software RAID / LVM, but for most weird devices it's
> probably feasible.
I've been thinking about that too, because the current way seems a bit
fragile. But then you're looking up the device major and minor number
for partionable RAID arrays and you see that it's in the
"LOCAL/EXPERIMENTAL USE" range. Not very useful either...
Jeroen Dekkers
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Bug#381150: still not able to handle partitionable arrays
2007-05-04 23:29 ` Bug#381150: still not able to handle partitionable arrays Robert Millan
2007-05-07 19:03 ` Yoshinori K. Okuji
@ 2007-05-17 23:28 ` Jeroen Dekkers
2007-05-18 6:32 ` Robert Millan
2007-05-18 7:34 ` Michael Guntsche
1 sibling, 2 replies; 9+ messages in thread
From: Jeroen Dekkers @ 2007-05-17 23:28 UTC (permalink / raw)
To: The development of GRUB 2; +Cc: 381150-forwarded, martin f krafft
At Sat, 5 May 2007 01:29:07 +0200,
Robert Millan wrote:
> It seems there are problems with accessing software RAID in devices with
> pathnames like /dev/md_d0p1
>
> On Sat, Jan 06, 2007 at 05:59:16PM +0100, martin f krafft wrote:
> >
> > grub2 1.95-2 still does not support partitionable arrays:
> >
> > [...]
> >
> > debian# grub-probe -v /boot
> > grub-probe: info: changing current directory to /dev
> > grub-probe: info: changing current directory to i2o
> > grub-probe: info: changing current directory to ataraid
> > grub-probe: info: changing current directory to shm
> > grub-probe: info: changing current directory to network
> > grub-probe: info: changing current directory to input
> > grub-probe: info: changing current directory to cciss
> > grub-probe: info: changing current directory to mapper
> > grub-probe: info: changing current directory to ida
> > grub-probe: info: changing current directory to rd
> > grub-probe: info: changing current directory to pts
> > cannot find a GRUB drive for md_d0p1.
My latest commit to GRUB2 CVS should fix this.
Jeroen Dekkers
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Bug#381150: still not able to handle partitionable arrays
2007-05-17 23:28 ` Jeroen Dekkers
@ 2007-05-18 6:32 ` Robert Millan
2007-05-18 7:34 ` Michael Guntsche
1 sibling, 0 replies; 9+ messages in thread
From: Robert Millan @ 2007-05-18 6:32 UTC (permalink / raw)
To: The development of GRUB 2; +Cc: 381150-forwarded, martin f krafft
tags 381150 fixed-upstream
thanks
On Fri, May 18, 2007 at 01:28:15AM +0200, Jeroen Dekkers wrote:
> > > cannot find a GRUB drive for md_d0p1.
>
> My latest commit to GRUB2 CVS should fix this.
Martin, can you check if things work for you before next upload ?
--
Robert Millan
My spam trap is honeypot@aybabtu.com. Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Bug#381150: still not able to handle partitionable arrays
2007-05-17 23:28 ` Jeroen Dekkers
2007-05-18 6:32 ` Robert Millan
@ 2007-05-18 7:34 ` Michael Guntsche
2007-05-18 10:56 ` Jeroen Dekkers
1 sibling, 1 reply; 9+ messages in thread
From: Michael Guntsche @ 2007-05-18 7:34 UTC (permalink / raw)
To: The development of GRUB 2
On May 18, 2007, at 1:28, Jeroen Dekkers wrote:
>
> My latest commit to GRUB2 CVS should fix this.
>
> Jeroen Dekkers
Hello,
This also seems to fix the detection for LVM devices. grub-probe -t
{drive,device} works now, partmap on the other hand still fails.
<snip>
grub-probe: info: changing current directory to /dev/mapper
grub-probe: info: opening fatoftheland-main
grub-probe: error: Cannot detect partition map for fatoftheland-main
For now I install everything manually but maybe this can be fixed as
well.
Kind regards,
Michael
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Bug#381150: still not able to handle partitionable arrays
2007-05-18 7:34 ` Michael Guntsche
@ 2007-05-18 10:56 ` Jeroen Dekkers
0 siblings, 0 replies; 9+ messages in thread
From: Jeroen Dekkers @ 2007-05-18 10:56 UTC (permalink / raw)
To: The development of GRUB 2
At Fri, 18 May 2007 09:34:53 +0200,
Michael Guntsche wrote:
> This also seems to fix the detection for LVM devices. grub-probe -t
> {drive,device} works now, partmap on the other hand still fails.
That was actually a different fix that I committed on the 16th.
> <snip>
> grub-probe: info: changing current directory to /dev/mapper
> grub-probe: info: opening fatoftheland-main
> grub-probe: error: Cannot detect partition map for fatoftheland-main
>
> For now I install everything manually but maybe this can be fixed as
> well.
This is actually the same problem as with software RAID, currently
grub-probe doesn't have a way to get the underlying device and lookup
the partition map. Maybe I've time to look into this later today, but
I've first some other things to do.
Jeroen Dekkers
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Bug#381150: still not able to handle partitionable arrays
2007-05-17 21:25 ` Jeroen Dekkers
@ 2007-05-18 18:37 ` Yoshinori K. Okuji
0 siblings, 0 replies; 9+ messages in thread
From: Yoshinori K. Okuji @ 2007-05-18 18:37 UTC (permalink / raw)
To: The development of GRUB 2
On Thursday 17 May 2007 23:25, Jeroen Dekkers wrote:
> I've been thinking about that too, because the current way seems a bit
> fragile. But then you're looking up the device major and minor number
> for partionable RAID arrays and you see that it's in the
> "LOCAL/EXPERIMENTAL USE" range. Not very useful either...
Hmm...
Okuji
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-05-18 18:37 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20070106165916.GA7895@lapse.madduck.net>
2007-05-04 23:29 ` Bug#381150: still not able to handle partitionable arrays Robert Millan
2007-05-07 19:03 ` Yoshinori K. Okuji
2007-05-07 20:00 ` Robert Millan
2007-05-17 21:25 ` Jeroen Dekkers
2007-05-18 18:37 ` Yoshinori K. Okuji
2007-05-17 23:28 ` Jeroen Dekkers
2007-05-18 6:32 ` Robert Millan
2007-05-18 7:34 ` Michael Guntsche
2007-05-18 10:56 ` Jeroen Dekkers
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.