FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 10-06-2010, 09:33 AM
Ales Kozumplik
 
Default restart-anaconda: log out of all iscsi nodes

---
scripts/restart-anaconda | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scripts/restart-anaconda b/scripts/restart-anaconda
index e0fb544..5f8778b 100755
--- a/scripts/restart-anaconda
+++ b/scripts/restart-anaconda
@@ -48,6 +48,8 @@ RESTART_VICTIMS+=' '$ANACONDA_PID
if [[ -f /var/run/iscsid.pid ]]; then
# iscsid must die else it will cause us troubles on the next run
RESTART_VICTIMS+=' '`cat /var/run/iscsid.pid`
+ # log out of all nodes
+ iscsiadm -m node --logoutall=all
fi
echo "killing processes: " $RESTART_VICTIMS
for child in $RESTART_VICTIMS; do
--
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 10-06-2010, 10:04 AM
Martin Sivak
 
Default restart-anaconda: log out of all iscsi nodes

Ack.

--
Martin Sivák
msivak@redhat.com
Red Hat Czech
Anaconda team / Brno, CZ

----- "Ales Kozumplik" <akozumpl@redhat.com> wrote:

> ---
> scripts/restart-anaconda | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/restart-anaconda b/scripts/restart-anaconda
> index e0fb544..5f8778b 100755
> --- a/scripts/restart-anaconda
> +++ b/scripts/restart-anaconda
> @@ -48,6 +48,8 @@ RESTART_VICTIMS+=' '$ANACONDA_PID
> if [[ -f /var/run/iscsid.pid ]]; then
> # iscsid must die else it will cause us troubles on the next run
> RESTART_VICTIMS+=' '`cat /var/run/iscsid.pid`
> + # log out of all nodes
> + iscsiadm -m node --logoutall=all
> fi
> echo "killing processes: " $RESTART_VICTIMS
> for child in $RESTART_VICTIMS; do
> --
> 1.7.1.1
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org