12-08-2018 11:18 AM
I acidentally creaated a storage unit on a data domain with a space fwg5_sdc_6800_t _su
So I created a new storage unit on DD fwg5_sdc_6800_t_su with space removed
Next, I added second volume to disk Pool fwg5_sdc_6800_t_dp
I ran command nbdevquery -listdv -U -stype DataDomain -dp fwg5_sdc_6800_t_dp
Disk Pool Name : fwg5_sdc_6800_t_dp
Disk Type : DataDomain
Disk Volume Name : fwg5_sdc_6800_t _su (Has space)
Disk Media ID : @aaabV
Total Capacity (GB) : 173202.39
Free Space (GB) : 157400.19
Use% : 9
Status : UP
Flag : ReadOnWrite
Flag : AdminUp
Flag : InternalUp
Num Read Mounts : 0
Num Write Mounts : 1
Cur Read Streams : 0
Cur Write Streams : 0
Num Repl Sources : 0
Num Repl Targets : 0
Disk Pool Name : fwg5_sdc_6800_t_dp
Disk Type : DataDomain
Disk Volume Name : fwg5_sdc_6800_t_su
Disk Media ID : @aaac9
Total Capacity (GB) : 173202.39
Free Space (GB) : 157400.19
Use% : 9
Status : UP
Flag : ReadOnWrite
Flag : AdminUp
Flag : InternalUp
Num Read Mounts : 0
Num Write Mounts : 1
Cur Read Streams : 0
Cur Write Streams : 2
Num Repl Sources : 0
Num Repl Targets : 0
Next I down DP and try to run following command
nbdevconfig -deletedv -stype DataDomain -dp fwg5_sdc_6800_t_dp -dv fwg5_sdc_6800_t _su has space
getting error Invalid option (_su)
Question: How to I delete a volume that contains a space.
If I can't I will have to expore all copy 2 to the STU > DP remove reference o STU and DP and delete them and recreate
Trying to save the 3-4 hours of work
Thanks
Solved! Go to Solution.
12-10-2018 10:09 AM
12-10-2018 01:01 AM - edited 12-10-2018 11:54 PM
You need to use quotes - but I really think you should get rid of the pool. Space in names is just as bad mojo as it ever can be.
nbdevconfig -deletedv -stype DataDomain -dp fwg5_sdc_6800_t_dp -dv "fwg5_sdc_6800_t _su has space "
12-10-2018 05:09 AM
I tried using the quotes
nbdevconfig -deletedv -stype DataDomain -dp fwg5_sdc_6800_t_dp -dv "fwg5_sdc_6800_t _su"
DSM has encountered an invalid state for the following object: fwg5_sdc_6800_t _su
failed to delete disk volume, invalid command parameter
12-10-2018 08:10 AM - edited 12-10-2018 08:10 AM
Mould is growing on my NBU skills - is the disk pool down in Netbackup ?
e.g. : nbdevconfig -changestate -stype DataDomain -dp {pool name} -state DOWN
The error you are seeing is different - it now says "invalid state"
12-10-2018 10:09 AM
12-10-2018 11:25 AM
Yes I thought I expired all images associated with @aaabV
Found a couple of images I missed
I expired them and down Disk pool and was successful in removing Disk Volume from disk Pool
Thansk for both of your help