Hi,
Using a ZFS emulated volume, I wasn't expecting to see a system [1] hang
caused by a SCSI error. What do you think? The error is not systematic.
When it happens, the Solaris/Xen dom0 console keeps displaying the
following message and the system hangs.
*Aug 3 11:11:23 jesma58 scsi: WARNING: /[EMAIL PROTECTED],0/pci1022,[EMAIL
PROTECTED]/pci17c2,[EMAIL PROTECTED]/[EMAIL PROTECTED],0 (sd2):
Aug 3 11:11:23 jesma58 Error for Command: read(10)
Error Level: Retryable
Aug 3 11:11:23 jesma58 scsi: Requested Block: 67679394
Error Block: 67679394
Aug 3 11:11:23 jesma58 scsi: Vendor: SEAGATE
Serial Number: 3JA7XWQY
Aug 3 11:11:23 jesma58 scsi: Sense Key: Unit_Attention
Aug 3 11:11:23 jesma58 scsi: ASC: 0x29 (bus device reset message occurred),
ASCQ: 0x3, FRU: 0x4*
Not sure whether the error happens when the ZFS emulated volume is
accessed by Solaris/Xen dom0 or by the Linux/Xen domU guest OS....? Here
is the usage scenario:
1 - Created a ZFS emaluated volume tank/vol2 (
*# zfs create -V 5gb tank/vol2****
*
2 - Copied an x86 boot sector disk image into that volume
*# file disk.img
disk.img: DOS executable (COM)
# ls -l disk.img
**-rw-r--r-- 1 ppetit icnc 5368709120 Aug 2 18:45 disk.img*
*
# dd if=disk.img of=/dev/zvol/dsk/tank/vol2 bs=8192
**# zfs get all tank/vol2
NAME PROPERTY VALUE SOURCE
tank/vol2 type volume -
tank/vol2 creation Wed Aug 2 18:37 2006 -
tank/vol2 used 5.04G -
tank/vol2 available 5.83G -
tank/vol2 referenced 5.04G -
tank/vol2 compressratio 1.00x -
tank/vol2 reservation 5G local
tank/vol2 volsize 5G -
tank/vol2 volblocksize 8K -
tank/vol2 checksum on default
tank/vol2 compression off default
tank/vol2 readonly off default**
*
3 - Boot a Linux Xen domU kernel on that volume which contains an ext3fs
rootfs partition and a swap partion.
Thanks,
Patrick
----------------------------------------
[1] SunOS 5.11 matrix-build-2006-07-14 i86xen i386 i86xen on V20Z machine.
* *
---
Patrick Petit Sun Microsystems Inc.
Labs, CTO ICNC Grenoble (http://icncweb.france)
Phone: (+33)476 188 232 x38232 180, Avenue de l'Europe
Fax: (+33)476 188 282 38334 Saint-Ismier Cedex, France
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss