<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
severity 631296 normal<br>
tag 631296 + moreinfo<br>
thanks<br>
<br>
<br>
On 06/22/2011 11:13 PM, Julien Palard wrote:
<blockquote
cite="mid:20110622174353.7071.93537.reportbug@media6.eeple.fr"
type="cite">
<pre wrap="">In the file /etc/init.d/umountiscsi.sh line 58
DOS_PARTITIONS="`awk "/^\<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>dev\/$BLOCK_DEV<span class="moz-txt-tag">/</span></i> { print \\$2; }" < /proc/mounts`"
on my machine, matches / /usr /var /srv, so the script tried to umount them !
</pre>
</blockquote>
Please quote the full context.<br>
<br>
<br>
<blockquote>for BLOCK_FILE in $SESSION_DIR/target*/*\:*/block/*; do<br>
BLOCK_DEV=`echo "$BLOCK_FILE" | sed
's/.*block\///'`<br>
DOS_PARTITIONS="`awk "/^\/dev\/$BLOCK_DEV/
{ print \\$2; }" < /proc/mounts`"<br>
for DEVICE in $DOS_PARTITIONS; do<br>
#log_progress_msg $DEVICE<br>
#echo $DEVICE<br>
umount $DEVICE<br>
exit_status=$?<br>
if ! [ $exit_status -eq 0 ]; then<br>
umount_fail=1<br>
log_warning_msg "Could not
unmount $DEVICE"<br>
</blockquote>
BLOCK_DEV is derived only from the iSCSI devices. I cannot see how
that will unmount local devices.<br>
<br>
<pre class="moz-signature" cols="72">--
Ritesh Raj Sarraf | <a class="moz-txt-link-freetext" href="http://people.debian.org/~rrs">http://people.debian.org/~rrs</a>
Debian - The Universal Operating System
</pre>
</body>
</html>