Getting which files are store fully in inodes
Hello, to get the list (and size) of files that fit into inodes what I do, using a policy, is listing "online" (not evicted) files that have zero allocated KB. Is this correct or there could be some exception I'm missing ? Does it exists a smarter/faster way ? thanks, Alvise
I've been looking for a good way of listing this as well. Could you please share your policy ? -jf On Thu, Mar 28, 2019 at 1:52 PM Dorigo Alvise (PSI) <alvise.dorigo@psi.ch> wrote:
Hello, to get the list (and size) of files that fit into inodes what I do, using a policy, is listing "online" (not evicted) files that have zero allocated KB. Is this correct or there could be some exception I'm missing ? Does it exists a smarter/faster way ?
thanks,
Alvise _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
This will select files that have some data, but it must all be in the inode, because no (part of) any data block has been assigned ... WHERE KB_ALLOCATED=0 AND FILE_SIZE>0 From: Jan-Frode Myklebust <janfrode@tanso.net> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 03/28/2019 10:08 AM Subject: Re: [gpfsug-discuss] Getting which files are store fully in inodes Sent by: gpfsug-discuss-bounces@spectrumscale.org I've been looking for a good way of listing this as well. Could you please share your policy ? -jf On Thu, Mar 28, 2019 at 1:52 PM Dorigo Alvise (PSI) <alvise.dorigo@psi.ch> wrote: Hello, to get the list (and size) of files that fit into inodes what I do, using a policy, is listing "online" (not evicted) files that have zero allocated KB. Is this correct or there could be some exception I'm missing ? Does it exists a smarter/faster way ? thanks, Alvise _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
... WHERE KB_ALLOCATED=0 AND FILE_SIZE>0 Oh, if you are also working with an HSM or HSM-like manager that can migrate files -- then you might have to add some additional tests...
participants (4)
-
Dorigo Alvise (PSI) -
Jan-Frode Myklebust -
Marc A Kaplan -
Olaf Weiser
