Played over Xmas a bit with ZFS on mirrored USB sticks. Which was fun....

When I pulled both sticks without doing any unmount, the filesystem seemed to be still there, all in cache of course. I even could open a file in vi, but when I then tried to save the file, I had expected a failure, but not that the Solaris kernel would crash.

I realize this is not what ZFS was designed for, but I wondered if the same would happen when a normal disk fails (on a non mirrored config). Take note, that in this case the ZFS filesystem was not the device with the OS.

See below the log from /var/log/messages.

Willem


Dec 30 12:58:15 fornax usba: [ID 691482 kern.warning] WARNING: /[EMAIL 
PROTECTED],0/pci1297,[EMAIL PROTECTED],2/[EMAIL PROTECTED] (scsa2usb0): 
Disconnected device was busy, please reconnect.
Dec 30 12:58:20 fornax usba: [ID 691482 kern.warning] WARNING: /[EMAIL 
PROTECTED],0/pci1297,[EMAIL PROTECTED],2/[EMAIL PROTECTED] (scsa2usb1): 
Disconnected device was busy, please reconnect.
Dec 30 12:58:28 fornax scsi: [ID 107833 kern.notice]    Device is gone
Dec 30 12:58:28 fornax last message repeated 7 times
Dec 30 12:58:28 fornax unix: [ID 836849 kern.notice] Dec 30 12:58:28 fornax ^Mpanic[cpu0]/thread=fffffe8000c0dc80: Dec 30 12:58:28 fornax genunix: [ID 809409 kern.notice] ZFS: I/O failure (write on <unknown> off 0: zio ffffffff861102c0 [L0 ZIL intent log] 1000L/1000P DVA[0]=<0:2f000:1000> zilog uncompressed LE contiguous birth=10095 fill=0 cksum=6bea7e056f9386b4:edf58a85f12122fd:1b:2): error 5 Dec 30 12:58:28 fornax unix: [ID 100000 kern.notice] Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0da40 zfs:zio_done+140 ()
Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0da60 
zfs:zio_next_stage+68 ()
Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0dab0 
zfs:zio_wait_for_children+5d ()
Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0dad0 
zfs:zio_wait_children_done+20 ()
Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0daf0 
zfs:zio_next_stage+68 ()
Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0db40 
zfs:zio_vdev_io_assess+129 ()
Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0db60 
zfs:zio_next_stage+68 ()
Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0dbb0 
zfs:vdev_mirror_io_done+2af ()
Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0dbd0 
zfs:zio_vdev_io_done+26 ()
Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0dc60 
genunix:taskq_thread+1a7 ()
Dec 30 12:58:28 fornax genunix: [ID 655072 kern.notice] fffffe8000c0dc70 
unix:thread_start+8 ()
Dec 30 12:58:28 fornax unix: [ID 100000 kern.notice] Dec 30 12:58:28 fornax genunix: [ID 672855 kern.notice] syncing file systems...
Dec 30 12:58:28 fornax genunix: [ID 733762 kern.notice]  1
Dec 30 12:58:29 fornax genunix: [ID 904073 kern.notice]  done
Dec 30 12:58:30 fornax genunix: [ID 111219 kern.notice] dumping to 
/dev/dsk/c0d0s1, offset 202375168, content: kernel
Dec 30 12:58:33 fornax genunix: [ID 409368 kern.notice] ^M100% done: 40584 pages dumped, compression ratio 3.78, Dec 30 12:58:33 fornax genunix: [ID 851671 kern.notice] dump succeeded
Dec 30 12:58:57 fornax genunix: [ID 540533 kern.notice] ^MSunOS Release 5.11 
Version snv_55 64-bit
Dec 30 12:58:57 fornax genunix: [ID 172907 kern.notice] Copyright 1983-2006 Sun 
Microsystems, Inc.  All rights reserved.




--


Willem van Schaik                      Sun Microsystems of Canada Inc.
Solutions Architect                    112 Fourth Avenue SW, III #1200
Sun Client Solutions                               Calgary AB, T2P 0H3
                                                               CANADA
mailto:[EMAIL PROTECTED]                            +1 (403) 606-9010 (cell)
http://webhome.central/wwwillem/              +1 (403) 262-0515 X57515
...................................................................COM


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to