Hi,
made a small mistake the other day and removed one of my log devices from a log mirror (at least i believe thats the issue).
After the next reboot the pool does not import any more:
If I had realized that while it was still online it would have been no problem to simply remove the log, but i cant do that on the offline pool.
I tried import -m but same error
I tried simply attaching the old log ssd again but its not being recognized any more since it has been used in another system already :/
Anything I can do to fix this? Or is that drop pool and load data from backup ?
Thanks:)
made a small mistake the other day and removed one of my log devices from a log mirror (at least i believe thats the issue).
After the next reboot the pool does not import any more:
Code:
zpool import pool: main id: 532750682860831602 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: http://illumos.org/msg/ZFS-8000-6X config: main UNAVAIL missing device mirror-0 ONLINE gptid/1e5d4965-fffb-11e5-be2a-000c2989f189 ONLINE gptid/205119e1-fffb-11e5-be2a-000c2989f189 ONLINE mirror-1 ONLINE gptid/3bbfa689-fffb-11e5-be2a-000c2989f189 ONLINE gptid/3daa8d02-fffb-11e5-be2a-000c2989f189 ONLINE mirror-2 ONLINE gptid/8ab274f1-fffb-11e5-be2a-000c2989f189 ONLINE gptid/8ca8cfeb-fffb-11e5-be2a-000c2989f189 ONLINE mirror-3 ONLINE gptid/a5a9f463-fffb-11e5-be2a-000c2989f189 ONLINE gptid/a78b5d84-fffb-11e5-be2a-000c2989f189 ONLINE logs gptid/db869fad-fffb-11e5-be2a-000c2989f189 ONLINE Additional devices are known to be part of this pool, though their exact configuration cannot be determined.
If I had realized that while it was still online it would have been no problem to simply remove the log, but i cant do that on the offline pool.
I tried import -m but same error
Code:
zpool import -m main cannot import 'main': one or more devices is currently unavailable
Code:
zdb -e main Configuration for import: vdev_children: 6 version: 5000 pool_guid: 532750682860831602 name: 'main' state: 0 hostid: 2647831905 hostname: '' vdev_tree: type: 'root' id: 0 guid: 532750682860831602 children[0]: type: 'mirror' id: 0 guid: 5466945668241505192 metaslab_array: 35 metaslab_shift: 34 ashift: 12 asize: 2998440558592 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 10230651672595624498 whole_disk: 1 create_txg: 4 path: '/dev/gptid/1e5d4965-fffb-11e5-be2a-000c2989f189' children[1]: type: 'disk' id: 1 guid: 1756527158647505143 whole_disk: 1 create_txg: 4 path: '/dev/gptid/205119e1-fffb-11e5-be2a-000c2989f189' children[1]: type: 'mirror' id: 1 guid: 6508896232805161185 metaslab_array: 39 metaslab_shift: 34 ashift: 12 asize: 2998440558592 is_log: 0 create_txg: 17 children[0]: type: 'disk' id: 0 guid: 8385470632227501328 whole_disk: 1 create_txg: 17 path: '/dev/gptid/3bbfa689-fffb-11e5-be2a-000c2989f189' children[1]: type: 'disk' id: 1 guid: 4828272328576782523 whole_disk: 1 create_txg: 17 path: '/dev/gptid/3daa8d02-fffb-11e5-be2a-000c2989f189' children[2]: type: 'mirror' id: 2 guid: 8836469145574395383 metaslab_array: 41 metaslab_shift: 34 ashift: 12 asize: 2998440558592 is_log: 0 create_txg: 46 children[0]: type: 'disk' id: 0 guid: 8992288263158221271 whole_disk: 1 create_txg: 46 path: '/dev/gptid/8ab274f1-fffb-11e5-be2a-000c2989f189' children[1]: type: 'disk' id: 1 guid: 6766208102785060191 whole_disk: 1 create_txg: 46 path: '/dev/gptid/8ca8cfeb-fffb-11e5-be2a-000c2989f189' children[3]: type: 'mirror' id: 3 guid: 4515601781343340735 metaslab_array: 44 metaslab_shift: 34 ashift: 12 asize: 2998440558592 is_log: 0 create_txg: 57 children[0]: type: 'disk' id: 0 guid: 15032685074879007814 whole_disk: 1 create_txg: 57 path: '/dev/gptid/a5a9f463-fffb-11e5-be2a-000c2989f189' children[1]: type: 'disk' id: 1 guid: 1328111502974125995 whole_disk: 1 create_txg: 57 path: '/dev/gptid/a78b5d84-fffb-11e5-be2a-000c2989f189' children[4]: type: 'missing' id: 4 guid: 0 children[5]: type: 'disk' id: 5 guid: 13566463784014113451 whole_disk: 1 metaslab_array: 47 metaslab_shift: 31 ashift: 12 asize: 399995043840 is_log: 1 create_txg: 79 path: '/dev/gptid/db869fad-fffb-11e5-be2a-000c2989f189' zdb: can't open 'main': No such file or directory
I tried simply attaching the old log ssd again but its not being recognized any more since it has been used in another system already :/
Anything I can do to fix this? Or is that drop pool and load data from backup ?
Thanks:)
Last edited: