Start a Conversation

Unsolved

This post is more than 5 years old

996

August 14th, 2011 00:00

Nsrinfo -xc bug

I didn't find any way to report a bug, so will try here. When migrating a pile of archives from TSM to NetWorker I found out that 'nsrinfo' when paired with '-xc' parameter strips white-space from a file name. Unfortunately, our customer just had a file that ends with a space.

[root@XXXXXX ~]# nsrinfo -N "/lnx9hra/progress2/ckos9_rut/age882/export/9661686919 " -xc"|" kos.XXXX.XXX
objects|client|name-space|file-name|date1|date2
|XXXXX|backup|||
|||/lnx9hra/progress2/ckos9_rut/age882/export/9661686919|1280319070|Wed 28 Jul 2010 02:11:10 PM CEST
1|||||

2 Intern

 • 

14.3K Posts

August 15th, 2011 04:00

Yes, I believe this is bug (or RFE)... I did a quick check:

[root@sanmc012385 ~]# echo "ble" > 'test '
[root@sanmc012385 home]# ls -ltraQ | tail -2
drwx------  3 a2x1hcrv     d_unix_storage  4096 Aug 15 12:35 "a2x1hcrv"
drwxr-xr-x 26 root         root            4096 Aug 15 12:42 ".."
# nsrinfo -t 1313404882 sanmc012385 | grep test | sed -n l                                              
/home/a2x1hcrv/test $
So far so good.
# nsrinfo -N /home/a2x1hcrv/test sanmc012385
scanning client `sanmc012385' for all savetimes from the backup namespace
0 objects found
root@chpp1010:/root
# nsrinfo -N '/home/a2x1hcrv/test ' sanmc012385
scanning client `sanmc012385' for all savetimes from the backup namespace
/home/a2x1hcrv/test , date=1313404882 Mon Aug 15 12:41:22 2011
1 objects found
nsrinfo -N '/home/a2x1hcrv/test ' -xc\| sanmc012385 objects|client|name-space|file-name|date1|date2 |sanmc012385|backup||| |||/home/a2x1hcrv/test|1313404882|Mon Aug 15 12:41:22 2011 1|||||

My test was done using 7.5.3.5.  I have seen some issues with -xc before, but it would just mess up header which I didn't need anyway (when using mmifo). I think it is fair to assume that current translation does not take into consideration special characters.

No Events found!

Top