severity 631296 normal tag 631296 + moreinfo thanks
On 06/22/2011 11:13 PM, Julien Palard wrote: > In the file /etc/init.d/umountiscsi.sh line 58 > DOS_PARTITIONS="`awk "/^\/dev\/$BLOCK_DEV/ { print \\$2; }" < > /proc/mounts`" > on my machine, matches / /usr /var /srv, so the script tried to umount them ! Please quote the full context. for BLOCK_FILE in $SESSION_DIR/target*/*\:*/block/*; do BLOCK_DEV=`echo "$BLOCK_FILE" | sed 's/.*block\///'` DOS_PARTITIONS="`awk "/^\/dev\/$BLOCK_DEV/ { print \\$2; }" < /proc/mounts`" for DEVICE in $DOS_PARTITIONS; do #log_progress_msg $DEVICE #echo $DEVICE umount $DEVICE exit_status=$? if ! [ $exit_status -eq 0 ]; then umount_fail=1 log_warning_msg "Could not unmount $DEVICE" BLOCK_DEV is derived only from the iSCSI devices. I cannot see how that will unmount local devices. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: OpenPGP digital signature