Networker

Re: [Networker] nsrmm -o notreadonly ?

2003-01-27 15:17:16
Subject: Re: [Networker] nsrmm -o notreadonly ?
From: "Robert L. Harris" <Robert.L.Harris AT RDLG DOT NET>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 27 Jan 2003 14:59:00 -0500
exectuing them by hand:

root AT legato DOT sea
{0}:/usr/local/sbin>nsrmm -u ONSITE.500
Unmounted device: /exp/legatodisk5-0/onsite

root AT legato DOT sea
{1}:/usr/local/sbin>nsrmm -y -o notreadonly ONSITE.500

root AT legato DOT sea
{0}:/usr/local/sbin>/usr/sbin/nsrmm -f /exp/legatodisk5-0/onsite -m ONSITE.500
file disk ONSITE.500 mounted on /exp/legatodisk5-0/onsite, write protected

root AT legato DOT sea
{0}:/usr/local/sbin>nsrmm -u ONSITE.500
Unmounted device: /exp/legatodisk5-0/onsite

root AT legato DOT sea
{0}:/usr/local/sbin>nsrmm -y -o notfull ONSITE.500

root AT legato DOT sea
{0}:/usr/local/sbin>/usr/sbin/nsrmm -f /exp/legatodisk5-0/onsite -m ONSITE.500
file disk ONSITE.500 mounted on /exp/legatodisk5-0/onsite, write protected

{0}:/usr/local/sbin>nsrmm -u ONSITE.500
Unmounted device: /exp/legatodisk5-0/onsite

root AT legato DOT sea
{0}:/usr/local/sbin>nsrmm -o notreadonly -o notfull ONSITE.500
nsrmm: -o is not valid with -C -d -j -m -p or -u
usage: nsrmm [-v | -q] [-s server] [-f device]
  or   nsrmm -l [-v | -q] [-s server] [-f device] [-myB]
                [-e forever] [-c capacity] [-b pool] [-R | volume]
  or   nsrmm {-u | -j} [-v | -q] [-s server] [-y] [-f device |
volume...]
  or   nsrmm -p [-v | -q] [-s server] [-f device]
  or   nsrmm -m [-v | -q] [-s server] [-f device] [-r] [volume]
  or   nsrmm {-d | -o mode} [-v | -q] [-s server] [-Py]
                [-S ssid[/cloneid] | -V volid | volume...]
  or   nsrmm [-s server] -S ssid {-w browsetime | -e retentiontime}


The filesystem is fine, there was a disk error that caused lag resulting
in a write failing, legato marks this as a full device.

Robert



Thus spake Thomas, Calvin (calvin.thomas AT NACALOGISTICS DOT COM):

> 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.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=



: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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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