This post is more than 5 years old
1 Rookie
•
101 Posts
0
3101
May 4th, 2010 01:00
Scanner -s scan multiple ssid when i only specify one
Hi all,
I have a doubt with scanner command. I'm having an unexpected behaviour when i run scanner command to retrieve a ssid data to index and media DB.
I'm triggering the following command:
scanner -s backup_server -S 2596618226 -c client_name_1 -i /dev/rmt/5cbn
What i don't understand is if i specify a ssid to scan why it also scan another ssid's during the scan process?, here you have the output so you can see that:
# scanner -s backup_server -S 2596618226 -c client_name_1 -i /dev/rmt/5cbn
8909:scanner: using '/dev/rmt/5cbn' as the device name
8936:scanner: scanning LTO Ultrium-2 tape YXZ301 on /dev/rmt/5cbn
32350:scanner: adding LTO Ultrium-2 tape YXZ301 to pool L700MEN
8795:scanner: ssid 2344952835: SYNCHRONIZED at 53 GB, 14 file(s)
29485:scanner: ssid 2344952835: scan complete
8787:scanner: ssid 2344952835: 3288 MB (of 23 GB, 21 file(s)) written
29485:scanner: ssid 2596618226: scan complete
8786:scanner: ssid 2596618226: 16 GB, 19 file(s)
29486:scanner: ssid 1573210467: NOT complete
8786:scanner: ssid 1573210467: 12 GB, 6 file(s)
8761:scanner: done with LTO Ultrium-2 YXZ301...
As you can see it also scans 2344952835 and 1573210467 when i only specified to scan 2596618226.
The only thing i see in common is that this other ssid's are in the same tape:
# mminfo -q "ssid=2596618226" -r "volume, client, name, ssflags, sumflags"
volume client name ssflags fl
YXZ301 client_name_1 MSEXCH:IS/SG01 vF cb
# mminfo -q "ssid=2344952835" -r "volume, client, name, ssflags, sumflags"
volume client name ssflags fl
YXZ301 client_name_1 MSEXCH:IS/SG02 vF cb
# mminfo -q "ssid=1573210467" -r "volume, client, name, ssflags, sumflags"
volume client name ssflags fl
YXZ301 client_name_1 MSEXCH:IS/SG03 vri ci
Is this an espected behaviour?
Thanks in advance for your time,
Regards.



NavinRam
6 Posts
0
May 4th, 2010 03:00
Hi There,
Try the command without specifying the backup server. This should give you the results you want.
Thanks
Navin
BGuevara
1 Rookie
•
101 Posts
0
May 4th, 2010 04:00
Hi, thanks for your feedback. Curiously before reading your message i triggered a new scan for another tape without the -s just to do some testing a few minutes ago, now I'm waiting the scan to finish, i will get back to you with the results.
Thanks anyway for your help Navin!.
Regards.
BGuevara
1 Rookie
•
101 Posts
0
May 4th, 2010 06:00
Hi Navin,
As you said the scanner without -s backup_server does not scan another ssid than the one specified. I don't understand why...
Thanks,
Regards.
NavinRam
6 Posts
0
May 4th, 2010 06:00
Hi There,
The option with the backup server is used when you run the scanner command from the storage node. That option tells the storage node that "-s backup_server" is the controlling server. When you run the scanner command from the backup server, you need not specify the backup server name.
In your scanner command, NetWorker may have interpreted it as "give me the SSID's for my backup_server as well as SSID for server x from device y"
Try this - Run you command from a storage node and you should get the reults you were originally looking for.
regards,
Navin.
ble1
4 Operator
•
14.3K Posts
1
May 4th, 2010 13:00
In my opinion -s has nothing to do with it. It is rather -c. If you are using -S then -c is not required. As seen from your example, if you use both -S and -c then -c will win.
BGuevara
1 Rookie
•
101 Posts
0
May 5th, 2010 00:00
Ok,
I think i understand now, what scanner command is trying to do is to scan from the device provided all the ssids of the client specified, that make sense to me. So from now I will run the command without –c option and without –s option when scanning from the backup server.
Thanks both for your comments.