Bad disk but not failed in DSS-G
So came to light because I was checking the mmbackup logs and found that we had not been getting any successful backups for several days and seeing lots of errors like this Wed Jun 19 21:45:28 2024 mmbackup:Error encountered in policy scan: [E] Error on gpfs_iopen([/gpfs/users/xxxyyyyy/.swr],68050746): Stale file handle Wed Jun 19 21:45:28 2024 mmbackup:Error encountered in policy scan: [E] Summary of errors:: _dirscan failures:3, _serious unclassified errors:3. After some digging around wondering what was going on I came across these being logged on one of the DSS-G nodes [Wed Jun 12 22:22:05 2024] blk_update_request: I/O error, dev sdbv, sector 9144672512 op 0x1:(WRITE) flags 0x700 phys_seg 17 prio class 0 Yikes looks like I have a failed disk/ However if I do [root@gpfs2 ~]# mmvdisk pdisk list --recovery-group all --not-ok mmvdisk: All pdisks are ok. Clearly that's a load of rubbish. After a lot more prodding [root@gpfs2 ~]# mmvdisk pdisk list --recovery-group dssg2 --pdisk e1d2s25 -L pdisk: replacementPriority = 1000 name = "e1d2s25" device = "//gpfs1/dev/sdft(notEnabled),//gpfs1/dev/sdfu(notEnabled),//gpfs2/dev/sdfb,//gpfs2/dev/sdbv" recoveryGroup = "dssg2" declusteredArray = "DA1" state = "ok" IOErrors = 444 IOTimeouts = 8958 mediaErrors = 15 What on earth gives? Why has the disk not been failed? It's not great that a clearly bad disk is allowed to stick around in the file system and cause problems IMHO. When I try and prepare the disk for removal I get [root@gpfs2 ~]# mmvdisk pdisk replace --prepare --rg dssg2 --pdisk e1d2s25 mmvdisk: Pdisk e1d2s25 of recovery group dssg2 is not currently scheduled for replacement. mmvdisk: mmvdisk: mmvdisk: Command failed. Examine previous error messages to determine cause. Do I have to use the --force option? I would like to get this disk out the file system ASAP. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
I think you are seeing two different errors. The backup is failing due to a stale file handle error which usually means the file system was unmounted while the file handle was open. The write error on the physical disk, may have contributed to the stale file handle but I doubt that is the case. As I understand a single IO error on a physical disk in an ESS (DSS) system will not cause the disk to be considered bad. This is likely why the system considers the disk to be ok. I suggest you track down the source of the stale file handle and correct that issue to see if your backups will then again be successful. Fred Fred Stock, Spectrum Scale Development Advocacy stockf@us.ibm.com<mailto:stockf@us.ibm.com> | 720-430-8821 From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> on behalf of Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> Date: Thursday, June 20, 2024 at 4:16 PM To: gpfsug-discuss@gpfsug.org <gpfsug-discuss@gpfsug.org> Subject: [EXTERNAL] [gpfsug-discuss] Bad disk but not failed in DSS-G So came to light because I was checking the mmbackup logs and found that we had not been getting any successful backups for several days and seeing lots of errors like this Wed Jun 19 21:45:28 2024 mmbackup:Error encountered in policy scan: [E] Error on gpfs_iopen([/gpfs/users/xxxyyyyy/.swr],68050746): Stale file handle Wed Jun 19 21:45:28 2024 mmbackup:Error encountered in policy scan: [E] Summary of errors:: _dirscan failures:3, _serious unclassified errors:3. After some digging around wondering what was going on I came across these being logged on one of the DSS-G nodes [Wed Jun 12 22:22:05 2024] blk_update_request: I/O error, dev sdbv, sector 9144672512 op 0x1:(WRITE) flags 0x700 phys_seg 17 prio class 0 Yikes looks like I have a failed disk/ However if I do [root@gpfs2 ~]# mmvdisk pdisk list --recovery-group all --not-ok mmvdisk: All pdisks are ok. Clearly that's a load of rubbish. After a lot more prodding [root@gpfs2 ~]# mmvdisk pdisk list --recovery-group dssg2 --pdisk e1d2s25 -L pdisk: replacementPriority = 1000 name = "e1d2s25" device = "//gpfs1/dev/sdft(notEnabled),//gpfs1/dev/sdfu(notEnabled),//gpfs2/dev/sdfb,//gpfs2/dev/sdbv" recoveryGroup = "dssg2" declusteredArray = "DA1" state = "ok" IOErrors = 444 IOTimeouts = 8958 mediaErrors = 15 What on earth gives? Why has the disk not been failed? It's not great that a clearly bad disk is allowed to stick around in the file system and cause problems IMHO. When I try and prepare the disk for removal I get [root@gpfs2 ~]# mmvdisk pdisk replace --prepare --rg dssg2 --pdisk e1d2s25 mmvdisk: Pdisk e1d2s25 of recovery group dssg2 is not currently scheduled for replacement. mmvdisk: mmvdisk: mmvdisk: Command failed. Examine previous error messages to determine cause. Do I have to use the --force option? I would like to get this disk out the file system ASAP. 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 gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
Fred is most probably correct here. the two errors are not necessarily the same. i would guess that looking at # mmlsreoverygroupevents dssg2 or # mmvdisk recoverygroup list --recovery-group dssg2 --events you would see e1d2s25 multiple times, changing its state from ok to diagnosing, and back to ok If you feel this is recurring too often (and i tend to agree, given the number of IOErrors, you can always '--simulate-failing' this pdisk , and replace it # mmvdisk pdisk change --recovery-group dssg2 --pdisk e1d2s25 --simulate-failing -- Mit freundlichen Grüßen / Kind regards Achim Rehor Technical Support Specialist Spectrum Scale and ESS (SME) Advisory Product Services Professional IBM Systems Storage Support - EMEA Achim.Rehor@de.ibm.com +49-170-4521194 IBM Deutschland GmbH Vorsitzender des Aufsichtsrats: Sebastian Krause Geschäftsführung: Gregor Pillen (Vorsitzender), Nicole Reimer, Gabriele Schwarenthorer, Christine Rupp, Frank Theisen Sitz der Gesellschaft: Ehningen / Registergericht: AmtsgerichtStuttgart, HRB 14562 / WEEE-Reg.-Nr. DE 99369940 -----Original Message----- From: Fred Stock <stockf@us.ibm.com> Reply-To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org> To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org> Subject: [EXTERNAL] Re: [gpfsug-discuss] Bad disk but not failed in DSS-G Date: Thu, 20 Jun 2024 21:02:43 +0000 I think you are seeing two different errors. The backup is failing due to a stale file handle error which usually means the file system was unmounted while the file handle was open. The write error on the physical disk, may have contributed #pfptBannerqlqwaj3 { all: revert !important; display: block !important; visibility: visible !important; opacity: 1 !important; background-color: #D0D8DC !important; max-width: none !important; max-height: none !important } .pfptPrimaryButtonqlqwaj3:hover, .pfptPrimaryButtonqlqwaj3:focus { background-color: #b4c1c7 !important; } .pfptPrimaryButtonqlqwaj3:active { background-color: #90a4ae !important; }<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Aptos; panose-1:2 11 0 4 2 2 2 2 2 4;} @font-face {font-family:"Times New Roman \(Body CS\)"; panose-1:2 11 6 4 2 2 2 2 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; font-size:12.0pt; font-family:"Aptos",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Arial",sans-serif; color:windowtext; font-weight:normal; font-style:normal;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt; mso-ligatures:none;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --> I think you are seeing two different errors. The backup is failing due to a stale file handle error which usually means the file system was unmounted while the file handle was open. The write error on the physical disk, may have contributed to the stale file handle but I doubt that is the case. As I understand a single IO error on a physical disk in an ESS (DSS) system will not cause the disk to be considered bad. This is likely why the system considers the disk to be ok. I suggest you track down the source of the stale file handle and correct that issue to see if your backups will then again be successful. Fred Fred Stock, Spectrum Scale Development Advocacy stockf@us.ibm.com | 720-430-8821 From:gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> on behalf of Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> Date: Thursday, June 20, 2024 at 4:16 PM To: gpfsug-discuss@gpfsug.org <gpfsug-discuss@gpfsug.org> Subject: [EXTERNAL] [gpfsug-discuss] Bad disk but not failed in DSS-G So came to light because I was checking the mmbackup logs and found that we had not been getting any successful backups for several days and seeing lots of errors like this Wed Jun 19 21:45:28 2024 mmbackup:Error encountered in policy scan: [E] Error on gpfs_iopen([/gpfs/users/xxxyyyyy/.swr],68050746): Stale file handle Wed Jun 19 21:45:28 2024 mmbackup:Error encountered in policy scan: [E] Summary of errors:: _dirscan failures:3, _serious unclassified errors:3. After some digging around wondering what was going on I came across these being logged on one of the DSS-G nodes [Wed Jun 12 22:22:05 2024] blk_update_request: I/O error, dev sdbv, sector 9144672512 op 0x1:(WRITE) flags 0x700 phys_seg 17 prio class 0 Yikes looks like I have a failed disk/ However if I do [root@gpfs2 ~]# mmvdisk pdisk list --recovery-group all --not-ok mmvdisk: All pdisks are ok. Clearly that's a load of rubbish. After a lot more prodding [root@gpfs2 ~]# mmvdisk pdisk list --recovery-group dssg2 --pdisk e1d2s25 -L pdisk: replacementPriority = 1000 name = "e1d2s25" device = "//gpfs1/dev/sdft(notEnabled),//gpfs1/dev/sdfu(notEnabled),//gpfs2/dev/sdfb,//gpfs2/dev/sdbv" recoveryGroup = "dssg2" declusteredArray = "DA1" state = "ok" IOErrors = 444 IOTimeouts = 8958 mediaErrors = 15 What on earth gives? Why has the disk not been failed? It's not great that a clearly bad disk is allowed to stick around in the file system and cause problems IMHO. When I try and prepare the disk for removal I get [root@gpfs2 ~]# mmvdisk pdisk replace --prepare --rg dssg2 --pdisk e1d2s25 mmvdisk: Pdisk e1d2s25 of recovery group dssg2 is not currently scheduled for replacement. mmvdisk: mmvdisk: mmvdisk: Command failed. Examine previous error messages to determine cause. Do I have to use the --force option? I would like to get this disk out the file system ASAP. JAB. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
On 20/06/2024 23:32, Achim Rehor wrote: [SNIP]
Fred is most probably correct here. the two errors are not necessarily the same.
Turns out Fred was incorrect and having pushed the bad disk out the file system the backups magically started working again. Not that, that should come as the slightest surprise to anyone. However finding I have a bad disk because the backups are failing is not good at all because it means I can't rely on GPFS's health monitoring to accurately report the state of the file system :-( It also begs the question with hundreds of I/O errors on a disk why was it not failed by GPFS? What criteria does GPFS use for deciding if a disk is bad as clearly they are not accurate. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
well ... not necessarily 😄 but on the disk ... just as i expected ... taking it out helps a lot. Now on taking it out automatically when raising too many errors was a discussion i had several times with the GNR development. The issue really is .. I/O errors on disks (as seen in the mmlsrecoverygroupevent logs) can be due to several issues (the disk itself, the expander, the IOM, the adapter, the cable ... ) in case of a more general part serving like 5 or more pdisks, that would risk the FT , if we took them out automatically. Thus ... we dont do that .. The idea is to improve the disk hospital more and more, so that the decision to switch a disk back to OK is more accurate, over time. Until then .. it might always be a good idea to scan the event log for pdisk errors ... -- Mit freundlichen Grüßen / Kind regards Achim Rehor -----Original Message----- From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk<mailto:Jonathan%20Buzzard%20%3cjonathan.buzzard@strath.ac.uk%3e>> Reply-To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org<mailto:gpfsug%20main%20discussion%20list%20%3cgpfsug-discuss@gpfsug.org%3e>> To: gpfsug-discuss@gpfsug.org<mailto:gpfsug-discuss@gpfsug.org> Subject: [EXTERNAL] Re: [gpfsug-discuss] Bad disk but not failed in DSS-G Date: Mon, 24 Jun 2024 10:41:50 +0100 On 20/06/2024 23:32, Achim Rehor wrote: [SNIP] Fred is most probably correct here. the two errors are not necessarily the same. Turns out Fred was incorrect and having pushed the bad disk out the file system the backups magically started working again. Not that, that should come as the slightest surprise to anyone. However finding I have a bad disk because the backups are failing is not good at all because it means I can't rely on GPFS's health monitoring to accurately report the state of the file system :-( It also begs the question with hundreds of I/O errors on a disk why was it not failed by GPFS? What criteria does GPFS use for deciding if a disk is bad as clearly they are not accurate. JAB.
On 24/06/2024 13:16, Achim Rehor wrote:
CAUTION: This email originated outside the University. Check before clicking links or attachments. well ... not necessarily 😄 but on the disk ... just as i expected ... taking it out helps a lot.
Now on taking it out automatically when raising too many errors was a discussion i had several times with the GNR development. The issue really is .. I/O errors on disks (as seen in the mmlsrecoverygroupevent logs) can be due to several issues (the disk itself, the expander, the IOM, the adapter, the cable ... ) in case of a more general part serving like 5 or more pdisks, that would risk the FT , if we took them out automatically. Thus ... we dont do that ..
When smartctl for the disk says Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 33839 32 0 0 137434.705 32 write: 0 36 0 0 0 178408.893 0 Non-medium error count: 0 A disk with 32 read errors in smartctl is fubar, no ifs no buts. Whatever the balance in ejecting bad disks is, IMHO currently it's in the wrong place because it failed to eject an actual bad disk. At an absolute bare minimum mmhealth should be not be saying everything is fine and dandy because clearly it was not. That's the bigger issue. I can live with them not been taken out automatically, it is unacceptable that mmhealth was giving false and inaccurate information about the state of the filesystem. Had it even just changed something to a "degraded" state the problems could have been picked up much much sooner. Presumably the disk category was still good because the vdisk's where theoretically good. I suggest renaming that to VDISK to more accurately reflect what it is about and add a PDISK category. Then when a pdisk starts showing IO errors you can increment the number of disks in a degraded state and it can be picked up without end users having to roll their own monitoring.
The idea is to improve the disk hospital more and more, so that the decision to switch a disk back to OK is more accurate, over time.
Until then .. it might always be a good idea to scan the event log for pdisk errors ...
That is my conclusion, that mmhealth is as useful as a chocolate teapot because you can't rely on it to provide correct information and I need to do my own health monitoring of the system. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Have you opened a ticket with Lenovo and/or IBM about this? If there is a genuine bug here (and it seems there might be), that's the way to get it fixed. Generally find the disk hospital very reliable and it takes disks out of "rotation" (pun intended) for slow performance long before they cause any problems, but have yet to see it the other way round - although if it's not reporting things we could be missing them... Cheers, Luke -- Luke Sudbery Principal Engineer (HPC and Storage). Architecture, Infrastructure and Systems Advanced Research Computing, IT Services Room 132, Computer Centre G5, Elms Road Please note I don’t work on Monday. -----Original Message----- From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> On Behalf Of Jonathan Buzzard Sent: Monday, June 24, 2024 1:52 PM To: Achim Rehor <Achim.Rehor@de.ibm.com>; gpfsug-discuss@gpfsug.org Subject: Re: [gpfsug-discuss] Bad disk but not failed in DSS-G CAUTION: This email originated from outside the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe. On 24/06/2024 13:16, Achim Rehor wrote:
CAUTION: This email originated outside the University. Check before clicking links or attachments. well ... not necessarily 😄 but on the disk ... just as i expected ... taking it out helps a lot.
Now on taking it out automatically when raising too many errors was a discussion i had several times with the GNR development. The issue really is .. I/O errors on disks (as seen in the mmlsrecoverygroupevent logs) can be due to several issues (the disk itself, the expander, the IOM, the adapter, the cable ... ) in case of a more general part serving like 5 or more pdisks, that would risk the FT , if we took them out automatically. Thus ... we dont do that ..
When smartctl for the disk says Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 33839 32 0 0 137434.705 32 write: 0 36 0 0 0 178408.893 0 Non-medium error count: 0 A disk with 32 read errors in smartctl is fubar, no ifs no buts. Whatever the balance in ejecting bad disks is, IMHO currently it's in the wrong place because it failed to eject an actual bad disk. At an absolute bare minimum mmhealth should be not be saying everything is fine and dandy because clearly it was not. That's the bigger issue. I can live with them not been taken out automatically, it is unacceptable that mmhealth was giving false and inaccurate information about the state of the filesystem. Had it even just changed something to a "degraded" state the problems could have been picked up much much sooner. Presumably the disk category was still good because the vdisk's where theoretically good. I suggest renaming that to VDISK to more accurately reflect what it is about and add a PDISK category. Then when a pdisk starts showing IO errors you can increment the number of disks in a degraded state and it can be picked up without end users having to roll their own monitoring.
The idea is to improve the disk hospital more and more, so that the decision to switch a disk back to OK is more accurate, over time.
Until then .. it might always be a good idea to scan the event log for pdisk errors ...
That is my conclusion, that mmhealth is as useful as a chocolate teapot because you can't rely on it to provide correct information and I need to do my own health monitoring of the system. 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 gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
This is not common in my experience; I wouldn’t worry about it that much. We have 5 of these things currently between GSS and DSS-G, from GPFS 4.1.0-8 to 5.1.8-2 and have only seen a similar situation once. Ours fail disks all the time before we even notice anything is wrong. But do report it as a bug. What’s the hardware on this thing? Sent from my iPhone
On Jun 24, 2024, at 08:53, Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> wrote:
On 24/06/2024 13:16, Achim Rehor wrote:
CAUTION: This email originated outside the University. Check before clicking links or attachments. well ... not necessarily 😄 but on the disk ... just as i expected ... taking it out helps a lot. Now on taking it out automatically when raising too many errors was a discussion i had several times with the GNR development. The issue really is .. I/O errors on disks (as seen in the mmlsrecoverygroupevent logs) can be due to several issues (the disk itself, the expander, the IOM, the adapter, the cable ... ) in case of a more general part serving like 5 or more pdisks, that would risk the FT , if we took them out automatically. Thus ... we dont do that ..
When smartctl for the disk says
Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 33839 32 0 0 137434.705 32 write: 0 36 0 0 0 178408.893 0
Non-medium error count: 0
A disk with 32 read errors in smartctl is fubar, no ifs no buts. Whatever the balance in ejecting bad disks is, IMHO currently it's in the wrong place because it failed to eject an actual bad disk.
At an absolute bare minimum mmhealth should be not be saying everything is fine and dandy because clearly it was not. That's the bigger issue. I can live with them not been taken out automatically, it is unacceptable that mmhealth was giving false and inaccurate information about the state of the filesystem. Had it even just changed something to a "degraded" state the problems could have been picked up much much sooner.
Presumably the disk category was still good because the vdisk's where theoretically good. I suggest renaming that to VDISK to more accurately reflect what it is about and add a PDISK category. Then when a pdisk starts showing IO errors you can increment the number of disks in a degraded state and it can be picked up without end users having to roll their own monitoring.
The idea is to improve the disk hospital more and more, so that the decision to switch a disk back to OK is more accurate, over time. Until then .. it might always be a good idea to scan the event log for pdisk errors ...
That is my conclusion, that mmhealth is as useful as a chocolate teapot because you can't rely on it to provide correct information and I need to do my own health monitoring of the system.
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 gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
On Jun 24, 2024, at 05:41, Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> wrote: On 20/06/2024 23:32, Achim Rehor wrote: [SNIP] Fred is most probably correct here. the two errors are not necessarily the same. Turns out Fred was incorrect and having pushed the bad disk out the file system the backups magically started working again. Not that, that should come as the slightest surprise to anyone. Not saying it’s impossible but I strongly suspect that that is a coincidence, or your drive was causing enough problems that somehow it was also affecting the storage server’s ability to respond to a client or something. I’ve never once seen any sort of media errors making it all the way to a filesystem issue. -- #BlackLivesMatter ____ || \\UTGERS, |---------------------------*O*--------------------------- ||_// the State | Ryan Novosielski - novosirj@rutgers.edu || \\ University | Sr. Technologist - 973/972.0922 (2x0922) ~*~ RBHS Campus || \\ of NJ | Office of Advanced Research Computing - MSB A555B, Newark `'
On 20/06/2024 22:02, Fred Stock wrote:
I think you are seeing two different errors. The backup is failing due to a stale file handle error which usually means the file system was unmounted while the file handle was open. The write error on the physical disk, may have contributed to the stale file handle but I doubt that is the case. As I understand a single IO error on a physical disk in an ESS (DSS) system will not cause the disk to be considered bad. This is likely why the system considers the disk to be ok. I suggest you track down the source of the stale file handle and correct that issue to see if your backups will then again be successful.
There is a *lot* more than a single IO error on the physical disk, the output of mmvdisk pdisk list for the disk shows IOErrors = 444 IOTimeouts = 8958 mediaErrors = 15 And the output of dmesg shows loads of errors. I have not attempted to count them but it is again a *lot* more than a single IO error. That disk should have been kicked out the file system and the fact that it has not is a bug IMHO. Anyone who thinks that is "normal" and not "failed" is as high as a kite. Also mmbackup has now failed for three days in a row with different stale file handles building the change lists, making this is an on going issue. So can I safely use the --force to get this dodgy disk out the file system? It is the *only* disk in the system showing IO errors so almost certainly the cause of the problems. Unless you are aware of some Linux kernel bug that causes otherwise healthy disks in an enclosure to start having problems. I guess there is an outside chance there could be an issue with the enclosure but really you start with the disk. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Just curious what is output of 'mmlspdisk all --not-ok'? Regards, Larry Henson MD Anderson Cancer Center IT Engineering Storage Team Cell (713) 702-4896 -----Original Message----- From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> On Behalf Of Jonathan Buzzard Sent: Thursday, June 20, 2024 5:35 PM To: gpfsug-discuss@gpfsug.org Subject: [EXTERNAL] Re: [gpfsug-discuss] Bad disk but not failed in DSS-G SLOW DOWN! - EXTERNAL SENDER: gpfsug-discuss-bounces@gpfsug.org Be suspicious of tone, urgency, and formatting. Do not click/open links or attachments on a mobile device. Wait until you are at a computer to confirm you are absolutely certain it is a trusted source. If you are at all uncertain use the Report Phish button and our Cybersecurity team will investigate. On 20/06/2024 22:02, Fred Stock wrote:
I think you are seeing two different errors. The backup is failing due to a stale file handle error which usually means the file system was unmounted while the file handle was open. The write error on the physical disk, may have contributed to the stale file handle but I doubt that is the case. As I understand a single IO error on a physical disk in an ESS (DSS) system will not cause the disk to be considered bad. This is likely why the system considers the disk to be ok. I suggest you track down the source of the stale file handle and correct that issue to see if your backups will then again be successful.
There is a *lot* more than a single IO error on the physical disk, the output of mmvdisk pdisk list for the disk shows IOErrors = 444 IOTimeouts = 8958 mediaErrors = 15 And the output of dmesg shows loads of errors. I have not attempted to count them but it is again a *lot* more than a single IO error. That disk should have been kicked out the file system and the fact that it has not is a bug IMHO. Anyone who thinks that is "normal" and not "failed" is as high as a kite. Also mmbackup has now failed for three days in a row with different stale file handles building the change lists, making this is an on going issue. So can I safely use the --force to get this dodgy disk out the file system? It is the *only* disk in the system showing IO errors so almost certainly the cause of the problems. Unless you are aware of some Linux kernel bug that causes otherwise healthy disks in an enclosure to start having problems. I guess there is an outside chance there could be an issue with the enclosure but really you start with the disk. 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 gpfsug.org https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug-discus... The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.
The disk hospital sometimes might be a bit too conservative - or not enough in this case. What is the SMART status of this drive? Does mmhealth report anything different than the mmvdisk or mmlspdisk commands? In DSS-G the health monitor (dssghealthmon) and diskIOHang (dssgdiskIOHang) systems may help detect such a problem, the first by polling multiple metrics at regular time interval (for drives, mostly around mmlspdisk), the second by power cycling a hung drive (as signaled by the GNR diskIOHang callback, which in this case might not get triggered though). In recent DSS-G releases, checking drives is complemented by a SMART overall health status that does help detect faulty drives. Regarding the error from mmvdisk to prepare for drive replacement, and provided the drive is clearly at fault and may already be unreachable anymore, then I would definitely force remove it. That cannot be worse than keeping a bad drive that is still erroneously considered healthy. HTH -- Nicolas Calimet, PhD | HPC System Architect | Lenovo ISG | Meitnerstrasse 9, D-70563 Stuttgart, Germany | +49 71165690146 | https://www.lenovo.com/dssg -----Original Message----- From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> On Behalf Of Jonathan Buzzard Sent: Friday, June 21, 2024 00:35 To: gpfsug-discuss@gpfsug.org Subject: [External] Re: [gpfsug-discuss] Bad disk but not failed in DSS-G On 20/06/2024 22:02, Fred Stock wrote:
I think you are seeing two different errors. The backup is failing due to a stale file handle error which usually means the file system was unmounted while the file handle was open. The write error on the physical disk, may have contributed to the stale file handle but I doubt that is the case. As I understand a single IO error on a physical disk in an ESS (DSS) system will not cause the disk to be considered bad. This is likely why the system considers the disk to be ok. I suggest you track down the source of the stale file handle and correct that issue to see if your backups will then again be successful.
There is a *lot* more than a single IO error on the physical disk, the output of mmvdisk pdisk list for the disk shows IOErrors = 444 IOTimeouts = 8958 mediaErrors = 15 And the output of dmesg shows loads of errors. I have not attempted to count them but it is again a *lot* more than a single IO error. That disk should have been kicked out the file system and the fact that it has not is a bug IMHO. Anyone who thinks that is "normal" and not "failed" is as high as a kite. Also mmbackup has now failed for three days in a row with different stale file handles building the change lists, making this is an on going issue. So can I safely use the --force to get this dodgy disk out the file system? It is the *only* disk in the system showing IO errors so almost certainly the cause of the problems. Unless you are aware of some Linux kernel bug that causes otherwise healthy disks in an enclosure to start having problems. I guess there is an outside chance there could be an issue with the enclosure but really you start with the disk. 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 gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
Hi JAB, You have to run "... change --simulate-dead" or "... --simulate- failing" to get the disk out of the system. Afterwards you can start replacement procedure. mmvdisk pdisk change --recovery-group dssg2 --pdisk e1d2s25 --simulate- dead Kind regards Timm Stamer Am Donnerstag, dem 20.06.2024 um 21:14 +0100 schrieb Jonathan Buzzard:
So came to light because I was checking the mmbackup logs and found that we had not been getting any successful backups for several days and seeing lots of errors like this
Wed Jun 19 21:45:28 2024 mmbackup:Error encountered in policy scan: [E] Error on gpfs_iopen([/gpfs/users/xxxyyyyy/.swr],68050746): Stale file handle Wed Jun 19 21:45:28 2024 mmbackup:Error encountered in policy scan: [E] Summary of errors:: _dirscan failures:3, _serious unclassified errors:3.
After some digging around wondering what was going on I came across these being logged on one of the DSS-G nodes
[Wed Jun 12 22:22:05 2024] blk_update_request: I/O error, dev sdbv, sector 9144672512 op 0x1:(WRITE) flags 0x700 phys_seg 17 prio class 0
Yikes looks like I have a failed disk/ However if I do
[root@gpfs2 ~]# mmvdisk pdisk list --recovery-group all --not-ok mmvdisk: All pdisks are ok.
Clearly that's a load of rubbish.
After a lot more prodding
[root@gpfs2 ~]# mmvdisk pdisk list --recovery-group dssg2 --pdisk e1d2s25 -L pdisk: replacementPriority = 1000 name = "e1d2s25" device = "//gpfs1/dev/sdft(notEnabled),//gpfs1/dev/sdfu(notEnabled),//gpfs2/de v/sdfb,//gpfs2/dev/sdbv" recoveryGroup = "dssg2" declusteredArray = "DA1" state = "ok" IOErrors = 444 IOTimeouts = 8958 mediaErrors = 15
What on earth gives? Why has the disk not been failed? It's not great that a clearly bad disk is allowed to stick around in the file system and cause problems IMHO.
When I try and prepare the disk for removal I get
[root@gpfs2 ~]# mmvdisk pdisk replace --prepare --rg dssg2 --pdisk e1d2s25 mmvdisk: Pdisk e1d2s25 of recovery group dssg2 is not currently scheduled for replacement. mmvdisk: mmvdisk: mmvdisk: Command failed. Examine previous error messages to determine cause.
Do I have to use the --force option? I would like to get this disk out the file system ASAP.
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 gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
participants (8)
-
Achim Rehor -
Fred Stock -
Henson Jr.,Larry J -
Jonathan Buzzard -
Luke Sudbery -
Nicolas CALIMET -
Ryan Novosielski -
Timm Stamer
