this week i melted a raid hba in a machine twice, which ended up causing real
data corruption on the disks holding the zpool. as a result of this i have the
following output from zpool status:
# zpool status -v cache
pool: cache
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://www.sun.com/msg/ZFS-8000-8A
scrub: scrub completed with 21 errors on Sat Oct 4 15:51:43 2008
config:
NAME STATE READ WRITE CKSUM
cache ONLINE 0 0 4.99K
c5t0d0 ONLINE 0 0 0
c5t1d0 ONLINE 0 0 0
c5t2d0 ONLINE 0 0 2.51K
c5t3d0 ONLINE 0 0 2.48K
errors: Permanent errors have been detected in the following files:
/cache/staff/home/d1/d62/f16
/cache/staff_dumps/home-20081003-1300.dump
cache/students_dumps:<0x0>
i believe the last entry is the zil on that dataset, but the others
are real files. however, when i try to remove them:
root at vavaea:~# rm /cache/staff_dumps/home-20081003-1300.dump
rm: /cache/staff_dumps/home-20081003-1300.dump not removed: I/O error
root at vavaea:~# : > /cache/staff_dumps/home-20081003-1300.dump
bash: /cache/staff_dumps/home-20081003-1300.dump: I/O error
how do i get rid of these files?
dlg