Active IQ Unified Manager Discussions

help with dfpm provisioning command

mschoen
3,695 Views

Hi,

I'm using dfpm to provision a few qtrees, however dfpm seems to be adding _number to the flexvol names.

We wonder if its due to dfpm finding duplicates on the DFM database,

however we tried to delete all flexvols with the name t006_share*, issue a dfm host discover FILER and then retry the command but it still appends a number after the flexvol.

according to this ouput dfpm is finding 10 duplicates in the database, as it uses _11.


dfpm dataset create -v $provpflnas -r $tenantname-1-prim ${tenantname}_share 
dfpm dataset provision -n sap  -s 30g -e nfs -w all -N no -a 0 -S sys ${tenantname}_share
            

# dfm  run cmd t006-1-prim qtree status

Stdout: Volume   Tree     Style Oplocks  Status
Stdout: -------- -------- ----- -------- ---------
Stdout: t006_share_11          unix  enabled  normal
Stdout: t006_share_11 data     unix  enabled  normal
Stdout: t006_share_11 sap      unix  enabled  normal

how can we change this or remove the entries from dfm ?

5 REPLIES 5

adaikkap
3,695 Views

The suffix numbering always keeps increasing.Not sure if there is a way to reset it.

Regards

adai

adaikkap
3,695 Views

Did you try all this provisioning job with in an hour ?Because, DFM takes atleast one hour to mark the qtrees as deleted though it may not be in the filer.

regards

adai

mschoen
3,695 Views

We are testing scripts for provisioning of new vFilers and volumes for new tenants within a FlexPod solution.

Therefore we repeated this several times within an hour or even less.

Going for delete the objects with the database

lovik_netapp
3,695 Views

have faced the issue before and noticed that after you delete the volume/qtree you have to a host refresh from DFM and give it some time to find out that the qtree/vol is deleted, on some occasions even I had to take all DFM serviced offline and purge old entries from it's db using -f flag.

hope that helps

adaikkap
3,695 Views

As long as the cli output for dfm volume list -a and dfm qtree list -a , show such volume or qtrees names,though they are not in the filer.

Prov Mgr will not be reap the names and use the missing suffix, instead it always increase the suffix number.

As lovik said you can make it to use the missing ones only if you delete them from dfm db.

Regards

adai

Public