Hi,
I have encountered an interesting situation. I have a Freenas box on a remote location. Use it for remote replication backup. Worked like a charm until the other day. Found out something was wrong when I got replication errors on my main server. Tried to access remote server (from now on designated remote). It was up, but its data pool (named mixed) was missing.
GUI was kind of uninformative. Just said:
mixed 0 (error) Error getting available space.
ssh'ed into the box tried for more info. Got a short glimpse of an error message saying something about an update going wrong. Then server did a reboot and I never saw the message again. When it got back up i ssh'ed again and did some digging:
[root@freenasr] ~# zpool import
pool: mixed
id: 2818322502422943038
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://illumos.org/msg/ZFS-8000-6X
config:
mixed UNAVAIL missing device
gptid/be5141f7-71cc-11e5-82b2-0050569a5ef0 ONLINE
gptid/c0b47009-71cc-11e5-82b2-0050569a5ef0 ONLINE
Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.
pool: mixed
id: 17020534927884097234
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://illumos.org/msg/ZFS-8000-6X
config:
mixed UNAVAIL missing device
gptid/bb1a9f7f-71cb-11e5-82b2-0050569a5ef0 ONLINE
Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.
Now thats funny. I ony ever had one pool named "mixed" created from those 3 disks. Now it would appear they think they are members of 2 diffrent pools both named mixed, but with different pool id's.
if I try to import them.
[root@freenasr] ~# zpool import mixed
cannot import 'mixed': more than one matching pool
import by numeric ID instead
ok, I'll try that.
[root@freenasr] ~# zpool import 2818322502422943038
cannot import 'mixed': one or more devices is currently unavailable
hm, ok. what abouit the other id.
[root@freenasr] ~# zpool import 17020534927884097234
cannot import 'mixed': one or more devices is currently unavailable
[root@freenasr] ~# zpool history mixed
cannot open 'mixed': no such pool
All other zfs commands that I could think of did just said "no such pool" for mixed.
Any suggestions are welcome :) I know there is alot of bright minds in here. The pool was just JBOD, and as I said, its a backup for another running system (which is running zraid2). So no data is lost, but I would really like so save the trouble of replicating 9 TB of data across 50mbit vpn connection).
I have encountered an interesting situation. I have a Freenas box on a remote location. Use it for remote replication backup. Worked like a charm until the other day. Found out something was wrong when I got replication errors on my main server. Tried to access remote server (from now on designated remote). It was up, but its data pool (named mixed) was missing.
GUI was kind of uninformative. Just said:
mixed 0 (error) Error getting available space.
ssh'ed into the box tried for more info. Got a short glimpse of an error message saying something about an update going wrong. Then server did a reboot and I never saw the message again. When it got back up i ssh'ed again and did some digging:
[root@freenasr] ~# zpool import
pool: mixed
id: 2818322502422943038
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://illumos.org/msg/ZFS-8000-6X
config:
mixed UNAVAIL missing device
gptid/be5141f7-71cc-11e5-82b2-0050569a5ef0 ONLINE
gptid/c0b47009-71cc-11e5-82b2-0050569a5ef0 ONLINE
Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.
pool: mixed
id: 17020534927884097234
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://illumos.org/msg/ZFS-8000-6X
config:
mixed UNAVAIL missing device
gptid/bb1a9f7f-71cb-11e5-82b2-0050569a5ef0 ONLINE
Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.
Now thats funny. I ony ever had one pool named "mixed" created from those 3 disks. Now it would appear they think they are members of 2 diffrent pools both named mixed, but with different pool id's.
if I try to import them.
[root@freenasr] ~# zpool import mixed
cannot import 'mixed': more than one matching pool
import by numeric ID instead
ok, I'll try that.
[root@freenasr] ~# zpool import 2818322502422943038
cannot import 'mixed': one or more devices is currently unavailable
hm, ok. what abouit the other id.
[root@freenasr] ~# zpool import 17020534927884097234
cannot import 'mixed': one or more devices is currently unavailable
[root@freenasr] ~# zpool history mixed
cannot open 'mixed': no such pool
All other zfs commands that I could think of did just said "no such pool" for mixed.
Any suggestions are welcome :) I know there is alot of bright minds in here. The pool was just JBOD, and as I said, its a backup for another running system (which is running zraid2). So no data is lost, but I would really like so save the trouble of replicating 9 TB of data across 50mbit vpn connection).