Advertisement
lifeboy

Proxmox OSD's are not added to tree

Sep 4th, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.03 KB | None | 0 0
  1. # ceph-disk zap /dev/sdc
  2. Caution: invalid backup GPT header, but valid main header; regenerating
  3. backup header from main header.
  4.  
  5. Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
  6. on the recovery & transformation menu to examine the two tables.
  7.  
  8. Warning! One or more CRCs don't match. You should repair the disk!'
  9.  
  10. ****************************************************************************
  11. Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
  12. verification and recovery are STRONGLY recommended.
  13. ****************************************************************************
  14. GPT data structures destroyed! You may now partition the disk using fdisk or
  15. other utilities.
  16. Creating new GPT entries.
  17. The operation has completed successfully.
  18. root@s1:~# pveceph createosd /dev/sdc
  19. create OSD on /dev/sdc (xfs)
  20. Caution: invalid backup GPT header, but valid main header; regenerating
  21. backup header from main header.
  22.  
  23. ****************************************************************************
  24. Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
  25. verification and recovery are STRONGLY recommended.
  26. ****************************************************************************
  27. GPT data structures destroyed! You may now partition the disk using fdisk or
  28. other utilities.
  29. Creating new GPT entries.
  30. The operation has completed successfully.
  31. Setting name!
  32. partNum is 1
  33. REALLY setting name!
  34. The operation has completed successfully.
  35. Setting name!
  36. partNum is 0
  37. REALLY setting name!
  38. The operation has completed successfully.
  39. meta-data=/dev/sdc1              isize=2048   agcount=4, agsize=17956159 blks
  40.          =                       sectsz=512   attr=2, projid32bit=1
  41.          =                       crc=0        finobt=0
  42. data     =                       bsize=4096   blocks=71824635, imaxpct=25
  43.          =                       sunit=0      swidth=0 blks
  44. naming   =version 2              bsize=4096   ascii-ci=0 ftype=0
  45. log      =internal log           bsize=4096   blocks=35070, version=2
  46.          =                       sectsz=512   sunit=0 blks, lazy-count=1
  47. realtime =none                   extsz=4096   blocks=0, rtextents=0
  48. The operation has completed successfully.
  49. root@s1:~# ceph osd tree
  50. ID WEIGHT  TYPE NAME     UP/DOWN REWEIGHT PRIMARY-AFFINITY
  51. -1 7.45993 root default                                    
  52. -2 7.45993     host h1                                    
  53.  0 0.89999         osd.0      up  1.00000          1.00000
  54.  1 0.89999         osd.1      up  1.00000          1.00000
  55.  2 0.89999         osd.2      up  1.00000          1.00000
  56.  3 0.67999         osd.3      up  1.00000          1.00000
  57.  4 0.67999         osd.4      up  1.00000          1.00000
  58.  5 0.67999         osd.5      up  1.00000          1.00000
  59.  6 0.67999         osd.6      up  1.00000          1.00000
  60.  7 0.67999         osd.7      up  1.00000          1.00000
  61.  8 0.67999         osd.8      up  1.00000          1.00000
  62.  9 0.67999         osd.9      up  1.00000          1.00000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement