Hi folks,
We are scratching our heads over this.
We have a solaris box with 10 disks mounted over 2 linus iscsi target hosts.
Across this we run a zfs pool tank like so ,
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c4t20d0 ONLINE 0 0 0
c4t22d0 ONLINE 0 0 0
c4t21d0 ONLINE 0 3 0
c4t19d0 ONLINE 0 0 0
c4t18d0 ONLINE 0 0 0
c4t17d0 ONLINE 0 0 0
c4t16d0 ONLINE 0 0 0
c4t15d0 ONLINE 0 0 0
c4t24d0 ONLINE 0 0 0
spares
c4t23d0 AVAIL
One disk has being giving errors of late so today we ran
zpool replace tank c4t21d0 c4t23d0
During this the sun server crashed badly and when we finally got it
back up it now refuses to import the pool.
Strange thing is that zpool import gives the following,
root at sol1 /> zpool import
pool: tank
id: 7497571907398141541
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
The pool may be active on on another system, but can be imported using
the ''-f'' flag.
config:
tank ONLINE
raidz1 ONLINE
c4t20d0 ONLINE
c4t22d0 ONLINE
spare ONLINE
c4t21d0 ONLINE
c4t23d0 ONLINE
c4t19d0 ONLINE
c4t18d0 ONLINE
c4t17d0 ONLINE
c4t16d0 ONLINE
c4t15d0 ONLINE
c4t24d0 ONLINE
spares
c4t23d0
pool: backup
id: 11172080035114893345
state: FAULTED
status: The pool metadata is corrupted.
action: The pool cannot be imported due to damaged devices or data.
see: http://www.sun.com/msg/ZFS-8000-72
config:
backup FAULTED corrupted data
c3d0p0 ONLINE
The pool "backup" is an old pool that is no longer used.
The pool "tank" is marked as ONLINE but running zpool import tank
gives
cannot import ''tank'': pool may be in use from other system
use ''-f'' to import anyway
while zpool import -f tank gives
cannot import ''tank'': pool is busy
Can anybody help me as to how to get it to import?
We are running ZFS version 3 on SunOS sol1 5.10 Generic_118855-33
Kind regards,
Michael