phbeauverd
IS-IT--Management
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
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