cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete a Volume Pool on an OpenStorage disk Pool that includes a space in name

RichWeiss
Level 3

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Which OS on the media server where you are running the command?

Are there any unexpired backups associated with the dv (Disk Media ID : @aaabV)?

View solution in original post

5 REPLIES 5

Nicolai
Moderator
Moderator
Partner    VIP   

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 "

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

 

Nicolai
Moderator
Moderator
Partner    VIP   

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"

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Which OS on the media server where you are running the command?

Are there any unexpired backups associated with the dv (Disk Media ID : @aaabV)?

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