Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to move Networker indexes (Linux)

Status
Not open for further replies.

phbeauverd

IS-IT--Management
Jan 31, 2002
24
CH
On Linux, the indexes, the logs and all others data files are located into /nsr (default install). For different reasons (filesystem full) this /nsr has to be moved to another disk. This tip show how to create a new filesystem having /nsr as mount point and to copy all these files to their new place. The actions below have been executed successfully on Linux Suse 7.3.

1. Add disk space (hardware)
1. Stop Networker : nsr_shutdown -aq
2. Rename /nsr to /oldnsr : mv /nsr /oldnsr
3. Create a new filesystem (ext3) on the free space with /nsr as mount point.
4. Mount this new filesystem
5. Copy data files :
cd /oldnsr
/usr/lib/nsr/uasm -si . | (cd /nsr; /usr/lib/nsr/uasm -rv)
6. Start Networker again
7. /oldnsr can be deleted after few days of good working

That's it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top