[ale] Kubuntu 13.04 danger: beware /dev/dm-*

George Allen glallen01 at gmail.com
Wed May 1 22:09:56 EDT 2013


OK - submitted a bug and tiny patch here:
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1175406

changed $swap device to $(findfs UUID=$uuid) in
/usr/bin/ecryptfs-setup-swap script and tested it out.
instead of giving /dev/dm-3 it gives /dev/vg/swap

Seems good...

On Wed, May 1, 2013 at 11:55 AM, George Allen <glallen01 at gmail.com> wrote:
> Good to know, thanks! Will probably look at this again when I get off
> the laptop and back to a multi-disk setup.
>
>> On another reboot the dm-* device linked on right side in /dev/mpath might
>> have changed but the left side of the link won’t and whatever the dm-* is
>> WILL still be the WWID (UUID) you had defined in multipath.conf.   Note the
>> /dev/dm* device whatever it is will have the same major/minor as see in the
>> /dev/mapper device which is one way to confirm it is what you think it is.
>> This means you can use either the /dev/mpath/* or the /dev/mapper/* device.
>>
>
> So - either way, you still never want to refer directly to /dev/dm? in
> a config, since they'll re-number. But you can assure that all the
> other dynamic names are stabilized to your tastes... I think I saw a
> bug in launchpad for a previous ubuntu version for this. Going to look
> again and see if I can either find, or file one.



More information about the Ale mailing list