From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079044115469.tru64-unix-managers.marc@archive.invalid> From: "Zbigniew, Ignatowicz" Date: Tue, 01 Jun 1999 17:43:01 +0000 To: tru64-unix-managers Subject: [Summary} Networker: index out of space X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079044115469 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01BEAC56.344CFC8D" 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 [Summary} Networker: index out of space

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--