ZFS hanging on too hard

2013-10-13 Thread Daniel O'Connor
Hi all, I'm trying to setup a ZFS mirror system with a USB disk as backup. The backup disk is a ZFS pool which I am zfs send'ing to. However I find that if the disk is disconnected while mounted then things go pear shaped.. root@gateway:~ # zpool status -v pool: backupA state: UNAVAIL

Re: ZFS hanging on too hard

2013-10-13 Thread Steven Hartland
- Original Message - From: Daniel O'Connor docon...@gsoft.com.au Hi all, I'm trying to setup a ZFS mirror system with a USB disk as backup. The backup disk is a ZFS pool which I am zfs send'ing to. However I find that if the disk is disconnected while mounted then things go pear

Re: ZFS hanging on too hard

2013-10-13 Thread Daniel O'Connor
On 14/10/2013, at 2:32, Steven Hartland kill...@multiplay.co.uk wrote: First pool is not your pool name its backupA so try: zpool online backupA /dev/da0 If that still fails try: zpool online backupA 1877640355 I get.. root@gateway:~ # zpool online backupA /dev/da0 cannot online /dev/da0:

Re: ZFS hanging on too hard

2013-10-13 Thread Steven Hartland
- Original Message - From: Daniel O'Connor docon...@gsoft.com.au On 14/10/2013, at 2:32, Steven Hartland kill...@multiplay.co.uk wrote: First pool is not your pool name its backupA so try: zpool online backupA /dev/da0 If that still fails try: zpool online backupA 1877640355 I

Re: ZFS hanging on too hard

2013-10-13 Thread Daniel O'Connor
On 14/10/2013, at 8:44, Steven Hartland kill...@multiplay.co.uk wrote: root@gateway:~ # zpool export -f backupA load: 0.04 cmd: zpool 1384 [tx-tx_sync_done_cv)] 2.63r 0.00u 0.00s 0% 2804k load: 0.04 cmd: zpool 1384 [tx-tx_sync_done_cv)] 2.79r 0.00u 0.00s 0% 2804k load: 0.04 cmd: zpool 1384

Re: ZFS hanging on too hard

2013-10-13 Thread Steven Hartland
- Original Message - From: Daniel O'Connor docon...@gsoft.com.au On 14/10/2013, at 8:44, Steven Hartland kill...@multiplay.co.uk wrote: root@gateway:~ # zpool export -f backupA load: 0.04 cmd: zpool 1384 [tx-tx_sync_done_cv)] 2.63r 0.00u 0.00s 0% 2804k load: 0.04 cmd: zpool 1384

Re: ZFS hanging on too hard

2013-10-13 Thread Steven Hartland
- Original Message - From: Steven Hartland kill...@multiplay.co.uk To: Daniel O'Connor docon...@gsoft.com.au Cc: freebsd-stable stable freebsd-stable@freebsd.org Sent: Sunday, October 13, 2013 11:27 PM Subject: Re: ZFS hanging on too hard - Original Message - From: Daniel

Re: ZFS hanging on too hard

2013-10-13 Thread Daniel O'Connor
On 14/10/2013, at 9:00, Steven Hartland kill...@multiplay.co.uk wrote: pulls the disk while it's imported then the server would need to be rebooted. That could mean the underlying issue may be a USB or CAM scsi_da. You didnt say which OS version your running? The following may help

Re: ZFS hanging on too hard

2013-10-13 Thread Steven Hartland
- Original Message - From: Daniel O'Connor docon...@gsoft.com.au On 14/10/2013, at 9:00, Steven Hartland kill...@multiplay.co.uk wrote: pulls the disk while it's imported then the server would need to be rebooted. That could mean the underlying issue may be a USB or CAM scsi_da.

Re: ZFS hanging on too hard

2013-10-13 Thread Daniel O'Connor
On 14/10/2013, at 9:19, Steven Hartland kill...@multiplay.co.uk wrote: hw.usb.no_shutdown_wait=1 That seems to work around the hang on reboot, thanks. I am running 9.2 (fresh install from a USB key). That does kind of point the finger away from ZFS code, is it reproducable? Yes, 100% of