disappearing block devices using EFI Partitioning
Hi,
I'm not sure if this is the right place to send this, but I'm not sure where else to send it...
I've been having a problem where sometimes, creating a new partition (parted mkpart) using GPT disk label causes the block device for the previously created partition to disappear.
Here is an example: http://pastebin.com/f3acd536
You can see on line 15 that after the previous parted command, /dev/sda3 which existed on line 12 is gone. There are no messages in dmesg and the partition itself is still on the disk.
I am working on an automated partitioning too, and so I have seen this happen with a variety of partition layouts, disks and servers (although in slightly different ways each time). I have tried putting space between partitions, time between partition commands and other methods to no avail. A few hints on where to even begin debugging this would be great!
Thanks!
--Igor
Quoted 5 lines · Igor Serebryany
Hi,
I'm not sure if this is the right place to send this, but I'm not sure where else to send it...
Quoted 8 lines
I've been having a problem where sometimes, creating a new partition (parted mkpart) using GPT disk label causes the block device for the previously created partition to disappear.
Here is an example: http://pastebin.com/f3acd536
You can see on line 15 that after the previous parted command,/dev/sda3which existed on line 12 is gone. There are no messages in dmesg and the partition itself is still on the disk.
Does the partition still show up in /proc/partitions? If so this may be a udev bug. It's unlikely to be caused by the ATA or IDE drivers especially since you're not seeing anything in dmesg.
I'd recommend running "udevadm monitor" in another terminal while you trigger the bug and send the output to the udev mailing list ([email protected])
-jim
Quoted 2 lines · Jim Paris
Does the partition still show up in
/proc/partitions? If so this may be a udev bug.
Right you are! The partition remains in /proc/partitions and getting udev to freshen up brings back the missing devices. The udev version in the latest Buildroot is too old for bug reports but now I have a workaround - thanks!
--Igor