On 3/5/2010 4:30 PM, Tom "spot" Callaway wrote:
On 03/05/2010 10:22 AM, Fabio M. Di Nitto wrote:
> On 3/5/2010 3:16 PM, Tom "spot" Callaway wrote:
>> On 03/05/2010 03:08 AM, Fabio M. Di Nitto wrote:
>>> On 3/4/2010 2:56 PM, Tom "spot" Callaway wrote:
>>>> On 03/04/2010 04:34 AM, Patrick Ale wrote:
>>>>
>>>>> Any ideas what is going on?
>>>>
>>>> Pretty much exactly what you describe is going on. Something in
blkid's
>>>> handling doesn't deal properly with Sun Whole Disk types.
>>>>
>>>> It is a known bug, haven't had time lately to put a lot of time into
it.
>>>
>>> This is an easy fix.
>>>
>>> David M. and I worked together to make sure that /sysfs did export a
>>> whole_disk attribute for a full disk slices.
>>>
>>> An ad-hoc udev rule change to skip creation/handling of those devices
>>> will work just fine and it´s useful on all architecture (also for BSD
>>> formatted block devices).
>>
>> Could you write a patch against udev for this? Udev is kindof a black
>> magic thing for me. :)
>
> I am PTO as of 2 hours ago :) but I´ll see you Tue and/or Wed in
> Westford. I am fairly sure the udev rule is still shipped in Ubuntu, we
> just need to find it and copy it.
Hmm, assuming it is this line in 60-persistent-storage.rules:
# ignore partitions that span the entire disk
TEST=="whole_disk", GOTO="persistent_storage_end"
... we already have that.
I can´t check it myself right away sorry but look for this:
do you have an empty file /sys/block/sda/sda3/whole_disk ?
or /sys/block/sdc/sdc3/whole_disk?
If yes, then we need to check why udev is not catching the attribute.
If no, it might be a regression in more recent kernels. I am running an
old 2.6.24 here.
Fabio