HP DP Command to check/free a device
>> omnimm -show_locked_devs | grep <lock_name>
this command would list all the devices that are being used by the DP cell server. Medium, cartridge, devices
Ex:
Type: Medium
Name/Id: c75f:0034:0000:XXXX //Media ID
Pid: 23362 //Process Id that utilizes the media
Host: cellsrv01.in.com //name of the cell manager (useful in MOM)
Label: BM1000L3 //Medium label
Type: Device
Name/Id: ESLE1_D02 //Drive name
Pid: 25754 //Process Id that utilizes the drive
Host: cellsrv01.in.com //name of the cell manager, (useful in MOM)
Type: Cartridge
Name/Id: ESLE1 //Name of the library
Pid: 25836 //Process Id that utilises the drive
Host: cellsrv01.in.com //name of the cell manager, (useful in MOM)
Location: 102
>> omnidbutil -show_locked_devs
The command would list all the devices, media, cartridge and slots that are in use by Data Protector cell manager.
>> omnidbutil -free_locked_devs <device_name>
Ex:
>> omnidbutil -free_locked_devs ESLE1_D02
Confirm the command by hitting 'Y': Y
After execution of this command, the drive will get released and can be used for any other purpose.
>> omnimm -show_locked_devs | grep <lock_name>
this command would list all the devices that are being used by the DP cell server. Medium, cartridge, devices
Ex:
Type: Medium
Name/Id: c75f:0034:0000:XXXX //Media ID
Pid: 23362 //Process Id that utilizes the media
Host: cellsrv01.in.com //name of the cell manager (useful in MOM)
Label: BM1000L3 //Medium label
Type: Device
Name/Id: ESLE1_D02 //Drive name
Pid: 25754 //Process Id that utilizes the drive
Host: cellsrv01.in.com //name of the cell manager, (useful in MOM)
Type: Cartridge
Name/Id: ESLE1 //Name of the library
Pid: 25836 //Process Id that utilises the drive
Host: cellsrv01.in.com //name of the cell manager, (useful in MOM)
Location: 102
>> omnidbutil -show_locked_devs
The command would list all the devices, media, cartridge and slots that are in use by Data Protector cell manager.
>> omnidbutil -free_locked_devs <device_name>
Ex:
>> omnidbutil -free_locked_devs ESLE1_D02
Confirm the command by hitting 'Y': Y
After execution of this command, the drive will get released and can be used for any other purpose.
P.S: Omnidbutil / Omnimm commands can be used interchangeably to identify locked devices, to free locked devs, use omnidbutil.
I have a issue where my device name has a space in it. Is there a way to change the device name? Add a dash or something. Otherwise the command line doesn't see it.
ReplyDeleteIn that case, try using single quote/double quote to mention the device name.
DeleteEx:
omnidbutil -free_locked_devs 'ESLE1 L01'
or
omnidbutil -free_locked_devs "ESLE1 L01"
can we find out which backup is running on that particular drive??
ReplyDelete