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 can i move indexes

Status
Not open for further replies.

phbeauverd

IS-IT--Management
Jan 31, 2002
24
CH
We are using Networker 6.1.1 on Linux and we want to move the /nsr (volumes data and indexes) to another bigger file system. How can we do this ?
 
I did this on Solaris 8 this past weekend. I used the dump utility piped to the restore utility.

Let's call the old file system /nsr and the new one /newnsr. Do this:

nsr_shutdown -aq
dump 0f - /nsr | (cd /newnsr; restore rf - )
cd /
rm nsr
ln -s /newnsr nsr
#then startup networker again.

I heard that "holey" files are not properly handled by tar and cpio, so I used dump/restore since these utilities are for lower-level (down at the OS) backups.

You can also use Networker to do your restore as if a disaster had occurred. I thought that a bit much but it is supported by Legato.

So far my moved Networker has worked fine.

Jon

 
"ln -s" is your best friend. There *is* a way to do it internally, but I prefer ln.
 
The Legato suggested method is to use the uasm command (in nsr/bin) to move the directory for the client,
try a man uasm and there are examples .
Remember you will need to point the client to the new location of the index.
 
Modifying the client configurations is exactly why I prefer using ln, that way you don't have to make "special" configuration changes to Legato.

On the flip side, if you're going to put the Legato indexes on a new hard drive/filesystem, why not just mount that new filesystem at /nsr/index?
 
If it's Unix, that is what I would go with.
Have /nsr/index as one filesystem and if any index looks to need it , have that as another
e.g. /nsr/index/bigclient
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top