NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

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

GIREESHBABU
11,052 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
11,052 Views

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

😉

View solution in original post

5 REPLIES 5

scottgelb
11,052 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
11,052 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
11,053 Views

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

😉

scottgelb
11,052 Views

Excellent response... -v is a good one

GIREESHBABU
11,052 Views

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

Public