Networker

Re: [Networker] nsrmm -o notreadonly ?

2003-01-27 14:53:18
Subject: Re: [Networker] nsrmm -o notreadonly ?
From: "Thomas, Calvin" <calvin.thomas AT NACALOGISTICS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 27 Jan 2003 11:53:05 -0800
Try making it not full and not read only on the same line, or reverse the
lines, or just use the not full command.  When I did this thats all I used
to get it marked as writeable again.
NOTE: If the file device is truly full, but the index shows it as half full,
you will have this problem.
What happens if you type these commands manually?

Calvin Thomas
UNIX System Administrator
NACA Logistics


-----Original Message-----
From: Robert L. Harris [mailto:Robert.L.Harris AT RDLG DOT NET]
Sent: Monday, January 27, 2003 8:19 AM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] nsrmm -o notreadonly ?


  I have a small shell script to put file devices back in use.  It looks
for devices that are 50% used or less (from expired incrementals, etc)
then executes:

/usr/sbin/nsrmm -u ONSITE.202
/usr/sbin/nsrmm -y -o notreadonly ONSITE.202
/usr/sbin/nsrmm -y -o notfull ONSITE.202
/usr/sbin/nsrmm -f /exp/legatodisk2-2/onsite -m ONSITE.202

I thought it was working fine until I watched it again this morning.  It
correctly unmounts, runs the two -o lines and remounts it write
protected.  I went into the client, unmounted it, set it to not-readonly
and remounted it just fine.

No errors, no complaints and -v (verbose) didn't show anything useful
either.

Legato 6.1.2 Build340 on a Linux server.

Anyone have any thoughts off the top of your heads?



:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | PGP Key ID: FC96D405

DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>