[Pkg-iscsi-maintainers] Bug#691732: open-iscsi daemon with no targets tries to unmount all local filesystems
Philip Freeman
philip.freeman at gmail.com
Wed Jan 23 06:42:23 UTC 2013
root at postgres19:~# sh -x /etc/init.d/umountiscsi.sh stop 2>&1 | tee
/tmp/umountiscsi.log
<SNIP>
+ [ -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=/
/var
/home
+ umount /
<SNIP>
Full log attached...
root at postgres19:~# mount
<SNIP>
mount: warning: /etc/mtab is not writable (e.g. read-only filesystem).
It's possible that information reported by mount(8) is not
up to date. For actual information about system mount points
check the /proc/mounts file.
from /proc/mounts:
/dev/mapper/sysvg-root / ext4
ro,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
root at postgres19:~# mount -o remount,rw /
root at postgres19:~# cat /etc/debian_version
6.0.6
root at postgres19:~# dpkg -l | grep iscsi
ii open-iscsi 2.0.871.3-2squeeze1 High
performance, transport independent iSCSI implementation
~Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20130123/92de1dac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umountiscsi.log
Type: application/octet-stream
Size: 7960 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20130123/92de1dac/attachment.obj>
More information about the Pkg-iscsi-maintainers
mailing list