[gpfsug-discuss] Can you query which NSDs a given file resides on?

Buterbaugh, Kevin L Kevin.Buterbaugh at Vanderbilt.Edu
Fri Jun 17 16:21:48 BST 2016


Hi Jamie,

The much longer e-mail I just sent to the list will explain the background behind all this, but to answer your question I actually only needed to know which storage pool the file resided in.  Obviously, if I know which NSDs it resides on that would tell me the storage pool.  Thanks…

Kevin

On Jun 17, 2016, at 10:04 AM, James Davis <jamiedavis at us.ibm.com<mailto:jamiedavis at us.ibm.com>> wrote:

Hi Kevin,

It looks like you can use mmlsattr to query the storage pool the file resides on.
Is that all you needed to know, or did you need the specific disks on which it resides?
If you're looking for the specific disks, how are you using the mmlsattr command to accomplish that?

Jamie

Jamie Davis
GPFS Functional Verification Test (FVT)
jamiedavis at us.ibm.com<mailto:jamiedavis at us.ibm.com>


----- Original message -----
From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh at Vanderbilt.Edu<mailto:Kevin.Buterbaugh at vanderbilt.edu>>
Sent by: gpfsug-discuss-bounces at spectrumscale.org<mailto:gpfsug-discuss-bounces at spectrumscale.org>
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org<mailto:gpfsug-discuss at spectrumscale.org>>
Cc:
Subject: Re: [gpfsug-discuss] Can you query which NSDs a given file resides on?
Date: Fri, Jun 17, 2016 10:36 AM

Hi All,

And, of course, within 5 minutes of sending that e-mail I found the “mmlsattr” command, which does what I need and which didn’t show up in my Google search results.

I apologize for the noise…

Kevin

On Jun 17, 2016, at 9:29 AM, Buterbaugh, Kevin L <Kevin.Buterbaugh at Vanderbilt.Edu<mailto:Kevin.Buterbaugh at vanderbilt.edu>> wrote:

Hi All,

I am aware that with the mmfileid command I can determine which files have blocks on a given NSD.  But is there a way to query a particular file to see which NSD(s) is has blocks on?  Thanks in advance…

Kevin

—
Kevin Buterbaugh - Senior System Administrator
Vanderbilt University - Advanced Computing Center for Research and Education
Kevin.Buterbaugh at vanderbilt.edu<mailto:Kevin.Buterbaugh at vanderbilt.edu> - (615)875-9633

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org<http://spectrumscale.org/>
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

—
Kevin Buterbaugh - Senior System Administrator
Vanderbilt University - Advanced Computing Center for Research and Education
Kevin.Buterbaugh at vanderbilt.edu<mailto:Kevin.Buterbaugh at vanderbilt.edu> - (615)875-9633

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org<http://spectrumscale.org>
http://gpfsug.org/mailman/listinfo/gpfsug-discuss


_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org<http://spectrumscale.org>
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

—
Kevin Buterbaugh - Senior System Administrator
Vanderbilt University - Advanced Computing Center for Research and Education
Kevin.Buterbaugh at vanderbilt.edu<mailto:Kevin.Buterbaugh at vanderbilt.edu> - (615)875-9633



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20160617/81b4f092/attachment-0001.htm>


More information about the gpfsug-discuss mailing list