Bug#691732: This Patch fixes the bug for me

2013-01-22 Thread Philip Freeman
# /etc/init.d/open-iscsi restart Unmounting iscsi-backed filesystems:No iSCSI block devices found ... (warning). . Disconnecting iSCSI targets:Logging out of session [] Logging out of session [] Logging out of session [] Logging out of session [] Logout of []: successful Logout of []: successful Lo

Bug#691732: open-iscsi daemon with no targets tries to unmount all local filesystems

2013-01-22 Thread Philip Freeman
root@postgres19:~# sh -x /etc/init.d/umountiscsi.sh stop 2>&1 | tee /tmp/umountiscsi.log + [ -d /sys/devices/platform/host10/session4/target10:0:0 ] + echo /sys/devices/platform/host10/session4/target*/*:*/block/* + sed s/.*block\/// + BLOCK_DEV=* + awk /^\/dev\/*/ { print $2; } + DOS_PARTITIONS