by gea » Tue Apr 02, 2024 1:23 am
How do I handle ZFS on Windows USB disks
- I always name usb pools "usb"
- I create three batch files on the desktop
poolstate.bat with file content:
zpool list
timeout /t 5
import_usb_pool.bat with file content:
zpool import -f usb
timeout /t 5
export_usb_pool.bat with file content:
zpool export -f usb
timeout /t 5
Execute the file via a mouse right click and "run as administrator"
Prior an unplug, export or check state as ZFS hangs (reboot required) when you just unplug a single disk pool