Subscribe
Accepted Solution

Is there anyway to find which vfiler is using a particular volume?

Hi All,

Is there anyway to find which vfiler is using a particular volume.If I  know vfiler name then I can find the resources used by that particular vfiler by running  vfiler status -r  command likewise if I have the volume name how to find the vfiler,which uses that particular volume?

Is there anyway to find which vfiler is using a particular volume?

From the vol status there is no way since vfiler0 can see all volumes for backup, mirroring, vaulting, etc.  vfiler status -a or -r will show from the vfiler view.  You could also run "vfiler run * vol status" and get a volume listing for all vfilers including vfiler0, then parse the output.

Is there anyway to find which vfiler is using a particular volume?

Hi you could also switch to the vfiler context for the named vfiler running.. ie "vfiler context XXXXX" and run a vol status.. although this could be a time consuming process if you had a number to check.

Martin

Is there anyway to find which vfiler is using a particular volume?

'qtree status -v <vol_name>'  is your friend...

;-)

Is there anyway to find which vfiler is using a particular volume?

Excellent response... -v is a good one

Is there anyway to find which vfiler is using a particular volume?

'qtree status -v <vol_name>' worked for me .Thank you.