Reproduction:
- - - make a big file, say /tank/dep/tank2
- - - cd /tank/dep
- - - dd if=tank2 of=/dev/null bs=1024k
- - - ^C this after a short time
- - - disconnect the iSCSI target from the network fabric
- - - dd if=tank2 of=/dev/null bs=1024k

System Dumps/reboots

and won't boot until target is reconnected.



Environment:

 A Solaris 10 x86 64-bit machine with a 10.2T raidz2 ZFS pool made up
of 15 ~700 GB iSCSI disks, all coming from the same iSCSI target.

$ zpool list
NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
tank                   10.2T    300G   9.89T     2%  ONLINE     -
$ zpool status tank
  pool: tank
 state: ONLINE
 scrub: none requested
config:

        NAME         STATE     READ WRITE CKSUM
        tank         ONLINE       0     0     0
          raidz2     ONLINE       0     0     0
            c2t1d0   ONLINE       0     0     0
            c2t2d0   ONLINE       0     0     0
            c2t3d0   ONLINE       0     0     0
            c2t4d0   ONLINE       0     0     0
            c2t11d0  ONLINE       0     0     0
            c2t12d0  ONLINE       0     0     0
            c2t13d0  ONLINE       0     0     0
            c2t14d0  ONLINE       0     0     0
            c2t15d0  ONLINE       0     0     0
            c2t16d0  ONLINE       0     0     0
            c2t17d0  ONLINE       0     0     0
            c2t18d0  ONLINE       0     0     0
            c2t19d0  ONLINE       0     0     0
            c2t20d0  ONLINE       0     0     0
            c2t21d0  ONLINE       0     0     0

Reproduction:
- - - make a big file, say /tank/dep/tank2
- - - cd /tank/dep
- - - dd if=tank2 of=/dev/null bs=1024k
- - - ^C this after a short time
- - - disconnect the iSCSI target from the network fabric
- - - dd if=tank2 of=/dev/null bs=1024k

System Dumps/reboots

and won't boot until target is reconnected.


$ cat /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c1d0s1 -       -       swap    -       no      -
/dev/dsk/c1d0s0 /dev/rdsk/c1d0s0        /       ufs     1       no      -
/dev/dsk/c1d0s7 /dev/rdsk/c1d0s7        /export/home    ufs     2       yes     
-
/devices        -       /devices        devfs   -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -

And:
$ cat /etc/auto.master
#
# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)auto_master        1.8     03/04/28 SMI"
#
# Master map for automounter
#
+auto_master
/net            -hosts          -nosuid,nobrowse
/home           auto_home       -nobrowse
$ cat /etc/auto_home
#
# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)auto_home  1.6     03/04/28 SMI"
#
# Home directory map for automounter
#
+auto_home
dep     localhost:/export/home/&


$ df
/                  (/dev/dsk/c1d0s0   ):  492196 blocks   390034 files
/devices           (/devices          ):       0 blocks        0 files
/system/contract   (ctfs              ):       0 blocks 2147483622 files
/proc              (proc              ):       0 blocks    16198 files
/etc/mnttab        (mnttab            ):       0 blocks        0 files
/etc/svc/volatile  (swap              ): 2416432 blocks   144686 files
/system/object     (objfs             ):       0 blocks 2147483496 files
/lib/libc.so.1     (/usr/lib/libc/libc_hwcap2.so.1):  492196 blocks   390034 
files
/dev/fd            (fd                ):       0 blocks        0 files
/tmp               (swap              ): 2416432 blocks   144686 files
/var/run           (swap              ): 2416432 blocks   144686 files
/export/home       (/dev/dsk/c1d0s7   ):146503972 blocks  8894792 files
/tank              (tank              ):18007616798 blocks 18007616798 files
/home/dep          (/export/home/dep  ):146503972 blocks  8894792 files
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to