Re: not change of journal devices

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

 



I made a udev rule for my journal disks. Pull the model from the 

Mine looks like this:

$ cat /etc/udev/rules.d/55-ceph-journals.rules 

ATTRS{model}=="SDLFNDAR-480G-1H", OWNER="ceph", GROUP="ceph", MODE="660"



I got my model by knowing the disk ID the first time and 


$ udevadm info -n /dev/sdj -a | grep model

    ATTRS{model}=="SDLFNDAR-480G-1H"


-Tu



On Thu, Jun 9, 2016 at 12:50 AM 한승진 <yongiman@xxxxxxxxx> wrote:
Hy Cephers.

I impletented Ceph with 12 HDDs(for OSD) and 1 SSD(Journal).

Device Map is like below (sdb4 is omitted.)

/dev/sdc1 is for OSD.0 and /dev/sdb1 is for Journal
/dev/sdd1 is for OSD.1 and /dev/sdb2 is for Journal
/dev/sde1 is for OSD.2 and /dev/sdb3 is for Journal
.
.
.
/dev/sdn1 is for OSD.12 and /dev/sdb13 is for Journal


I am wondering that whenever I reboot the physical server, the owner of journal device file is not changed cause OSD daemon cannot start automatically.

Owner of device for OSD are all changed to ceph









_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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