<html><head><meta http-equiv="Content-Type" content="text/html charset=gb2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">hi,</div><div class=""><br class=""></div><div class="">update: delete the osd and readd.</div><div class=""><br class=""></div><div class=""><div class="">create OSD on /dev/sdb (xfs)</div><div class="">Caution: invalid backup GPT header, but valid main header; regenerating</div><div class="">backup header from main header.</div><div class=""><br class=""></div><div class="">****************************************************************************</div><div class="">Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk</div><div class="">verification and recovery are STRONGLY recommended.</div><div class="">****************************************************************************</div><div class="">GPT data structures destroyed! You may now partition the disk using fdisk or</div><div class="">other utilities.</div><div class="">Creating new GPT entries.</div><div class="">The operation has completed successfully.</div><div class="">libust[1773/1773]: Warning: HOME environment variable not set. Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:375)</div><div class="">Setting name!</div><div class="">partNum is 1</div><div class="">REALLY setting name!</div><div class="">The operation has completed successfully.</div><div class="">Setting name!</div><div class="">partNum is 0</div><div class="">REALLY setting name!</div><div class="">The operation has completed successfully.</div><div class="">meta-data=/dev/sdb1 isize=2048 agcount=4, agsize=17655122 blks</div><div class=""> = sectsz=512 attr=2, projid32bit=1</div><div class=""> = crc=0 finobt=0</div><div class="">data = bsize=4096 blocks=70620487, imaxpct=25</div><div class=""> = sunit=0 swidth=0 blks</div><div class="">naming =version 2 bsize=4096 ascii-ci=0 ftype=0</div><div class="">log =internal log bsize=4096 blocks=34482, version=2</div><div class=""> = sectsz=512 sunit=0 blks, lazy-count=1</div><div class="">realtime =none extsz=4096 blocks=0, rtextents=0</div><div class="">mount: wrong fs type, bad option, bad superblock on /dev/sdb1,</div><div class=""> missing codepage or helper program, or other error</div><div class=""><br class=""></div><div class=""> In some cases useful info is found in syslog - try</div><div class=""> dmesg | tail or so.</div><div class="">ceph-disk: Mounting filesystem failed: Command '['/bin/mount', '-t', 'xfs', '-o', 'rw,noexec,nodev,noatime,nodiratime,nobarrier,inode64,logbsize=256k,delaylog,allocsize=4M', '--', '/dev/sdb1', '/var/lib/ceph/tmp/mnt.2_fto6']' returned non-zero exit status 32</div><div class="">TASK ERROR: command 'ceph-disk prepare --zap-disk --fs-type xfs --cluster ceph --cluster-uuid 82dc8716-76c7-4a41-983a-6ea04bc98098 /dev/sdb' failed: exit code 1</div></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">在 2015年10月8日,下午3:13,lyt_yudi <<a href="mailto:lyt_yudi@icloud.com" class="">lyt_yudi@icloud.com</a>> 写道:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=gb2312" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">hi,all</div><div class=""><br class=""></div><div class="">follow up <a href="http://pve.proxmox.com/wiki/Upgrade_from_3.x_to_4.0" class="">http://pve.proxmox.com/wiki/Upgrade_from_3.x_to_4.0</a></div><div class="">and use ceph gitbuilder repo:</div><div class="">“deb <a href="http://gitbuilder.ceph.com/ceph-deb-jessie-x86_64-basic/ref/v0.94.3" class="">http://gitbuilder.ceph.com/ceph-deb-jessie-x86_64-basic/ref/v0.94.3</a> jessie main"</div><div class=""><br class=""></div><div class="">now, got those error:</div><div class="">root@t2:~# cat /var/log/syslog</div><div class="">…...</div><div class="">Oct 8 14:51:34 t2 ceph[5635]: ceph-disk: Mounting filesystem failed: Command '['/bin/mount', '-t', 'xfs', '-o', 'rw,noexec,nodev,noatime,nodiratime,nobarrier,inode64,logbsize=256k,delaylog,allocsize=4M', '--', '/dev/disk/by-parttypeuuid/4fbd7e29-9d25-41b8-afd0-062c0ceff05d.54d7f6f8-7299-4802-b19c-5758f528fdb1', '/var/lib/ceph/tmp/mnt.DSl9QO']' returned non-zero exit status 32</div><div class="">Oct 8 14:51:34 t2 kernel: [ 1347.348868] XFS (sdc1): unknown mount option [delaylog].</div><div class="">Oct 8 14:51:34 t2 ceph[5635]: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,</div><div class="">Oct 8 14:51:34 t2 ceph[5635]: missing codepage or helper program, or other error</div><div class="">Oct 8 14:51:34 t2 ceph[5635]: In some cases useful info is found in syslog - try</div><div class="">Oct 8 14:51:34 t2 ceph[5635]: dmesg | tail or so.</div><div class="">…...</div><div class=""><br class=""></div><div class=""><div class="">root@t2:~# dmesg |tail</div><div class="">[ 44.054829] igb 0000:03:00.3 eth5: igb: eth5 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX</div><div class="">[ 44.054924] IPv6: ADDRCONF(NETDEV_CHANGE): eth5: link becomes ready</div><div class="">[ 44.645489] XFS (sdd1): unknown mount option [delaylog].</div><div class="">[ 45.113587] XFS (sdc1): unknown mount option [delaylog].</div><div class="">[ 45.148538] XFS (sdb1): unknown mount option [delaylog].</div><div class="">[ 46.585905] ip6_tables: (C) 2000-2006 Netfilter Core Team</div><div class="">[ 46.806416] ip_set: protocol 6</div><div class="">[ 1347.271220] XFS (sdd1): unknown mount option [delaylog].</div><div class="">[ 1347.348868] XFS (sdc1): unknown mount option [delaylog].</div><div class="">[ 1347.378846] XFS (sdb1): unknown mount option [delaylog].</div></div><div class=""><br class=""></div><div class=""><div class="">root@t2:~# ceph -s</div><div class=""> cluster 82dc8716-76c7-4a41-983a-6ea04bc98098</div><div class=""> health HEALTH_WARN</div><div class=""> 194 pgs stale</div><div class=""> 194 pgs stuck stale</div><div class=""> monmap e3: 3 mons at {0=192.168.0.1:6789/0,1=192.168.0.2:6789/0,2=192.168.0.3:6789/0}</div><div class=""> election epoch 56, quorum 0,1,2 0,1,2</div><div class=""> osdmap e827: 9 osds: 2 up, 2 in</div><div class=""> pgmap v163730: 256 pgs, 1 pools, 4146 MB data, 1159 objects</div><div class=""> 2062 MB used, 516 GB / 518 GB avail</div><div class=""> 194 stale+active+clean</div><div class=""> 62 active+clean</div></div><div class=""><br class=""></div><div class=""><div class="">root@t2:~# ceph osd tree</div><div class="">ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY </div><div class="">-1 2.16997 root default </div><div class="">-2 0.76999 host t1 </div><div class=""> 0 0.26999 osd.0 down 0 1.00000 </div><div class=""> 3 0.25000 osd.3 down 0 1.00000 </div><div class=""> 6 0.25000 osd.6 down 0 1.00000 </div><div class="">-3 0.76999 host t2 </div><div class=""> 1 0.26999 osd.1 down 0 1.00000 </div><div class=""> 4 0.25000 osd.4 down 0 1.00000 </div><div class=""> 7 0.25000 osd.7 up 1.00000 1.00000 </div><div class="">-4 0.62999 host t3 </div><div class=""> 2 0.12999 osd.2 down 0 1.00000 </div><div class=""> 5 0.25000 osd.5 down 0 1.00000 </div><div class=""> 8 0.25000 osd.8 up 1.00000 1.00000 </div></div><div class=""><br class=""></div><div class=""><div class=""># ps axjf|grep ceph</div><div class=""> 3328 8865 8864 3328 pts/0 8864 S+ 0 0:00 \_ grep ceph</div><div class=""> 1 5740 5740 5740 ? -1 Ss 0 0:00 /bin/bash -c ulimit -n 131072; /usr/bin/ceph-mon -i 1 --pid-file /var/run/ceph/mon.1.pid -c /etc/ceph/ceph.conf --cluster ceph -f</div><div class=""> 5740 5743 5740 5740 ? -1 Sl 0 0:03 \_ /usr/bin/ceph-mon -i 1 --pid-file /var/run/ceph/mon.1.pid -c /etc/ceph/ceph.conf --cluster ceph -f</div></div><div class=""><br class=""></div><div class="">so, No OSD process running!</div><div class=""><br class=""></div><div class="">someone can help me?</div><div class=""><br class=""></div><div class="">Thanks. </div><br class=""><br class=""><div apple-content-edited="true" class="">
<div class="">lyt_yudi</div><div class=""><a href="mailto:lyt_yudi@icloud.com" class="">lyt_yudi@icloud.com</a></div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div>_______________________________________________<br class="">pve-user mailing list<br class=""><a href="mailto:pve-user@pve.proxmox.com" class="">pve-user@pve.proxmox.com</a><br class="">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user<br class=""></div></blockquote></div><br class=""></body></html>