Comment 8 for bug 1473903

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-07-20 02:20 EDT-------
A more clear process shows udevd cannot be killed and problem reproduced on pinelp2:

% ls /dev/mapper
control mpath1-part1 mpath1-part3 mpath3 mpath3-part2 mpath3-part4 mpath4-part1 mpath4-part3
mpath1 mpath1-part2 mpath2 mpath3-part1 mpath3-part3 mpath4 mpath4-part2 mpath4-part4
% sudo /etc/init.d/udev stop
* Stopping the hotplug events dispatcher udevd
...done.
% sudo /etc/init.d/udev status
* udevd is running
% pgrep udevd
2534
% sudo pkill udevd
% pgrep udevd
6197
% sudo /etc/init.d/udev status
* udevd is running
% sudo parted /dev/mapper/mpath2
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpath2: 34.4GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags

(parted) mkpart
Partition type? primary/extended?
Partition type? primary/extended? primary
File system type? [ext2]?
Start? 0%
End? 25%
Device /dev/mapper/mpath2p1 not found
device-mapper: table ioctl on failed: No such device or address
Device /dev/mapper/mpath2p1 not found
device-mapper: table ioctl on failed: No such device or address
(parted) p
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpath2: 34.4GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 8590MB 8589MB primary ext4

(parted) q
Information: You may need to update /etc/fstab.

% ls /dev/mapper
control mpath1-part1 mpath1-part3 mpath2p1 mpath3 mpath3-part2 mpath3-part4 mpath4-part1 mpath4-part3
mpath1 mpath1-part2 mpath2 mpath2-part1 mpath3-part1 mpath3-part3 mpath4 mpath4-part2 mpath4-part4
%