Re: [PATCH] Support HDIO_GETGEO on device-mapper volumes
From: Darrick J. Wong
Date: Fri Feb 10 2006 - 03:12:13 EST
Phillip Susi wrote:
Hrm... when I setup my system on a dmraid controlled hardware fakeraid
raid-0, I just gave grub a suitable geometry command since it couldn't
auto detect it. I suppose this would make that unnecessary.
That was the intent. :)
I think that ultimately, grub shouldn't care about the geometry since
that information has been obsolete for years. If it can't detect the
geometry, then it should just assume the system supports LBA and to hell
with using made up geometry numbers.
You certainly get my vote for that. Consider, however, that sd_mod
invents geometry numbers for whomever is silly enough to call
HDIO_GETGEO, even though CHS doesn't make sense _at all_ on a SCSI disk,
which never had that mode of addressing in the first place. I wonder if
there exists users of dmraid who have systems that can't do LBA? (Seems
unlikely though...)
Phillip... are you the person working on dmraid support in Ubuntu? For
the first time, I boot Ubuntu off that HostRAID array this afternoon
without the need for a helper disk and with dmraid in the initramfs. I
appreciated the howto. :)
--D
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/