Hi Niall, I noticed that ZFS won't automatically import pools myself. I didn't really consider it a problem since I wanted to script a bunch of stuff on USB insertion. I was hoping to be able to write a script that would detect the insertion, attempt to automatically mount pools on devices that are recognised by the system, and issue a ZFS send to the device.
Regarding the hot plugging of USB devices, yes, that can cause problems. I created a number of bug reports after finding out that ZFS can continue writing to a removed USB hard drive for some considerable period after the drive was removed. The main thread where this is documented is here. What you probably want is section 4 of the attached PDF: http://www.opensolaris.org/jive/thread.jspa?threadID=68748 I reported a range of bugs from that, two that I think are probably relevant are: Data loss when ZFS doesn't react to device removal: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6735932 (Hopefully not as severe with snv_100 onwards now the zpool status hang bug has been resolved.) ZFS has inconsistent handling of device removal http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6735853 Ross -- This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss