tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Zbigniew, Ignatowicz" <zignatowicz () scc ! ca>
To: tru64-unix-managers
Subject: [Summary}  Networker: index out of space
Date: Tue, 01 Jun 1999 17:43:01 +0000	[thread overview]
Message-ID: <96079044115469.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01BEAC56.344CFC8D", Size: 6488 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BEAC56.344CFC8D
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,

Thank for all the responses. I have got two of them - both very useful in
solving my problem. I moved temporarily  the nsr directory tree to other
filesystem and reclaim the space. 

I am including their responses.

from:
Girish Phadke [pgirish@maxisnet.com.my]

You will have to first remove the oldest cycle from the index database.
Decide how many cycles  of index should be online ( full backup to full
backup is one cycle.
from the index menu remove as many oldest cycles as you can.

Then reclaim space from index.
afterwards do index compression by giving command  nsrck -C

This will be lowest size of your client index.
If you do not want your index to grow as much reduce the browse period in
your client setup.

and from:
Jim Fitzmaurice [jpfitz@fnal.gov]


    You read the documentation you will find that reclaiming space rebuilds
the database, you need space to rebuild the database and reclaim space. I
know, it doesn't make sense, but that's the way it works. I ran into this
problem once, I shut down the networker, moved the whole nsr directory to
/tmp and then linked it back. Restarted networker and ran the reclaim space.
I then shut down networker again, moved the nsr directory back, and
restarted networker. Of course this assumes you have enough space in /tmp to
accomplish the rebuild/reclaim. Since I have moved (and linked) the nsr
database to a larger directory and make sure to run reclaim space every
couple of weeks or so.
 
First you stop networker.
 
# nsr_shutdown
 
Move the nsr directory. (I like to use cpio -p)
 
# find /nsr | cpio -pvdum /tmp
 
This creates the directory /tmp/nsr and puts all the nsr stuff under it.
Then delete the /nsr directory and create the link back to /tmp/nsr.
 
# rm -r /nsr
# ln -s /tmp/nsr /nsr
 
Restart networker.
 
# /sbin/init.d/nsrd start
 
Run the reclaim space.
 
Shutdown networker again.
 
# nsr_shutdown
 
remove the link and copy everything back.
 
# rm /nsr
# cd /tmp
# find ./nsr | cpio -pvdum /
 
Restart networker and remove the nsr directory in /tmp.
 
# /sbin/init.d/nsrd start
# cd /tmp
# rm -r nsr
 
Done.

------_=_NextPart_001_01BEAC56.344CFC8D
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>[Summary}  Networker: index out of space</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi,</FONT>
</P>

<P><FONT SIZE=3D2>Thank for all the responses. I have got two of them - =
both very useful in solving my problem. I moved temporarily&nbsp; the =
nsr directory tree to other filesystem and reclaim the space. =
</FONT></P>

<P><FONT SIZE=3D2>I am including their responses.</FONT>
</P>

<P><FONT SIZE=3D2>from:</FONT>
<BR><FONT SIZE=3D2>Girish Phadke [pgirish@maxisnet.com.my]</FONT>
</P>

<P><FONT SIZE=3D2>You will have to first remove the oldest cycle from =
the index database.</FONT>
<BR><FONT SIZE=3D2>Decide how many cycles&nbsp; of index should be =
online ( full backup to full backup is one cycle.</FONT>
<BR><FONT SIZE=3D2>from the index menu remove as many oldest cycles as =
you can.</FONT>
</P>

<P><FONT SIZE=3D2>Then reclaim space from index.</FONT>
<BR><FONT SIZE=3D2>afterwards do index compression by giving =
command&nbsp; nsrck -C</FONT>
</P>

<P><FONT SIZE=3D2>This will be lowest size of your client index.</FONT>
<BR><FONT SIZE=3D2>If you do not want your index to grow as much reduce =
the browse period in your client setup.</FONT>
</P>

<P><FONT SIZE=3D2>and from:</FONT>
<BR><FONT SIZE=3D2>Jim Fitzmaurice [jpfitz@fnal.gov]</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; You read the documentation you =
will find that reclaiming space rebuilds the database, you need space =
to rebuild the database and reclaim space. I know, it doesn't make =
sense, but that's the way it works. I ran into this problem once, I =
shut down the networker, moved the whole nsr directory to /tmp and then =
linked it back. Restarted networker and ran the reclaim space. I then =
shut down networker again, moved the nsr directory back, and restarted =
networker. Of course this assumes you have enough space in /tmp to =
accomplish the rebuild/reclaim. Since I have moved (and linked) the nsr =
database to a larger directory and make sure to run reclaim space every =
couple of weeks or so.</FONT></P>

<P><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>First you stop networker.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2># nsr_shutdown</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>Move the nsr directory. (I like to use cpio =
-p)</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2># find /nsr | cpio -pvdum /tmp</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>This creates the directory /tmp/nsr and puts all the =
nsr stuff under it.</FONT>
<BR><FONT SIZE=3D2>Then delete the /nsr directory and create the link =
back to /tmp/nsr.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2># rm -r /nsr</FONT>
<BR><FONT SIZE=3D2># ln -s /tmp/nsr /nsr</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>Restart networker.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2># /sbin/init.d/nsrd start</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>Run the reclaim space.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>Shutdown networker again.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2># nsr_shutdown</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>remove the link and copy everything back.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2># rm /nsr</FONT>
<BR><FONT SIZE=3D2># cd /tmp</FONT>
<BR><FONT SIZE=3D2># find ./nsr | cpio -pvdum /</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>Restart networker and remove the nsr directory in =
/tmp.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2># /sbin/init.d/nsrd start</FONT>
<BR><FONT SIZE=3D2># cd /tmp</FONT>
<BR><FONT SIZE=3D2># rm -r nsr</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>Done.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01BEAC56.344CFC8D--

                 reply	other threads:[~1999-06-01 17:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox