Re: Infernalis upgrade breaks when journal on separate partition

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

 



Hi,

I have not well followed this thread, so sorry in advance if I'm a little out
of topic. Personally I'm using this udev rule and it works well (servers are
Ubuntu Trusty):

    ~# cat /etc/udev/rules.d/90-ceph.rules
    ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="osd-?*-journal", OWNER="ceph"

Indeed, I'm using GPT and all my journal partitions have this partname pattern:

    /osd-[0-9]+-journal/

If you currently don't use GTP (but msdos partitions), I think you can do the same
thing by using _explicit_ "by-id". For instance something like that (not tested!):

    ENV{DEVTYPE}=="partition", ENV{ID_WWN_WITH_EXTENSION}=="xxxxxxxxxxx", OWNER="ceph"
    ENV{DEVTYPE}=="partition", ENV{ID_WWN_WITH_EXTENSION}=="yyyyyyyyyyy", OWNER="ceph"
    # etc.

where xxxxxxxxxxx, yyyyyyyyyyy, etc. the name of your journal partitions in /dev/disk/by-id/.

HTH. ;)

-- 
François Lafont
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux