I have a problem with a raidz partition. There is a folder that cannot be deleted and any attempt to do so causes a kernel panic and the system then hangs. My system is AMD64 FreeBSD 9.0 RELEASE.
Smart shows the disks to be in good health too.
Notice the value of total!
That can't be good! If i try rm -r /usr/local/lib/ruby/1.8/irb/ext/ the directory whilst at a console I can capture the following with a camera:
Otherwise my system works fine with the exception that I cannot ever remove or upgrade ruby. I don't know when this first occured as it had been a while since I updated ports. Any ideas?
Code:
%zpool status -v
pool: tank
state: ONLINE
scan: scrub repaired 0 in 1h26m with 0 errors on Fri Jul 6 21:39:22 2012
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
label/rdz2 ONLINE 0 0 0
label/rdz3 ONLINE 0 0 0
label/rdz1 ONLINE 0 0 0
errors: No known data errors
Smart shows the disks to be in good health too.
Code:
%cd /usr/local/lib/ruby/1.8/irb/ext/
%ls -al
total 12911980442550336
drwxr-xr-x 2 root wheel 11 Jan 22 19:54 .
drwxr-xr-x 4 root wheel 21 Jul 5 21:08 ..
-rw-r--r-- 1 root wheel 1170 Feb 12 2007 change-ws.rb
-rw-r--r-- 1 root wheel 2169 Feb 12 2007 history.rb
-rw-r--r-- 1 root wheel 2307 Feb 12 2007 loader.rb
-rw-r--r-- 1 root wheel 625 Feb 12 2007 math-mode.rb
-rw-r--r-- 1 root wheel 4864 Nov 17 2009 multi-irb.rb
-rw-r--r-- 1 root wheel 2168 Aug 9 2009 save-history.rb
-rw-r--r-- 1 root wheel 1190 Feb 12 2007 tracer.rb
-rw-r--r-- 1 root wheel 1363 Feb 12 2007 use-loader.rb
-rw-r--r-- 1 root wheel 978 Feb 12 2007 workspaces.rb
Notice the value of total!
Code:
zdb -c tank
Traversing all blocks to verify metadata checksums and verify nothing leaked ...
leaked space: vdev 0, offset 0x10800, size 6144
leaked space: vdev 0, offset 0x51800, size 6144
leaked space: vdev 0, offset 0xf00599cc00, size 6144
block traversal size 969073810432 != alloc 969073828864 (leaked 18432)
bp count: 5601946
bp logical: 646810763264 avg: 115461
bp physical: 645396452864 avg: 115209 compression: 1.00
bp allocated: 969073810432 avg: 172988 compression: 0.67
bp deduped: 0 ref>1: 0 deduplication: 1.00
SPA allocated: 969073828864 used: 32.42%
That can't be good! If i try rm -r /usr/local/lib/ruby/1.8/irb/ext/ the directory whilst at a console I can capture the following with a camera:
Code:
panic: page fault
cpuid = 1
KDB: stack backtrace:
#O Oxffffffff808680fe at kdb_backtrace+0x5e
#1 Oxffffffff80832cb7 at panic+Ox187
#2 Oxffffffff80b18400 at trap_fatal+0x290
#3 Oxffffffff80b18749 at trap_pfault+Ox1f9
#4 0xffffffff80b18c0f at trap+Ox3df
#5 Oxffffffff80b0313f at calltrap+0x8
#6 Oxffffffff81430cf7 at bp_get_dsize+Ox57
#7 Oxffffffff814027ba at dmu_tx_hold_free+Ox74a
#8 0xffffffff813f5ca6 at dmu_free_long_range_impl+0x106
#9 Oxffffffff813f5f1c at dmu_free_long_range+Ox4c
#10 0xffffffff81462549 at zfs_rmnode+Ox69
#11 Oxffffffff814790a6 at zfs_inactive+Ox66
#12 0xffffffff8147926a at zfs_freebsd_inactive+Ox1a
#13 Oxffffffff808c2f81 at vinactive+Ox71
#14 Oxffffffff808c74a8 at vputx+0x2d8
#15 0xffffffff808cb3af at kern_unlinkat+Ox1df
#16 Oxffffffff80b17cf0 at amd64_sysca11.0x450
#17 Oxffffffff80b03427 at Xfast_syscall+Oxf7
Uptime: 1m59s
acpi0: reset failed - timeout
Automatic reboot in 15 seconds - press a key on the console to abort
Otherwise my system works fine with the exception that I cannot ever remove or upgrade ruby. I don't know when this first occured as it had been a while since I updated ports. Any ideas?