Unsolved
This post is more than 5 years old
261 Posts
0
1916
May 3rd, 2006 06:00
NSRSTAGE command line trouble
Hi guys. I'm trying to do an nsrstage of my main partition (e:\nexsan in my case). This is what i'm entering:
nsrstage -v nexsan -s backupserver
It keepms tell me I must specify either -m or -c. I want the whole volume staged. I say this because I have 3/4 of my disk free (e:\nexsan and the .RO device). Well when I look at the volume tab it shows my e:\nexsan at 94% used which went up from 90% yesterday. My tape device hasn't moved. It appears something is wrong with my staging. I submitted to support and of course they didn't help.
nsrstage -v nexsan -s backupserver
It keepms tell me I must specify either -m or -c. I want the whole volume staged. I say this because I have 3/4 of my disk free (e:\nexsan and the .RO device). Well when I look at the volume tab it shows my e:\nexsan at 94% used which went up from 90% yesterday. My tape device hasn't moved. It appears something is wrong with my staging. I submitted to support and of course they didn't help.
No Events found!


ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
May 3rd, 2006 06:00
The output you sent from nsrstage is not staging anything - usually it will list ssids to be staged. In your case it just reported some space would be recovered and nothing else.
What do you see when you do following:
mminfo -av -q volume=nexan -r ssid,cloneid,copies,ssflags,sumflags,name,client,sumsize
This will give you list of savesets and few more details for each ssid on that disk volume. Then let's see what happens when we try one to stage.
I just realized that staging source is on backup server and data is being staged to remote storage node. Given that nsrstage and nsrclone "share" same thing I must say I have no idea if you should configure clone storage node field too. If yes, go to properties of backup server client (backupserver) and in field called clone storage node put backupserver2.
mgossett1
261 Posts
0
May 3rd, 2006 06:00
Obtaining media database information on server backupserver
obtaining volume information
recovering space from volume (nexsan)
Refer to daemon.log for any space recoverd
I know this worked but let me try a little better to break it down. Here are my devices:
e:\legato nexsan
e:\legato_AF_readonly nexsan.RO
rd=backupserver2:\\.\ backupserver_c.101 (my currently loaded tape)
Tape is mounted and tells type.
My problem is I can't get the volume percentage down from 94% on my nexsan (not the nexsan.RO). My tape hasn't been written to in two days. For some reason it's not writing off to my tape. Any ideas
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
May 3rd, 2006 06:00
partition (e:\nexsan in my case). This is what i'm
entering:
nsrstage -v nexsan -s backupserver
It keepms tell me I must specify either -m or -c. I
want the whole volume staged. I say this because I
have 3/4 of my disk free (e:\nexsan and the .RO
device). Well when I look at the volume tab it shows
my e:\nexsan at 94% used which went up from 90%
yesterday. My tape device hasn't moved. It appears
something is wrong with my staging. I submitted to
support and of course they didn't help.
Is your staging enabled at all? (trying to be funny)
Well, I believe I did write this somewhere else, perhaps even for you at some other topic, but here we go again:
nsrstage -s nsrstage -s backupserver -v -m -bPUT_TARGET_POOL_NAME_HERE -S `mminfo -av -q volume=DISK_VOLUME_NAME_HERE -r ssid`
mgossett1
261 Posts
0
May 3rd, 2006 06:00
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
May 3rd, 2006 07:00
mgossett1
261 Posts
0
May 3rd, 2006 07:00
nsrmm -dy -S 23876773192 /cloneid
It tells me '-S and volume names are mutually exclusive'
what'd I do wrong
mgossett1
261 Posts
0
May 3rd, 2006 07:00
If not, then list ssids and simply stage them - your list won't have offending ssid so it should work.
mgossett1
261 Posts
0
May 3rd, 2006 07:00
It asked if I wanted to delete file and media index entries for save set. I said Yes. Looked ok so I did nsrstage and got same as before:
I looked in daemon.log again and saw this:
cannot clone save set 2386773192 series is corrupted. When I went back and looked on my e:\ nexsan the SSID IS gone. Is there something else (since it says series is corrupt) or do I need to like restart the server or somethng? I do appreciate all of your help greatly
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
May 3rd, 2006 07:00
If you just use ssid then you will delete staged instance too (check copies and volumes for that ssid).
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
May 3rd, 2006 07:00
Do first: mminfo -av -q ssid=23876773192 -r cloneid,sumflags,name,client,ssflags,sumflags,savetime,copies,volume,pool
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
May 3rd, 2006 07:00
I would advise to run mminfo -av -q ssid=your_ssid -r "ssid(60)" This will report ssid in long format and that name will be the same as filename on disk volume containing that (short) ssid.
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
May 3rd, 2006 08:00
Do mminfo -av -q volume=nexan -r ssid > ssid.lst and then nsrstage -s backupserver -m -v -bPOOL -S -f full/path/to/file/from/previous/command/called/ssid.lst
mgossett1
261 Posts
0
May 3rd, 2006 10:00
nsrstage -v -s backupserver-b defaultclone -C -V nexsan
obtaining media database information on server backupserver
obtaining volume informaion
recovering space from volume (nexsan)
nsrstage: adv_file disk e:\legat0\_AF_readonly is ready for reading.
seems ok. When I go to the monitor tab I see this:
media info: suggest manually labeling a new writable volume for pool 'default'
media waiting event: waiting for 1 writeable volumes to backup pool 'default' disk(s) or tape(s) on backupserver2.
The tapes I have are all blank. Not sure what it's asking for
mgossett1
261 Posts
0
May 3rd, 2006 13:00
only save set migration is allowed. i'm wondering it it's not connected to my stupid other error
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
May 3rd, 2006 13:00