Tsaukpaetra

ZFS create/export/import on USB drive

Mar 24th, 2021
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. PS C:\Windows\system32> zpool create burr PHYSICALDRIVE1
  2. Expanded path to '\\?\PHYSICALDRIVE1'
  3. DeviceName said OK with '*'
  4. DriveGeometry said OK
  5. LayoutInfo said OK
  6. DiskExtents said OK
  7. PS C:\Windows\system32> zpool export burr
  8. zunmount(burr,F:\ ) running
  9. zunmount(burr,F:\ ) returns 0
  10. PS C:\Windows\system32> zpool export burr
  11. cannot open 'burr': no such pool
  12. PS C:\Windows\system32> zpool import burr
  13. path '\\?\usbstor#disk&ven_flashdri&prod__usb_flash&rev_#______xx00000001&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
  14. and '\\?\PhysicalDrive1'
  15. read partitions ok 2
  16. gpt 0: type ab8fe020 off 0x100000 len 0x1ff600000
  17. gpt 1: type ab8fe020 off 0x1ff700000 len 0x800000
  18. asking libefi to read label
  19. EFI read OK, max partitions 9
  20. part 0: offset 800: len ffb000: tag: 4 name: 'zfs'
  21. part 8: offset ffb800: len 4000: tag: b name: ''
  22. path '\\?\scsi#disk&ven_vbox&prod_harddisk#4&2617aeae&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
  23. and '\\?\PhysicalDrive0'
  24. read partitions ok 4
  25. mbr 0: type 7 off 0x100000 len 0x22500000
  26. mbr 1: type 7 off 0x22600000 len 0xc5d900000
  27. mbr 2: type 0 off 0x0 len 0x0
  28. mbr 3: type 0 off 0x0 len 0x0
  29. asking libefi to read label
  30. Processing volume '\\?\Volume{e8656414-0000-0000-0000-100000000000}'
  31. Processing volume '\\?\Volume{e8656414-0000-0000-0000-602200000000}'
  32. Processing volume '\\?\Volume{f08a13a5-8c68-11eb-932a-080027f0d10e}'
  33. Processing volume '\\?\Volume{f08a13a6-8c68-11eb-932a-080027f0d10e}'
  34. Processing volume '\\?\Volume{ec112b2f-8c67-11eb-9329-080027f0d10e}'
  35. Processing volume '\\?\Volume{31709f6e-cc5d-11e9-9300-806e6f6e6963}'
  36. Processing volume '\\?\Volume{368c16fd-f640-11e9-9304-080027f0d10e}'
  37. zpool_open_func_win: enter
  38. zpool_open_func_win: enter
  39. zpool_open_func_win: enter
  40. zpool_open_func_win: enter
  41. zpool_open_func_win: enter
  42. zpool_open_func_win: enter
  43. zpool_open_func_win: enter
  44. zpool_open_func_win: enter
  45. zpool_open_func_win: enter
  46. cannot import 'burr': invalid vdev configuration
  47. PS C:\Windows\system32> zpool import
  48. path '\\?\usbstor#disk&ven_flashdri&prod__usb_flash&rev_#______xx00000001&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
  49. and '\\?\PhysicalDrive1'
  50. read partitions ok 2
  51. gpt 0: type c26fe180 off 0x100000 len 0x1ff600000
  52. gpt 1: type c26fe180 off 0x1ff700000 len 0x800000
  53. asking libefi to read label
  54. EFI read OK, max partitions 9
  55. part 0: offset 800: len ffb000: tag: 4 name: 'zfs'
  56. part 8: offset ffb800: len 4000: tag: b name: ''
  57. path '\\?\scsi#disk&ven_vbox&prod_harddisk#4&2617aeae&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
  58. and '\\?\PhysicalDrive0'
  59. read partitions ok 4
  60. mbr 0: type 7 off 0x100000 len 0x22500000
  61. mbr 1: type 7 off 0x22600000 len 0xc5d900000
  62. mbr 2: type 0 off 0x0 len 0x0
  63. mbr 3: type 0 off 0x0 len 0x0
  64. asking libefi to read label
  65. Processing volume '\\?\Volume{e8656414-0000-0000-0000-100000000000}'
  66. Processing volume '\\?\Volume{e8656414-0000-0000-0000-602200000000}'
  67. Processing volume '\\?\Volume{f08a13a5-8c68-11eb-932a-080027f0d10e}'
  68. Processing volume '\\?\Volume{f08a13a6-8c68-11eb-932a-080027f0d10e}'
  69. Processing volume '\\?\Volume{ec112b2f-8c67-11eb-9329-080027f0d10e}'
  70. Processing volume '\\?\Volume{31709f6e-cc5d-11e9-9300-806e6f6e6963}'
  71. Processing volume '\\?\Volume{368c16fd-f640-11e9-9304-080027f0d10e}'
  72. zpool_open_func_win: enter
  73. zpool_open_func_win: enter
  74. zpool_open_func_win: enter
  75. zpool_open_func_win: enter
  76. zpool_open_func_win: enter
  77. zpool_open_func_win: enter
  78. zpool_open_func_win: enter
  79. zpool_open_func_win: enter
  80. zpool_open_func_win: enter
  81. pool: burr
  82. id: 8983014702897407527
  83. state: UNAVAIL
  84. status: One or more devices contains corrupted data.
  85. action: The pool cannot be imported due to damaged devices or data.
  86. see: http://zfsonlinux.org/msg/ZFS-8000-5E
  87. config:
  88.  
  89. burr UNAVAIL insufficient replicas
  90. \\?\Volume{f08a13a5-8c68-11eb-932a-080027f0d10e} UNAVAIL corrupted data
Advertisement
Add Comment
Please, Sign In to add comment