>>>>> "r" == Ross  <[EMAIL PROTECTED]> writes:

    rs> I don't think it likes it if the iscsi targets aren't
    rs> available during boot.

from my cheatsheet:
-----8<-----
ok boot -m milestone=none
[boots.  enter root password for maintenance.]
bash-3.00# /sbin/mount -o remount,rw /  [<-- otherwise iscsiadm won't update 
/etc/iscsi/*]
bash-3.00# /sbin/mount /usr
bash-3.00# /sbin/mount /var
bash-3.00# /sbin/mount /tmp
bash-3.00# iscsiadm remove discovery-address 10.100.100.135
bash-3.00# iscsiadm remove discovery-address 10.100.100.138
bash-3.00# iscsiadm remove discovery-address 10.100.100.138
iscsiadm: unexpected OS error
iscsiadm: Unable to complete operation  [<-- good.  it's gone.]
bash-3.00# sync
bash-3.00# lockfs -fa
bash-3.00# reboot
-----8<-----

    rs> # time zpool status 
[...]
    rs> real 3m51.774s

so, this hang may happen in fewer situations, but it is not fixed.

     r> 6.  After one drive goes offline, during the resilver process,
     r> zpool status shows that information is being resilvered on the
     r> good drives.  Does anybody know why this happens?  

I don't know why.

I've seen that, too, though.  For me it's always been relatively
short, <1min.  I wonder if there are three kinds of scrub-like things,
not just two (resilvers and scrubs), and 'zpool status' is
``simplifying'' for us again?

     r> 7.  Although ZFS will automatically online a pool when iscsi
     r> devices come online, CIFS shares are not automatically
     r> remounted.

For me, even plain filesystems are not all remounted.  ZFS tries to
mount them in the wrong order, so it would mount /a/b/c, then try to
mount /a/b and complain ``directory not empty''.  I'm not sure why it
mounts things in the right order at boot/import, but in haphazard
order after one of these auto-onlines.  Then NFS exporting didn't work
either.

To fix, I have to 'zfs umount /a/b/c', but then there is a b/c
directory inside filesystem /a, so I have to 'rmdir /a/b/c' by hand
because the '... set mountpoint' koolaid creates the directories but
doesn't remove them.  Then 'zfs mount -a' and 'zfs share -a'.

Attachment: pgpJzJr1P7Q4e.pgp
Description: PGP signature

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

Reply via email to