Odd behaviour with regards to reported free space
Dear All, This has happened more than once with both 4.2.3 and 5.0. The instances may not be related. In the first instance, usage was high (over 90%) and so users were encouraged to delete files. One user deleted a considerable number of files equal to around 10% of the total storage. Reported usage did not fall. There were not obviously any waiters. Has anyone seen anything similar? Regards Aaron Turner The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
No, we weren’t using snapshots. This is from a location I have just moved from so I can’t do any active investigation now, but I am curious. In the end we had a power outage and the system was fine on reboot. From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Luis Bolinches Sent: 18 February 2020 09:37 To: gpfsug-discuss@spectrumscale.org Cc: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Odd behaviour with regards to reported free space Hi Do you have snapshots? -- Ystävällisin terveisin / Kind regards / Saludos cordiales / Salutations / Salutacions Luis Bolinches Consultant IT Specialist Mobile Phone: +358503112585 https://www.youracclaim.com/user/luis-bolinches "If you always give you will always have" -- Anonymous ----- Original message ----- From: TURNER Aaron <aaron.turner@ed.ac.uk<mailto:aaron.turner@ed.ac.uk>> Sent by: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> To: "gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>" <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Cc: Subject: [EXTERNAL] [gpfsug-discuss] Odd behaviour with regards to reported free space Date: Tue, Feb 18, 2020 11:28 Dear All, This has happened more than once with both 4.2.3 and 5.0. The instances may not be related. In the first instance, usage was high (over 90%) and so users were encouraged to delete files. One user deleted a considerable number of files equal to around 10% of the total storage. Reported usage did not fall. There were not obviously any waiters. Has anyone seen anything similar? Regards Aaron Turner The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss Ellei edellä ole toisin mainittu: / Unless stated otherwise above: Oy IBM Finland Ab PL 265, 00101 Helsinki, Finland Business ID, Y-tunnus: 0195876-3 Registered in Finland
On Tue, 2020-02-18 at 09:28 +0000, TURNER Aaron wrote:
Dear All,
This has happened more than once with both 4.2.3 and 5.0. The instances may not be related.
In the first instance, usage was high (over 90%) and so users were encouraged to delete files. One user deleted a considerable number of files equal to around 10% of the total storage. Reported usage did not fall. There were not obviously any waiters. Has anyone seen anything similar?
I have seen similar behaviour a number of times. I my experience it is because a process somewhere has an open file handle on one or more files/directories. So you can delete the file and it goes from a directory listing; it's no long visible when you do ls. However the file has not actually gone, and will continue to count towards total file system usage, user/group/fileset quota's etc. Once the errant process is found and killed magically the space becomes free. I can be very confusing for end users, especially when what is holding onto the file is some random zombie process on another node that died last month. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Dear Jonathan, This is what I had assumed was the case. Since the system ended up with an enforced reboot before we had time for further investigation I wasn't able to confirm this.
I can be very confusing for end users, especially when what is holding onto the file is some random zombie process on another node that died last month.
Yes, that's very likely to have been the case. Regards Aaron Turner -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Jonathan Buzzard Sent: 18 February 2020 10:50 To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Odd behaviour with regards to reported free space On Tue, 2020-02-18 at 09:28 +0000, TURNER Aaron wrote:
Dear All,
This has happened more than once with both 4.2.3 and 5.0. The instances may not be related.
In the first instance, usage was high (over 90%) and so users were encouraged to delete files. One user deleted a considerable number of files equal to around 10% of the total storage. Reported usage did not fall. There were not obviously any waiters. Has anyone seen anything similar?
I have seen similar behaviour a number of times. I my experience it is because a process somewhere has an open file handle on one or more files/directories. So you can delete the file and it goes from a directory listing; it's no long visible when you do ls. However the file has not actually gone, and will continue to count towards total file system usage, user/group/fileset quota's etc. Once the errant process is found and killed magically the space becomes free. I can be very confusing for end users, especially when what is holding onto the file is some random zombie process on another node that died last month. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
Deleting a file is a two stage process. The original user thread unlinks the file from the directory and reduces the link count. If the count is zero and the file is not open, then it gets queued for the background deletion thread. The background thread then deletes the blocks and frees the space. If there is a snapshot, the data blocks may be captured and not actually freed. After a crash, the recovery code looks for files that were being deleted and restarts the deletion if necessary. -Wayne gpfsug-discuss-bounces@spectrumscale.org wrote on 02/18/2020 06:05:41 AM:
From: TURNER Aaron <aaron.turner@ed.ac.uk> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 02/18/2020 06:05 AM Subject: [EXTERNAL] Re: [gpfsug-discuss] Odd behaviour with regards to reported free space Sent by: gpfsug-discuss-bounces@spectrumscale.org
Dear Jonathan,
This is what I had assumed was the case. Since the system ended up with an enforced reboot before we had time for further investigation I wasn't able to confirm this.
I can be very confusing for end users, especially when what is holding onto the file is some random zombie process on another node that died last month.
Yes, that's very likely to have been the case.
Regards
Aaron Turner
-----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss- bounces@spectrumscale.org> On Behalf Of Jonathan Buzzard Sent: 18 February 2020 10:50 To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Odd behaviour with regards to reportedfree space
On Tue, 2020-02-18 at 09:28 +0000, TURNER Aaron wrote:
Dear All,
This has happened more than once with both 4.2.3 and 5.0. The instances may not be related.
In the first instance, usage was high (over 90%) and so users were encouraged to delete files. One user deleted a considerable number of files equal to around 10% of the total storage. Reported usage did not fall. There were not obviously any waiters. Has anyone seen anything similar?
I have seen similar behaviour a number of times.
I my experience it is because a process somewhere has an open file handle on one or more files/directories. So you can delete the file and it goes from a directory listing; it's no long visible when you do ls.
However the file has not actually gone, and will continue to count towards total file system usage, user/group/fileset quota's etc.
Once the errant process is found and killed magically the space becomes free.
I can be very confusing for end users, especially when what is holding onto the file is some random zombie process on another node that died last month.
JAB.
-- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?
u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=GtPIT10cORUM6qwFnTVtIiDUFmESkxW3I0wu8GDxmgc&m=QkF9KAzl1dxqONkEkh7ZLNsDYktsFHJCkI2oGi6qyHk&s=_Z-
E_VtMDAiXmR8oSZym4G9OIzxRhcs5rJxMEjxK1RI&e= The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?
u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=GtPIT10cORUM6qwFnTVtIiDUFmESkxW3I0wu8GDxmgc&m=QkF9KAzl1dxqONkEkh7ZLNsDYktsFHJCkI2oGi6qyHk&s=_Z-
E_VtMDAiXmR8oSZym4G9OIzxRhcs5rJxMEjxK1RI&e=
participants (4)
-
Jonathan Buzzard -
Luis Bolinches -
TURNER Aaron -
Wayne Sawdon
