Removing a device i shouldn't have added to pool

same for me

but … would there be an option to

  • add a temporary Pool
  • move everything to the temporary pool
  • delete the faulty pool
  • reconstruct the “old” pool in knowledge of the nice features
  • move everything “back”
  • delete the temporary poll and get back the disks

would this be an option?

Thanks for your time and patience
CP

Of course: What you’ve described plainly is “Backup-Destroy-Restore”.

1 Like

yes. this was what i ended up doing when i made this mistake.

Hi,
thanks.
Sorry for this question … but …
is everything cloned/saved in the snapshot?
SMB, NFS, Access, …?
Or do you need to set up everything twice (once → temp, once → destination)?

was it kind of this way:
export MY_SNAP=“date +%H%M%S
zfs snapshot -r ${MY_SRC_POOL}@${MY_SNAP}
zfs send -Rpv ${MY_SRC_POOL}@${MY_SNAP} |
zfs receive -dFu ${MY_DEST_POOL}

zfs destroy -rv ${MY_SRC_POOL}@${MY_SNAP}
zfs destroy -rv ${MY_DEST_POOL}@${MY_SNAP}

Many thanks
CP

Snapshots are about (meta)data, not server configuration. You recreate shares.

As for the actual operations, do these from GUI, not on the command line.

1 Like