Advertisement
nrb

to remove *** Some devices missing

nrb
Nov 4th, 2015
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. #! http://pastebin.com/359EtZQX
  2. Hi, I'm scratching my head and searched in vain to remove *** Some devices missing. Can anyone help give me a clue to clean this up?
  3. - is there a good way to 'fix' the artifacts I am seeing? trying: scrub, balance. Try: resize, defragment.
  4. - would I be advised to move to a new clean volume set?
  5. - would a fix via a btrfs send/recieve be safe from propogating errors?
  6. - or (more painfully) rsync to a clean volume?
  7.  
  8. It seems as though my earlier add / removes all completed ok with the *** message left as an artifact. The history is that two inodes were corrupted and those files were deleted, then a failure occured as reported on http://stackoverflow.com/questions/33432704, that then resolved itself after a later reboot, now I cannot get rid of *** missing
  9.  
  10. # btrfs fi sho
  11. Label: none uuid: ec3fb67c-41c2-4920-b67c-3d3b6451a1ee
  12. Total devices 3 FS bytes used 1.94TiB
  13. devid 6 size 2.46TiB used 1.98TiB path /dev/mapper/26d2e367-65ea-47ad-b298-d5c495a33efe
  14. devid 7 size 2.46TiB used 1.98TiB path /dev/mapper/3c193018-5956-4637-9ec2-dd5e49a4a412
  15. *** Some devices missing
  16. #
  17.  
  18. # btrfs-find-root /dev/disk/by-uuid/ec3fb67c-41c2-4920-b67c-3d3b6451a1ee
  19. Superblock thinks the generation is 103167
  20. Superblock thinks the level is 1
  21. Found tree root at 9314617421824 gen 103167 level 1
  22. Well block 9314617020416(gen: 103166 level: 1) seems good, but generation/level doesn't match, want gen: 103167 level: 1
  23. ^C
  24. #
  25.  
  26. # btrfs-find-root /dev/disk/by-uuid/ec3fb67c-41c2-4920-b67c-3d3b6451a1ee | grep Well -c
  27. 107
  28. #
  29.  
  30. # btrfs check /dev/disk/by-uuid/ec3fb67c-41c2-4920-b67c-3d3b6451a1ee
  31. Checking filesystem on /dev/disk/by-uuid/ec3fb67c-41c2-4920-b67c-3d3b6451a1ee
  32. UUID: ec3fb67c-41c2-4920-b67c-3d3b6451a1ee
  33. checking extents
  34. checking free space cache
  35. checking fs roots
  36. checking csums
  37. checking root refs
  38. found 2132947718159 bytes used err is 0
  39. total csum bytes: 2077137756
  40. total tree bytes: 6006943744
  41. total fs tree bytes: 3496992768
  42. total extent tree bytes: 256516096
  43. btree space waste bytes: 1004100187
  44. file data blocks allocated: 3781274017792
  45. referenced 3754384625664
  46. btrfs-progs v4.2.2
  47. #
  48.  
  49. # btrfs version
  50. btrfs-progs v4.2.2
  51. #
  52.  
  53. # uname -a
  54. Linux Vine 4.2.0-1-amd64 #1 SMP Debian 4.2.3-2 (2015-10-14) x86_64 GNU/Linux
  55. #
  56.  
  57. # for id in 1 2 3 4 5 8 9 10; do btrfs dev del $id /mnt/ec3 ; done
  58. ERROR: 1 is not a block device
  59. ERROR: 2 is not a block device
  60. ERROR: 3 is not a block device
  61. ERROR: 4 is not a block device
  62. ERROR: 5 is not a block device
  63. ERROR: 8 is not a block device
  64. ERROR: 9 is not a block device
  65. ERROR: 10 is not a block device
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement