* Ask help on an issue 'XFS (sd*): discard failed for extent, error 5'
@ 2015-09-01 3:55 Jevon Qiao
2015-09-01 4:28 ` Eric Sandeen
0 siblings, 1 reply; 4+ messages in thread
From: Jevon Qiao @ 2015-09-01 3:55 UTC (permalink / raw)
To: xfs
[-- Attachment #1.1: Type: text/plain, Size: 1148 bytes --]
Hi All,
Currently, I notice that there are lot's of errors written in the
/var/log/messages file.
2015-08-29T23:58:54.477236+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
2015-08-29T23:58:54.477255+00:00 server-68 kernel: Result:
hostbyte=DID_OK driverbyte=DRIVER_SENSE
2015-08-29T23:58:54.477256+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
2015-08-29T23:58:54.477257+00:00 server-68 kernel: Sense Key :
Illegal Request [current]
2015-08-29T23:58:54.477258+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
2015-08-29T23:58:54.477259+00:00 server-68 kernel: Add. Sense:
Invalid field in parameter list
2015-08-29T23:58:54.477260+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
CDB:
2015-08-29T23:58:54.477261+00:00 server-68 kernel: Unmap/Read
sub-channel: 42 00 00 00 00 00 00 00 18 00
2015-08-29T23:58:54.477263+00:00 server-68 kernel: end_request:
critical target error, dev sdc, sector 325046824
2015-08-29T23:58:54.477268+00:00 server-68 kernel: XFS (sdc2):
discard failed for extent [0x64815,2021], error 5
Has anyone encountered the same issue before? How can you solve it?
Thanks,
Jevon
[-- Attachment #1.2: Type: text/html, Size: 1484 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ask help on an issue 'XFS (sd*): discard failed for extent, error 5'
2015-09-01 3:55 Ask help on an issue 'XFS (sd*): discard failed for extent, error 5' Jevon Qiao
@ 2015-09-01 4:28 ` Eric Sandeen
[not found] ` <55E53C84.1040606@unitedstack.com>
0 siblings, 1 reply; 4+ messages in thread
From: Eric Sandeen @ 2015-09-01 4:28 UTC (permalink / raw)
To: Jevon Qiao, xfs
On 8/31/15 10:55 PM, Jevon Qiao wrote:
> Hi All,
>
> Currently, I notice that there are lot's of errors written in the /var/log/messages file.
>
> 2015-08-29T23:58:54.477236+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
> 2015-08-29T23:58:54.477255+00:00 server-68 kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
> 2015-08-29T23:58:54.477256+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
> 2015-08-29T23:58:54.477257+00:00 server-68 kernel: Sense Key : Illegal Request [current]
> 2015-08-29T23:58:54.477258+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
> 2015-08-29T23:58:54.477259+00:00 server-68 kernel: Add. Sense: Invalid field in parameter list
> 2015-08-29T23:58:54.477260+00:00 server-68 kernel: sd 0:0:4:0: [sdc] CDB:
> 2015-08-29T23:58:54.477261+00:00 server-68 kernel: Unmap/Read sub-channel: 42 00 00 00 00 00 00 00 18 00
> 2015-08-29T23:58:54.477263+00:00 server-68 kernel: end_request: critical target error, dev sdc, sector 325046824
> 2015-08-29T23:58:54.477268+00:00 server-68 kernel: XFS (sdc2): discard failed for extent [0x64815,2021], error 5
>
> Has anyone encountered the same issue before? How can you solve it?
Looks like xfs is simply reacting to errors from the storage; I'd try to get
to the bottom of why you're getting all those scsi errors.
But probably not on the xfs list. :)
-Eric
> Thanks,
> Jevon
>
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ask help on an issue 'XFS (sd*): discard failed for extent, error 5'
[not found] ` <55E53C84.1040606@unitedstack.com>
@ 2015-09-01 12:24 ` Eric Sandeen
2015-09-02 1:33 ` Jevon Qiao
0 siblings, 1 reply; 4+ messages in thread
From: Eric Sandeen @ 2015-09-01 12:24 UTC (permalink / raw)
To: Jevon Qiao, xfs-oss
On 9/1/15 12:49 AM, Jevon Qiao wrote:
> Hi Eric
>
> Thank you very much for the prompt response.
> On 1/9/15 12:28, Eric Sandeen wrote:
>> On 8/31/15 10:55 PM, Jevon Qiao wrote:
>>> Hi All,
>>>
>>> Currently, I notice that there are lot's of errors written in the /var/log/messages file.
>>>
>>> 2015-08-29T23:58:54.477236+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
>>> 2015-08-29T23:58:54.477255+00:00 server-68 kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
>>> 2015-08-29T23:58:54.477256+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
>>> 2015-08-29T23:58:54.477257+00:00 server-68 kernel: Sense Key : Illegal Request [current]
>>> 2015-08-29T23:58:54.477258+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
>>> 2015-08-29T23:58:54.477259+00:00 server-68 kernel: Add. Sense: Invalid field in parameter list
>>> 2015-08-29T23:58:54.477260+00:00 server-68 kernel: sd 0:0:4:0: [sdc] CDB:
>>> 2015-08-29T23:58:54.477261+00:00 server-68 kernel: Unmap/Read sub-channel: 42 00 00 00 00 00 00 00 18 00
>>> 2015-08-29T23:58:54.477263+00:00 server-68 kernel: end_request: critical target error, dev sdc, sector 325046824
>>> 2015-08-29T23:58:54.477268+00:00 server-68 kernel: XFS (sdc2): discard failed for extent [0x64815,2021], error 5
>>>
>>> Has anyone encountered the same issue before? How can you solve it?
>> Looks like xfs is simply reacting to errors from the storage; I'd try to get
>> to the bottom of why you're getting all those scsi errors.
> I just want to understand the meaning of 'XFS (sdc2): discard failed
> for extent [0x64815,2021], error 5', does it mean one of the layers
> beneath xfs does not support DISCARD? Could you please show me more
> clues?
"error 5" is EIO. That's as much as I can tell you from the XFS perspective.
I don't know what the block/scsi errors mean, exactly; it does seem as
if it may not support discard, but it must have advertised that it did, or
the discard would not have been issued in the first place.
You haven't said what kernel or storage you're on.
OTOH, even if you do, it's a scsi/storage issue that the xfs list probably
can't help much with.
-Eric
> Thanks,
> Jevon
>> But probably not on the xfs list. :)
>>
>> -Eric
>>
>>> Thanks,
>>> Jevon
>>>
>>>
>>> _______________________________________________
>>> xfs mailing list
>>> xfs@oss.sgi.com
>>> http://oss.sgi.com/mailman/listinfo/xfs
>>>
>> _______________________________________________
>> xfs mailing list
>> xfs@oss.sgi.com
>> http://oss.sgi.com/mailman/listinfo/xfs
>
>
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ask help on an issue 'XFS (sd*): discard failed for extent, error 5'
2015-09-01 12:24 ` Eric Sandeen
@ 2015-09-02 1:33 ` Jevon Qiao
0 siblings, 0 replies; 4+ messages in thread
From: Jevon Qiao @ 2015-09-02 1:33 UTC (permalink / raw)
To: Eric Sandeen, xfs-oss
On 1/9/15 20:24, Eric Sandeen wrote:
> On 9/1/15 12:49 AM, Jevon Qiao wrote:
>> Hi Eric
>>
>> Thank you very much for the prompt response.
>> On 1/9/15 12:28, Eric Sandeen wrote:
>>> On 8/31/15 10:55 PM, Jevon Qiao wrote:
>>>> Hi All,
>>>>
>>>> Currently, I notice that there are lot's of errors written in the /var/log/messages file.
>>>>
>>>> 2015-08-29T23:58:54.477236+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
>>>> 2015-08-29T23:58:54.477255+00:00 server-68 kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
>>>> 2015-08-29T23:58:54.477256+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
>>>> 2015-08-29T23:58:54.477257+00:00 server-68 kernel: Sense Key : Illegal Request [current]
>>>> 2015-08-29T23:58:54.477258+00:00 server-68 kernel: sd 0:0:4:0: [sdc]
>>>> 2015-08-29T23:58:54.477259+00:00 server-68 kernel: Add. Sense: Invalid field in parameter list
>>>> 2015-08-29T23:58:54.477260+00:00 server-68 kernel: sd 0:0:4:0: [sdc] CDB:
>>>> 2015-08-29T23:58:54.477261+00:00 server-68 kernel: Unmap/Read sub-channel: 42 00 00 00 00 00 00 00 18 00
>>>> 2015-08-29T23:58:54.477263+00:00 server-68 kernel: end_request: critical target error, dev sdc, sector 325046824
>>>> 2015-08-29T23:58:54.477268+00:00 server-68 kernel: XFS (sdc2): discard failed for extent [0x64815,2021], error 5
>>>>
>>>> Has anyone encountered the same issue before? How can you solve it?
>>> Looks like xfs is simply reacting to errors from the storage; I'd try to get
>>> to the bottom of why you're getting all those scsi errors.
>> I just want to understand the meaning of 'XFS (sdc2): discard failed
>> for extent [0x64815,2021], error 5', does it mean one of the layers
>> beneath xfs does not support DISCARD? Could you please show me more
>> clues?
> "error 5" is EIO. That's as much as I can tell you from the XFS perspective.
>
> I don't know what the block/scsi errors mean, exactly; it does seem as
> if it may not support discard, but it must have advertised that it did, or
> the discard would not have been issued in the first place.
Thank you for the further help on this.
> You haven't said what kernel or storage you're on.
> OTOH, even if you do, it's a scsi/storage issue that the xfs list probably
> can't help much with.
OK, I see.
Thanks,
Jevon
> -Eric
>
>> Thanks,
>> Jevon
>>> But probably not on the xfs list. :)
>>>
>>> -Eric
>>>
>>>> Thanks,
>>>> Jevon
>>>>
>>>>
>>>> _______________________________________________
>>>> xfs mailing list
>>>> xfs@oss.sgi.com
>>>> http://oss.sgi.com/mailman/listinfo/xfs
>>>>
>>> _______________________________________________
>>> xfs mailing list
>>> xfs@oss.sgi.com
>>> http://oss.sgi.com/mailman/listinfo/xfs
>>
>>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-02 1:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-01 3:55 Ask help on an issue 'XFS (sd*): discard failed for extent, error 5' Jevon Qiao
2015-09-01 4:28 ` Eric Sandeen
[not found] ` <55E53C84.1040606@unitedstack.com>
2015-09-01 12:24 ` Eric Sandeen
2015-09-02 1:33 ` Jevon Qiao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox