Some times we might run in to issues deleting QTREE in NetApp, so let's see how can we force delete QTREE.
Here let's assume we are deleting qtree in volume1 which belongs to vfiler: vfiler1
Steps 1: Check if there are any CIFS shares related to qtree
>vfiler run vfiler1 cifs shares
cifs1$ /vol/volume1/qtree1
everyone / Full Control
Step 2: Delete CIFS1$ share before deleting QTREE
>vfiler run vfiler1 cifs share -delete cifs1$
Step 3: Go to Advanced mode
>priv set advanced
Step 4: Delete Qtree
>*vfiler run vfiler1 qtree delete "/vol/volume1/qtree1"
If above command give any error, go with force deleting qtree
>*vfiler run vfiler1 qtree delete -f "/vol/volume1/qtree1"
Here let's assume we are deleting qtree in volume1 which belongs to vfiler: vfiler1
Steps 1: Check if there are any CIFS shares related to qtree
>vfiler run vfiler1 cifs shares
cifs1$ /vol/volume1/qtree1
everyone / Full Control
Step 2: Delete CIFS1$ share before deleting QTREE
>vfiler run vfiler1 cifs share -delete cifs1$
Step 3: Go to Advanced mode
>priv set advanced
Step 4: Delete Qtree
>*vfiler run vfiler1 qtree delete "/vol/volume1/qtree1"
If above command give any error, go with force deleting qtree
>*vfiler run vfiler1 qtree delete -f "/vol/volume1/qtree1"
No comments:
Post a Comment