Unsolved
This post is more than 5 years old
67 Posts
0
3157
June 26th, 2007 09:00
Removing a drive- to reconfigure
I just reconfigure the library for storage node work. I used the wizard to discover the devices. Now, one of the 6 9940B drives is showing up as a 4mm drive(stupid wizard!). But, I successfully configured the two storage nodes and i don't want to start over. I also have production backups going on.
When I try to remove the "4mm" device through CLI, I get this:
Password:
jbedit: Error: Device `/dev/rmt/4cbn' is not available.
jbedit: error, Jukebox command terminated with errors.
jbedit: RAP error: before device `/dev/rmt/4cbn' may be deleted, it must first
be removed from jukebox `STK@3.0.0' list of `devices'
Do I need to disable the library first? Thanx.
Thanx.
When I try to remove the "4mm" device through CLI, I get this:
sudo ./jbedit -d -f /dev/rmt/4cbn -s bkup02 -j STK@3.0.0
Password:
jbedit: Error: Device `/dev/rmt/4cbn' is not available.
jbedit: error, Jukebox command terminated with errors.
jbedit: RAP error: before device `/dev/rmt/4cbn' may be deleted, it must first
be removed from jukebox `STK@3.0.0' list of `devices'
Do I need to disable the library first? Thanx.
Thanx.
No Events found!


ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
June 26th, 2007 10:00
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
June 26th, 2007 10:00
Maduro1
67 Posts
0
June 27th, 2007 07:00
aieee
2 Posts
0
May 24th, 2011 12:00
There is no -o option to jbedit
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
June 1st, 2011 09:00
Maybe it's undocumented or it did exist when this thread was originally made (way back than now). Perhaps you wish to share your story first?
36115_carloscor
217 Posts
1
June 2nd, 2011 00:00
Hi Maduro,
Have you tried to delete the device from the library as requested by error message?:
jbedit: RAP error: before device `/dev/rmt/4cbn' may be deleted, it must first
be removed from jukebox `STK@3.0.0' list of `devices'
Just right click on the library (In NMC) and select "Reconfigure Library".
Then uncheck the boxes for the devices you want to delete and click on "Start Configuration".
If the devices are associated to any pool, you will need to remove those devices first from the pool.
This should allow you to remove the devices, if they are already configured.
If what you see is an orange wrench, you need to do as follows (as you cannot delete them even using nsradmin):
Create a file, with no extension called, for example script, and place it under /nsr/res
Add the following lines in the script file:
. type: nsr storage node
update unconfig device names: ""
update unconfig device descriptions: ""
update unconfig device model types: ""
update unconfig device serial numbers: ""
update unconfig device WORM support: ""
update unconfig device library names: ""
update unconfig library names: ""
update unconfig library reference names: ""
update unconfig library descriptions: ""
update unconfig library control ports: ""
update unconfig library models: ""
update unconfig library serial numbers: ""
. type: nsr jukebox
update unconfigured devices: ""
update unconfigured drive ids: ""
update unconfigured drive addresses: ""
Once the file is created, from the command prompt go to /nsr/res and run the following command:
nsradmin -i script
This will delete all unconfigured devices (orange wrench).
Let us know if that helps.
Thanks.
Carlos.