grahamperrin wrote:… a disk, admittedly not good, that causes the Mac to panic within seconds of connection. …
At
viewtopic.php?p=4365#p4365… I have a hunch that if I connect the disk to a ZFS enabled system without ZEVO, and stop the scrub, then I'll be able to connect the disk to a ZEVO-enabled system – not for production use, but enough to use things such as zdb (although with this hardware, I wouldn't expect all uses of zdb to run to completion without a kernel panic). …
As it turns out, in this case, no need to avoid ZEVO
On a hunch, recalling something from a few months ago (probably unrelated to ZFS), I made a USB connection between the drive and the MacBookPro5,2.
Success – with USB 2.0, without the FireWire 800 connection, no panic.
I took the opportunity to stop the scrub that began on 2013-03-20 then got a verbose status and exported the pool:
- Code: Select all
macbookpro08-centrim:68f896193f gjp22$ zpool status
pool: gjp22
state: ONLINE
scan: scrub repaired 0 in 20h27m with 0 errors on Mon Mar 25 18:52:26 2013
config:
NAME STATE READ WRITE CKSUM
gjp22 ONLINE 0 0 0
GPTE_71B8BDA2-3EBA-4B91-9E1C-2AE2B1DAAD06 ONLINE 0 0 0 at disk8s2
cache
GPTE_2605CCB0-67B7-4C93-A4B1-83EF764CE617 ONLINE 0 0 0 at disk2s2
errors: No known data errors
pool: twoz
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.
scan: scrub in progress since Wed Mar 20 05:50:22 2013
371Gi scanned out of 375Gi at 576Ki/s, 1h43m to go
22.1Mi repaired, 99.09% done
config:
NAME STATE READ WRITE CKSUM
twoz ONLINE 1 0 14
GPTE_34E7E852-7E88-4FAD-B162-2AEF6D300D42 ONLINE 1 0 168 at disk3s4 (repairing)
errors: 68 data errors, use '-v' for a list
macbookpro08-centrim:68f896193f gjp22$ zpool scrub -s twoz
macbookpro08-centrim:68f896193f gjp22$ zpool status
pool: gjp22
state: ONLINE
scan: scrub repaired 0 in 20h27m with 0 errors on Mon Mar 25 18:52:26 2013
config:
NAME STATE READ WRITE CKSUM
gjp22 ONLINE 0 0 0
GPTE_71B8BDA2-3EBA-4B91-9E1C-2AE2B1DAAD06 ONLINE 0 0 0 at disk8s2
cache
GPTE_2605CCB0-67B7-4C93-A4B1-83EF764CE617 ONLINE 0 0 0 at disk2s2
errors: No known data errors
pool: twoz
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.
scan: scrub canceled on Fri Mar 29 14:29:11 2013
config:
NAME STATE READ WRITE CKSUM
twoz ONLINE 2 0 17
GPTE_34E7E852-7E88-4FAD-B162-2AEF6D300D42 ONLINE 2 0 239 at disk3s4
errors: 65 data errors, use '-v' for a list
macbookpro08-centrim:68f896193f gjp22$ clear
macbookpro08-centrim:68f896193f gjp22$ cd
macbookpro08-centrim:~ gjp22$ sudo zpool status -v twoz
Password:
pool: twoz
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.
scan: scrub canceled on Fri Mar 29 14:29:11 2013
config:
NAME STATE READ WRITE CKSUM
twoz ONLINE 2 0 17
GPTE_34E7E852-7E88-4FAD-B162-2AEF6D300D42 ONLINE 2 0 239 at disk3s4
errors: Permanent errors have been detected in the following files:
twoz:/macbookpro08-centrim.sparsebundle/bands/43f
twoz:/macbookpro08-centrim.sparsebundle/bands/29d8
twoz:/macbookpro08-centrim.sparsebundle/bands/29da
twoz:/macbookpro08-centrim.sparsebundle/bands/2eaf
twoz:/macbookpro08-centrim.sparsebundle/bands/81a
twoz:/macbookpro08-centrim.sparsebundle/bands/2396
twoz:/macbookpro08-centrim.sparsebundle/bands/2098
twoz:/macbookpro08-centrim.sparsebundle/bands/144b
twoz:/macbookpro08-centrim.sparsebundle/bands/3cfa
twoz:/macbookpro08-centrim.sparsebundle/bands/1ef9
twoz:/macbookpro08-centrim.sparsebundle/bands/1fe7
twoz:/macbookpro08-centrim.sparsebundle/bands/58f
twoz:/macbookpro08-centrim.sparsebundle/bands/2c7b
twoz:/macbookpro08-centrim.sparsebundle/bands/590
twoz:/macbookpro08-centrim.sparsebundle/bands/19
twoz:/macbookpro08-centrim.sparsebundle/bands/2783
twoz:/macbookpro08-centrim.sparsebundle/bands/2f23
twoz:/macbookpro08-centrim.sparsebundle/bands/1883
twoz:/macbookpro08-centrim.sparsebundle/bands/2588
twoz:/macbookpro08-centrim.sparsebundle/bands/5fa1
twoz:/macbookpro08-centrim.sparsebundle/bands/2585
twoz:/macbookpro08-centrim.sparsebundle/bands/3f35
twoz:/macbookpro08-centrim.sparsebundle/bands/285f
twoz:/macbookpro08-centrim.sparsebundle/bands/6be
twoz:/macbookpro08-centrim.sparsebundle/bands/2fcf
twoz:/macbookpro08-centrim.sparsebundle/bands/6ceb
twoz:/macbookpro08-centrim.sparsebundle/bands/11f3
twoz:/macbookpro08-centrim.sparsebundle/bands/3e7c
twoz:/macbookpro08-centrim.sparsebundle/bands/2e01
twoz:/macbookpro08-centrim.sparsebundle/bands/112a
twoz:/macbookpro08-centrim.sparsebundle/bands/1f6d
twoz:/macbookpro08-centrim.sparsebundle/bands/2e7f
twoz:/macbookpro08-centrim.sparsebundle/bands/2dc9
twoz:/macbookpro08-centrim.sparsebundle/bands/1a0e
twoz:/macbookpro08-centrim.sparsebundle/bands/2f2d
twoz:/macbookpro08-centrim.sparsebundle/bands/28e7
twoz:/macbookpro08-centrim.sparsebundle/bands/2bb2
twoz:/macbookpro08-centrim.sparsebundle/bands/7210
twoz@2013-03-17-131109:/macbookpro08-centrim.sparsebundle/bands/7244
twoz@2013-01-02-231021:/macbookpro08-centrim.sparsebundle/bands/3252
twoz@2013-01-02-231021:/macbookpro08-centrim.sparsebundle/bands/4aca
macbookpro08-centrim:~ gjp22$ clear
macbookpro08-centrim:~ gjp22$ zpool export twoz
macbookpro08-centrim:~ gjp22$ diskutil unmount /Volumes/LaCie\ Little\ Big\ Disk
Volume LaCie Little Big Disk on disk3s2 unmounted
macbookpro08-centrim:~ gjp22$
No surprise, many errors.
Now let's see whether –
since the scrub is stopped – I can make other types of connection to this drive … yes:
I changed the pool from from failmode=continue to failmode=wait and have set aside the troublesome disk – avoid beginning another scrub of its pool. I might dust it off, out of curiosity, after something greater than ZEVO 1.1.1 is made available for OS X.
For a verbose history of the pool,
sudo zdb -hvvvvv twoz.txt at
http://www.wuala.com/grahamperrin/publi ... 03/29/d/b/