Hi Loic, Hi Robert, Thanks. I’m integrating CEPH OSD with OpenSVC services (http://www.opensvc.com) so I have to generate UUID myself in order to map services It’s the reason for that I’m generating sgdisk commands with my own UUID After activating OSD, I don’t have mapping osd & journal with cep-disk command root@raven:/var/lib/ceph/osd/ceph-5# ceph-disk list /dev/sda other, ext4, mounted on / /dev/sdb swap, swap /dev/sdc : /dev/sdc1 ceph journal /dev/sdd : /dev/sdd1 ceph data, active, cluster ceph, osd.3 /dev/sde : /dev/sde1 ceph journal /dev/sdf : /dev/sdf1 ceph data, active, cluster ceph, osd.4 /dev/sdg : /dev/sdg1 ceph journal /dev/sdh : /dev/sdh1 ceph data, active, cluster ceph, osd.5 After below command (osd 5), ceph-deploy didn’t create file "journal_uuid" : ceph-deploy --overwrite-conf osd create raven:/dev/disk/by-partuuid/6356fd8d-0d84-432a-b9f4-3d02f94afdff:/dev/disk/by-partuuid/36741e5b-eee0-4368-9736-a31701a186a1 root@raven:/var/lib/ceph/osd/ceph-5# ls -l total 56 -rw-r--r-- 1 root root 192 Dec 21 23:55 activate.monmap -rw-r--r-- 1 root root 3 Dec 21 23:55 active -rw-r--r-- 1 root root 37 Dec 21 23:55 ceph_fsid drwxr-xr-x 184 root root 8192 Dec 22 19:25 current -rw-r--r-- 1 root root 37 Dec 21 23:55 fsid lrwxrwxrwx 1 root root 58 Dec 21 23:55 journal -> /dev/disk/by-partuuid/36741e5b-eee0-4368-9736-a31701a186a1 -rw------- 1 root root 56 Dec 21 23:55 keyring -rw-r--r-- 1 root root 21 Dec 21 23:55 magic -rw-r--r-- 1 root root 6 Dec 21 23:55 ready -rw-r--r-- 1 root root 4 Dec 21 23:55 store_version -rw-r--r-- 1 root root 53 Dec 21 23:55 superblock -rw-r--r-- 1 root root 0 Dec 22 19:24 sysvinit -rw-r--r-- 1 root root 2 Dec 21 23:55 whoami So I created for each osd, file "journal_uuid » manually and mapping become OK with ceph-disk :) root@raven:/var/lib/ceph/osd/ceph-5# echo "36741e5b-eee0-4368-9736-a31701a186a1 » > journal_uuid It’s ok now : root@raven:/var/lib/ceph/osd/ceph-5# ceph-disk list /dev/sda other, ext4, mounted on / /dev/sdb swap, swap /dev/sdc : /dev/sdc1 ceph journal, for /dev/sdd1 /dev/sdd : /dev/sdd1 ceph data, active, cluster ceph, osd.3, journal /dev/sdc1 /dev/sde : /dev/sde1 ceph journal, for /dev/sdf1 /dev/sdf : /dev/sdf1 ceph data, active, cluster ceph, osd.4, journal /dev/sde1 /dev/sdg : /dev/sdg1 ceph journal, for /dev/sdh1 /dev/sdh : /dev/sdh1 ceph data, active, cluster ceph, osd.5, journal /dev/sdg1 Thanks robert@xxxxxxxxxxxxx for clue ;) Florent Monthel
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com