ONTAP Discussions

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

GIREESHBABU
9,807 Views

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?

1 ACCEPTED SOLUTION

shaunjurr
9,807 Views

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

😉

View solution in original post

5 REPLIES 5

scottgelb
9,807 Views

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.

martin_fisher
9,807 Views

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

shaunjurr
9,808 Views

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

😉

scottgelb
9,807 Views

Excellent response... -v is a good one

GIREESHBABU
9,807 Views

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

Public