Hi!

I have problem with turning off OES2, it seems open-iscsi is shutting
down to fast for NSS to unmount volumes.

Errors from log (see below) sounds dangerous. How can I make NSS
deactivate pools before open-iscsi disconnects iSCSI targets (sda,
sdb, sdc, sdd and sde)?

Mar 22 18:17:43 asfs init: Switching to runlevel: 0
Mar 22 18:17:44 asfs auditd[2032]: The audit daemon is exiting.
Mar 22 18:17:44 asfs kernel: audit(1206206264.371:8): audit_pid=0
old=2032 by auid=4294967295
Mar 22 18:17:44 asfs kernel: Synchronizing SCSI cache for disk sda:
Mar 22 18:17:44 asfs sshd[2290]: Received signal 15; terminating.
Mar 22 18:17:44 asfs su: (to wwwrun) root on none
Mar 22 18:17:44 asfs zmd: ShutdownManager (WARN): Preparing to shut
down...
Mar 22 18:17:44 asfs kernel: Synchronizing SCSI cache for disk sdb:
Mar 22 18:17:44 asfs zmd: ShutdownManager (WARN): Shutting down
daemon...
Mar 22 18:17:44 asfs kernel: Synchronizing SCSI cache for disk sdc:
Mar 22 18:17:45 asfs kernel: Synchronizing SCSI cache for disk sdd:
Mar 22 18:17:45 asfs kernel: 2:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 2:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 2:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 2:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 2:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 2:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 2:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 2:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 2:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: NSSLOG ==> [Error] comnPool.c[2541]
Mar 22 18:17:45 asfs kernel: Mar 22, 2008 5:17:45 pm
NSS<COMN>-4.10a-xxxx:
Mar 22 18:17:45 asfs kernel: Pool PROJ: System data I/O error
20204(zfsSuperBlk.c[2569]).
Mar 22 18:17:45 asfs kernel: Block 2(file block 2)(ZID 0)
Mar 22 18:17:45 asfs kernel: NSSLOG ==> [Error] zfsVolumeData.c[216]
Mar 22 18:17:45 asfs kernel: Mar 22, 2008 5:17:45 pm
NSS<ZLSS>-4.10a-1449:
Mar 22 18:17:45 asfs kernel: Error reading VolumeData Block 275,
status=20206.
Mar 22 18:17:45 asfs kernel: NSSLOG ==> [Error] zfsVolumeData.c[216]
Mar 22 18:17:45 asfs kernel: Mar 22, 2008 5:17:45 pm
NSS<ZLSS>-4.10a-1449:
Mar 22 18:17:45 asfs kernel: Error reading VolumeData Block
343440515, status=20206.
Mar 22 18:17:45 asfs kernel: NSSLOG ==> [Error]
zlssLogicalVolume.c[4989]
Mar 22 18:17:45 asfs kernel: Mar 22, 2008 5:17:45 pm
NSS<ZLSS>-4.10a-1449:
Mar 22 18:17:45 asfs kernel: Error reading PoolData Block
343440518, status=20206.
Mar 22 18:17:45 asfs kernel: NSSLOG ==> [MSAP] comnLog.c[201]
Mar 22 18:17:45 asfs kernel: Pool "PROJ" - MSAP deactivate.
Mar 22 18:17:45 asfs kernel: 0:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 0:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 0:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 0:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 0:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 0:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 0:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 0:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: 0:0:0:0: rejecting I/O to dead device
Mar 22 18:17:45 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:45 asfs kernel: NSSLOG ==> [Error] comnPool.c[2541]
Mar 22 18:17:45 asfs kernel: Mar 22, 2008 5:17:45 pm
NSS<COMN>-4.10a-xxxx:
Mar 22 18:17:45 asfs kernel: Pool SHARE: System data I/O error
20204(zfsSuperBlk.c[2569]).
Mar 22 18:17:45 asfs kernel: Block 2(file block 2)(ZID 0)
Mar 22 18:17:45 asfs kernel: NSSLOG ==> [Error] zfsVolumeData.c[216]
Mar 22 18:17:45 asfs kernel: Mar 22, 2008 5:17:45 pm
NSS<ZLSS>-4.10a-1449:
Mar 22 18:17:45 asfs kernel: Error reading VolumeData Block 275,
status=20206.
Mar 22 18:17:45 asfs kernel: NSSLOG ==> [Error] zfsVolumeData.c[216]
Mar 22 18:17:45 asfs kernel: Mar 22, 2008 5:17:45 pm
NSS<ZLSS>-4.10a-1449:
Mar 22 18:17:45 asfs kernel: Error reading VolumeData Block
487619587, status=20206.
Mar 22 18:17:45 asfs kernel: NSSLOG ==> [Error]
zlssLogicalVolume.c[4989]
Mar 22 18:17:45 asfs kernel: Mar 22, 2008 5:17:45 pm
NSS<ZLSS>-4.10a-1449:
Mar 22 18:17:45 asfs kernel: Error reading PoolData Block
487619590, status=20206.
Mar 22 18:17:45 asfs kernel: NSSLOG ==> [MSAP] comnLog.c[201]
Mar 22 18:17:45 asfs kernel: Pool "SHARE" - MSAP deactivate.
Mar 22 18:17:45 asfs kernel: Synchronizing SCSI cache for disk sde:
Mar 22 18:17:49 asfs kernel: 4:0:0:0: rejecting I/O to dead device
Mar 22 18:17:49 asfs kernel: BIO_UPTODATE not set. Got an IO error
Mar 22 18:17:49 asfs kernel: NSSLOG ==> [Error] zlssMSAP.c[538]
Mar 22 18:17:49 asfs kernel: Mar 22, 2008 5:17:49 pm
NSS<ZLSS>-4.10a-xxxx:
Mar 22 18:17:49 asfs kernel: MSAP: Pool "HOME" read error 20204.
Mar 22 18:17:49 asfs kernel:
Mar 22 18:17:49 asfs kernel: NSSLOG ==> [MSAP] comnLog.c[201]
Mar 22 18:17:49 asfs kernel: Pool "HOME" - Read error(20204).
Mar 22 18:17:49 asfs kernel: NSSLOG ==> [Error] comnPool.c[2541]
Mar 22 18:17:49 asfs kernel: Mar 22, 2008 5:17:49 pm
NSS<COMN>-4.10a-xxxx:
Mar 22 18:17:49 asfs kernel: Pool HOME: System data I/O error
20204(zlssMSAP.c[1812]).
Mar 22 18:17:49 asfs kernel: Block 0(file block 0)(ZID 0)
Mar 22 18:17:49 asfs kernel: NSSLOG ==> [Error] zfsVolumeData.c[216]
Mar 22 18:17:49 asfs kernel: Mar 22, 2008 5:17:49 pm
NSS<ZLSS>-4.10a-1449:
Mar 22 18:17:49 asfs kernel: Error reading VolumeData Block 275,
status=20206.
Mar 22 18:17:49 asfs kernel: NSSLOG ==> [Error] zfsVolumeData.c[216]
Mar 22 18:17:49 asfs kernel: Mar 22, 2008 5:17:49 pm
NSS<ZLSS>-4.10a-1449:
Mar 22 18:17:49 asfs kernel: Error reading VolumeData Block
262143491, status=20206.
Mar 22 18:17:49 asfs kernel: NSSLOG ==> [Error]
zlssLogicalVolume.c[4989]
Mar 22 18:17:49 asfs kernel: Mar 22, 2008 5:17:49 pm
NSS<ZLSS>-4.10a-1449:
Mar 22 18:17:49 asfs kernel: Error reading PoolData Block
262143494, status=20206.
Mar 22 18:17:49 asfs kernel: NSSLOG ==> [MSAP] comnLog.c[201]
Mar 22 18:17:49 asfs kernel: Pool "HOME" - MSAP deactivate.
Mar 22 18:17:50 asfs kernel: zapi un-loaded

Best regards,
Jacek Nienaltowski