hi, all When I run command 'ceph-deploy disk list nodename', there are some warning messages indicate partition table error, but the ceph cluster is working normally. What is the problem, should I run sgdisk command to repair the partition table? Below is the warning messages: ceph@controller-11:~$ ceph-deploy disk list c13 [ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.5): /usr/bin/ceph-deploy disk list c13 [c13][DEBUG ] connected to host: c13 [c13][DEBUG ] detect platform information from remote host [c13][DEBUG ] detect machine type [ceph_deploy.osd][INFO ] Distro info: Ubuntu 13.04 raring [ceph_deploy.osd][DEBUG ] Listing disks on c13... [c13][INFO ] Running command: sudo ceph-disk list [c13][DEBUG ] /dev/sda : [c13][DEBUG ] /dev/sda1 other, ext4, mounted on / [c13][DEBUG ] /dev/sda2 other, ext3 [c13][DEBUG ] /dev/sdb : [c13][DEBUG ] /dev/sdb1 ceph journal, for /dev/sdc1 [c13][DEBUG ] /dev/sdb2 ceph journal, for /dev/sdd1 [c13][DEBUG ] /dev/sdb3 ceph journal, for /dev/sde1 [c13][DEBUG ] /dev/sdb4 ceph journal, for /dev/sdf1 [c13][DEBUG ] /dev/sdc : [c13][DEBUG ] /dev/sdc1 ceph data, active, cluster ceph, osd.1, journal /dev/sdb1 [c13][DEBUG ] /dev/sdd : [c13][DEBUG ] /dev/sdd1 ceph data, active, cluster ceph, osd.6, journal /dev/sdb2 [c13][DEBUG ] /dev/sde : [c13][DEBUG ] /dev/sde1 ceph data, active, cluster ceph, osd.7, journal /dev/sdb3 [c13][DEBUG ] /dev/sdf : [c13][DEBUG ] /dev/sdf1 ceph data, active, cluster ceph, osd.8, journal /dev/sdb4 [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 1 /dev/sda [c13][WARNIN] Caution: invalid main GPT header, but valid backup; regenerating main header [c13][WARNIN] from backup! [c13][WARNIN] [c13][WARNIN] Warning! Main and backup partition tables differ! Use the 'c' and 'e' options [c13][WARNIN] on the recovery & transformation menu to examine the two tables. [c13][WARNIN] [c13][WARNIN] Warning! One or more CRCs don't match. You should repair the disk! [c13][WARNIN] [c13][WARNIN] Invalid partition data! [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sda [c13][WARNIN] Caution: invalid main GPT header, but valid backup; regenerating main header [c13][WARNIN] from backup! [c13][WARNIN] [c13][WARNIN] Warning! Main and backup partition tables differ! Use the 'c' and 'e' options [c13][WARNIN] on the recovery & transformation menu to examine the two tables. [c13][WARNIN] [c13][WARNIN] Warning! One or more CRCs don't match. You should repair the disk! [c13][WARNIN] [c13][WARNIN] Invalid partition data! [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 2 /dev/sda [c13][WARNIN] Caution: invalid main GPT header, but valid backup; regenerating main header [c13][WARNIN] from backup! [c13][WARNIN] [c13][WARNIN] Warning! Main and backup partition tables differ! Use the 'c' and 'e' options [c13][WARNIN] on the recovery & transformation menu to examine the two tables. [c13][WARNIN] [c13][WARNIN] Warning! One or more CRCs don't match. You should repair the disk! [c13][WARNIN] [c13][WARNIN] Invalid partition data! [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sda [c13][WARNIN] Caution: invalid main GPT header, but valid backup; regenerating main header [c13][WARNIN] from backup! [c13][WARNIN] [c13][WARNIN] Warning! Main and backup partition tables differ! Use the 'c' and 'e' options [c13][WARNIN] on the recovery & transformation menu to examine the two tables. [c13][WARNIN] [c13][WARNIN] Warning! One or more CRCs don't match. You should repair the disk! [c13][WARNIN] [c13][WARNIN] Invalid partition data! [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 1 /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 2 /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 3 /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 4 /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 1 /dev/sdc [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdc [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sdc1 [c13][WARNIN] INFO:ceph-disk:Running command: /bin/mount -t xfs -o -- /dev/sdc1 /var/lib/ceph/tmp/mnt.bNqfD1 [c13][WARNIN] INFO:ceph-disk:Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.bNqfD1 [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 1 /dev/sdd [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdd [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sdd1 [c13][WARNIN] INFO:ceph-disk:Running command: /bin/mount -t xfs -o -- /dev/sdd1 /var/lib/ceph/tmp/mnt.k913Cm [c13][WARNIN] INFO:ceph-disk:Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.k913Cm [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 1 /dev/sde [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sde [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sde1 [c13][WARNIN] INFO:ceph-disk:Running command: /bin/mount -t xfs -o -- /dev/sde1 /var/lib/ceph/tmp/mnt.Vyodsl [c13][WARNIN] INFO:ceph-disk:Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.Vyodsl [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 1 /dev/sdf [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdf [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sdf1 [c13][WARNIN] INFO:ceph-disk:Running command: /bin/mount -t xfs -o -- /dev/sdf1 /var/lib/ceph/tmp/mnt.Ssv34l [c13][WARNIN] INFO:ceph-disk:Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.Ssv34l [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sda [c13][WARNIN] Caution: invalid main GPT header, but valid backup; regenerating main header [c13][WARNIN] from backup! [c13][WARNIN] [c13][WARNIN] Warning! Main and backup partition tables differ! Use the 'c' and 'e' options [c13][WARNIN] on the recovery & transformation menu to examine the two tables. [c13][WARNIN] [c13][WARNIN] Warning! One or more CRCs don't match. You should repair the disk! [c13][WARNIN] [c13][WARNIN] Invalid partition data! [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sda1 [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sda [c13][WARNIN] Caution: invalid main GPT header, but valid backup; regenerating main header [c13][WARNIN] from backup! [c13][WARNIN] [c13][WARNIN] Warning! Main and backup partition tables differ! Use the 'c' and 'e' options [c13][WARNIN] on the recovery & transformation menu to examine the two tables. [c13][WARNIN] [c13][WARNIN] Warning! One or more CRCs don't match. You should repair the disk! [c13][WARNIN] [c13][WARNIN] Invalid partition data! [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sda2 [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sdb1 [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 1 /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sdb2 [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 2 /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sdb3 [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 3 /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sdb4 [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -i 4 /dev/sdb [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdc [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sdc1 [c13][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdd [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sdd1 [c13][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sde [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sde1 [c13][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk -p /dev/sdf [c13][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -s TYPE /dev/sdf1 [c13][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com