ZFS hanging on too hard

Steven Hartland killing at multiplay.co.uk
Sun Oct 13 16:02:59 UTC 2013


----- Original Message ----- 
From: "Daniel O'Connor" <doconnor at 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 shaped..
> root at gateway:~ # zpool status -v
>   pool: backupA
>  state: UNAVAIL
> status: One or more devices are faulted in response to IO failures.
> action: Make sure the affected devices are connected, then run 'zpool clear'.
>    see: http://illumos.org/msg/ZFS-8000-HC
>   scan: none requested
> config:
> 
>  NAME          STATE     READ WRITE CKSUM
>  backupA       UNAVAIL      0     0     0
>    1877640355  REMOVED      0     0     0  was /dev/da0
> 
> errors: List of errors unavailable (insufficient privileges)
> 
> (but I am root..)
> 
> root at gateway:~ # zpool online pool /dev/da0
> cannot online /dev/da0: no such device in pool
> 
> ?!
> 
> Anyone have any ideas?

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

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-stable mailing list