[zfs-discuss] zfs test on external USB connected Hard drive =?utf-8?Q?=3D>_?=unstable
iam at theendoftime.net
Sat Apr 23 13:27:24 EDT 2016
On April 23, 2016 at 9:58:40 AM, Jérôme Lanteri (zfs-discuss at list.zfsonlinux.org(mailto:zfs-discuss at list.zfsonlinux.org)) wrote:
> I test zfs on external hard drive.
> creation worked fine
> read/write ok
> import on an other computer ok
> indications about this event connection ok
> sometimes, if the disk is hard unconnected (usb cable move or
> un-identified disconnection), then it's looks like the hard drive is
> connected, but:
> 1: from file browser (GUI), stay on the directory like nothing happen
> 2: zpool status freeze
> 3: zpool export freeze
> 4: zpool clear freeze
> etc... (all command call zpool/zfs freeze)
> (lsblk -f doesn't show he device at this time)
> after see again the device (lsblk -f), command stay blocked, and other
> freeze same.
> access on other mounted disks zfs formated stay "on".
> 1: how to stop command freezing ?
Ensure your storage is stable and not being disconnected without first exporting the pool
> 2: do i need to conclude that ZFS is definitly not for usb connected
> storage devices ?
It is fine on USB devices, but it expects stable storage. While the pool is imported on that machine, you should take care that you don’t accidentally remove the USB cable.
More information about the zfs-discuss