10-08-2014 04:00 AM
Hi All,
I am facing error while changing the drive name as below. But I have no drive with same name . Please help me to fix this.
Thanks,
Nayab
Solved! Go to Solution.
10-08-2014 04:26 AM
jobid=1475354 , please check if that is still valid job and in active status or not.
if not release all allocation for the drive
nbrbutil --releaseDrive <drivename>
also try below command to rename the Drive
tpconfig -update -drive <drive index id> -newasciiname <new name>
and see how it works.
10-08-2014 04:08 AM
looks like currently Drive is being allocated for some jobs. is it so?
check the allocations, make sure Drive is not allocated
nbrbutil -dump | grep <drivename>
10-08-2014 04:15 AM
Hi Ram,
Thanks for the quick response , Please find the O/P below and i see for one drive was able to see some Allocation but for one drive it showed nothing.
zsswmasb1:/usr/openv/netbackup/bin/admincmd # nbrbutil -dump | grep Drive007
zsswmasb1:/usr/openv/netbackup/bin/admincmd # nbrbutil -dump | grep Drive008
index=26 (Allocation: id={3574DFB6-1DD2-11B2-84FA-A93718300279} provide r=MPXProvider resourcename=zsswmedb1-hcart-robot-tld-1 masterserver=zsswmasb gro upid={35766804-1DD2-11B2-BBB2-0B4FBB42BD4C} userSequence=0 userid="jobid=1475354 6" (Media_Drive_Allocation_Record: allocationKey=27010182 (Media_Drive_Record: M ediaKey=4000349 MediaId=BFD029 MediaServer=zsswmedb1 DriveKey=2000785 DriveName= Drive008 PrimaryPath=/dev/nst14 PoolName=MCESDayBackup RobotNum=1 RobotType=8 Me diaTypeName=NetBackup HCART1 DriveTypeName=NetBackup HCART1 NdmpControlHost= Ret entionLevel=10 PolicyType=2 JobType=1 MasterServer=zsswmasb) (Storage_Unit_Recor d: STU=zsswmedb1-hcart-robot-tld-1 STUType=2 MasterServer=zsswmasb MediaServer=z sswmedb1 RobotType=8 RobotNumber=1 Density=6 OnDemandOnly=0 ConcurrentJobs=9 Act iveJobs=1 MaxMultiplexing=8 NdmpAttachHost= AbsolutePath=) (Bptm_Strings_Record: 0="MEDIADB 1 27010182 BFD029 4000349 ------ 6 1411300182 1412765680 1415184880 0 1830673039 884 884 10 4 0 512 1024 0 7153792 0" 1="VOLUME 1 BFD029 4000349 BFD 029L4 MCESDayBackup FUJIFILM 074E115149 6 8 1 104 0 {00000000-0000-0000-0000-000 000000000} 0" 2="DRIVE 3 Drive008 2000785 1310085324 /dev/nst14 -1 -1 -1 -1 -1 - 1 -1 -1 *NULL* *NULL* *NULL* *NULL* 1 128 0 1 0 0" 3="STORAGE 1 zsswmedb1-hcart- robot-tld-1 6 1048576 2 1 0 0 zsswmedb1 zsswmedb1 *NULL*" 4="DISKGROUP 0 6 *NULL * 6 *NULL* 6 *NULL*" 5="DISKVOLUME 0 6 *NULL* 6 *NULL* 0" 6="DISKMOUNTPOINT 0 6 *NULL*" ) TpReqFileName=))
MdsAllocation: allocationKey=27010182 jobType=1 mediaKey=4000349 mediaId =BFD029 driveKey=2000785 driveName=Drive008 drivePath=/dev/nst14 stuName=zsswmed b1-hcart-robot-tld-1 masterServerName=zsswmasb mediaServerName=zsswmedb1 ndmpTap eServerName= diskVolumeKey=0 mountKey=0 linkKey=0 fatPipeKey=0 scsiResType=1 ser verStateFlags=1
Thanks,
Nayab
10-08-2014 04:26 AM
jobid=1475354 , please check if that is still valid job and in active status or not.
if not release all allocation for the drive
nbrbutil --releaseDrive <drivename>
also try below command to rename the Drive
tpconfig -update -drive <drive index id> -newasciiname <new name>
and see how it works.
10-11-2014 09:39 PM
Hi Ram,
Thanks Now i am able to change the Name of the drive :)
Thanks a lot
Nayab