Re: ceph 0.67, 0.67.1: ceph_init bug

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

 



On 08/18/2013 08:35 AM, Sage Weil wrote:
The ceph-disk activate-all command is looking for partitions that are
marked with the ceph type uuid.  Maybe the jouranls are missing?  What
does

  ceph-disk -v activate /dev/sdc1

say?  Or

  ceph-disk -v activate-all

Where does the 'journal' symlink in the ceph data partitions point to?

ummm ceph-disk activate seems to work:

# ceph-disk -v activate-all
DEBUG:ceph-disk-python2.7:Scanning /dev/disk/by-parttypeuuid
# ceph-disk -v activate /dev/sdc1
DEBUG:ceph-disk-python2.7:Mounting /dev/sdc1 on /var/lib/ceph/tmp/mnt.zGfWOj with options noatime DEBUG:ceph-disk-python2.7:Cluster uuid is d2f0857a-8bea-4b7e-af0c-ee164bc7ecf7
DEBUG:ceph-disk-python2.7:Cluster name is ceph
DEBUG:ceph-disk-python2.7:OSD uuid is ee7dcd25-d65c-47ba-85cb-3c64566ba980
DEBUG:ceph-disk-python2.7:OSD id is 0
DEBUG:ceph-disk-python2.7:Marking with init system sysvinit
DEBUG:ceph-disk-python2.7:ceph osd.0 data dir is ready at /var/lib/ceph/tmp/mnt.zGfWOj
DEBUG:ceph-disk-python2.7:Moving mount to final location...
DEBUG:ceph-disk-python2.7:Starting ceph osd.0...

The journal symlink points to journal partitions on my SSDs :

# for d in d e f g h ; do ceph-disk activate /dev/sd${d}1; done
# ls -l /var/lib/ceph/osd/ceph-?/journal
lrwxrwxrwx 1 root root 9 Aug 17 09:05 /var/lib/ceph/osd/ceph-0/journal -> /dev/sda5 lrwxrwxrwx 1 root root 9 Aug 17 09:05 /var/lib/ceph/osd/ceph-1/journal -> /dev/sda6 lrwxrwxrwx 1 root root 9 Aug 17 09:06 /var/lib/ceph/osd/ceph-2/journal -> /dev/sda7 lrwxrwxrwx 1 root root 9 Aug 17 09:06 /var/lib/ceph/osd/ceph-3/journal -> /dev/sdb5 lrwxrwxrwx 1 root root 9 Aug 17 09:06 /var/lib/ceph/osd/ceph-4/journal -> /dev/sdb6 lrwxrwxrwx 1 root root 9 Aug 17 09:06 /var/lib/ceph/osd/ceph-5/journal -> /dev/sdb7

_______________________________________________
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