We normally shutdown a server. Just before doing that I've checked "zpool status" and everything was alright. Then when starting up the server again, on of the disk drives failed directly on powering the server on. We were using a zfs mirroring configuration. So theoretically the server should also be able to boot with only one disk connected. But it doesn't it can't import the zfs file system. I've tried a lot but it doesn't seem to work. Here are the outputs (The failed disk was disconnected):
My best guess is that the filesystem is shredded and I need to restore from backup (will take HOOOUUURSSS)? Is there anything I could try to get it back?
If it is shredded that would just be really bad luck? Usually it should be able to recover from one disk failing, right?
Code:
# zpool import
pool: rpool
id: 15892818917949697533
state: FAULTED
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the '-f' flag.
see: http://zfsonlinux.org/msg/ZFS-8000-5E
config:
rpool FAULTED corrupted data
mirror-0 DEGRADED
sda UNAVAIL corrupted data
sda3 UNAVAIL
Code:
# zpool import rpool
cannot import 'rpool': pool was previously in use from another system.
Last accessed by <unknown> (hostid=0) at Thu Jan 1 00:00:00 1970
The pool can be imported, use 'zpool import -f' to import the pool.
Code:
# zpool import -f rpool :(
cannot import 'rpool': one or more devices is currently unavailable
Code:
zpool import -F rpool :(
cannot import 'rpool': pool was previously in use from another system.
Last accessed by <unknown> (hostid=0) at Thu Jan 1 00:00:00 1970
The pool can be imported, use 'zpool import -f' to import the pool.
Code:
zpool import -fF rpool :(
cannot import 'rpool': one or more devices is currently unavailable
My best guess is that the filesystem is shredded and I need to restore from backup (will take HOOOUUURSSS)? Is there anything I could try to get it back?
If it is shredded that would just be really bad luck? Usually it should be able to recover from one disk failing, right?