mharvey500
Cadet
- Joined
- Apr 4, 2015
- Messages
- 5
Hi, I'm having trouble attaching a new USB device online for boot mirror. Originally I attached this device to the mirror to replace another defective USB device. Apparently it was working because the alert for DEGRADED volume went away, but I though something was wrong because of the name given to the device in the mirror 6773854427341823304 instead of the old device da1p2. So I disconnected it and tried to reformat it to no avail. It is read only. I tried to mangle it back to life with geom and gpart to no avail. I tried following the instructions at http://illumos.org/msg/ZFS-8000-2Q to no avail (see below). How can I bring this USB device back to life?
Geom name: da1
Providers:
1. Name: da1
Mediasize: 31043616768 (29G)
Sectorsize: 512
Mode: r-1w-1e-1
wither: (null)
[root@freenas ~]# zpool replace freenas-boot 6773854427341823304 da1
cannot open 'da1': no such GEOM provider
must be a full path or shorthand device name
[root@freenas ~]# zpool online freenas-boot da1
cannot online da1: no such device in pool
[root@freenas ~]# zpool online freenas-boot 6773854427341823304
warning: device '6773854427341823304' onlined, but remains in faulted state
use 'zpool replace' to replace devices that are no longer present
[root@freenas ~]# zpool replace freenas-boot 6773854427341823304 da1
cannot open 'da1': no such GEOM provider
must be a full path or shorthand device name
[root@freenas ~]#
Geom name: da1
Providers:
1. Name: da1
Mediasize: 31043616768 (29G)
Sectorsize: 512
Mode: r-1w-1e-1
wither: (null)
[root@freenas ~]# zpool replace freenas-boot 6773854427341823304 da1
cannot open 'da1': no such GEOM provider
must be a full path or shorthand device name
[root@freenas ~]# zpool online freenas-boot da1
cannot online da1: no such device in pool
[root@freenas ~]# zpool online freenas-boot 6773854427341823304
warning: device '6773854427341823304' onlined, but remains in faulted state
use 'zpool replace' to replace devices that are no longer present
[root@freenas ~]# zpool replace freenas-boot 6773854427341823304 da1
cannot open 'da1': no such GEOM provider
must be a full path or shorthand device name
[root@freenas ~]#