AW: dm-0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, the /dev/dm* devices are recreated every reboot.
Only the wwids in /dev/mapper/ are persistant. (/dev/disk/by-name/<wwid>)
Use them for mountpoint in the fstab. 

/dev/disk/by-name/data1 /usr/sap reiserfs acl,user_xattr 1 2

You can alias the horrible wwid by logical names in the multipath.conf.
E.g.

multipaths {
        multipath
        {
                #mountpoint /data
                wwid 360060160403219007aa7b461c917db11
                alias data
        }
}
This will create an link /dev/mapper/data1 -> /dev/dm-<actualNumber>

Take a look at the boot.multipath script.

*snip*
# Clear /dev/disk/by-name/ prior to start-up; multipath will
        # recreate them.
        rm -f /dev/disk/by-name/* 2>&1 >/dev/null
*snap*

Regards,
Manuel

> -----Ursprüngliche Nachricht-----
> Von: dm-devel-bounces@xxxxxxxxxx 
> [mailto:dm-devel-bounces@xxxxxxxxxx] Im Auftrag von lnx dm
> Gesendet: Freitag, 27. Oktober 2006 09:35
> An: dm
> Betreff:  dm-0
> 
> will dm-0 will always point to the same device across reboots 
> irrespective of the the order in which devices are detected ?
> which is persistent /dev/dm-0 or /dev/mapper/<wwid> ?
> 
> # ls -l /dev/mpath/
> lrwxrwxrwx  1 root root 7 Mar 24 01:45
> 3600805f300176640a435a927359c0003 -> ../dm-0
> 
> -lnxdm
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection 
> around http://mail.yahoo.com 
> 
> --
> dm-devel mailing list
> dm-devel@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/dm-devel
> 

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux