weird messages in blktrace pertaining to manor and minor numbers
Hello,
I am running blktrace against scsi disks on linux. I get the following output which i am not able to infer some of the messages in it.
2057,8440 1 8043 0.580951687 2047 A W 14666 + 1 <-
(253,0) 14666
8,0 1 8044 0.580951812 2047 Q W 14666 + 1
[mkfs.ext3]
8,0 1 8045 0.580952000 2047 M W 14666 + 1
[mkfs.ext3]
2057,8440 1 8046 0.580953656 2047 A W 14667 + 1 <-
(253,0) 14667
8,0 1 8047 0.580953781 2047 Q W 14667 + 1
[mkfs.ext3]
8,0 1 8048 0.580953968 2047 M W 14667 + 1
[mkfs.ext3]
2057,8440 1 8049 0.580955406 2047 A W 14668 + 1 <-
(253,0) 14668
8,0 1 8050 0.580955718 2047 Q W 14668 + 1
[mkfs.ext3]
For some of the lines, it shows the list of major and minor numbers (2057,8440) which are not there applicable to my system. I am not able to understand the output pertaining to these numbers and i do not find any documentation about them. Can anybody let me know what this output means?
I have run blktrace as following:
blktrace -d /dev/sda /dev/sdb -o - | blkparse -i -
and ran mkfs.ext3 to the scsi disks.
Signature · 1 line
Srinivasa R Chamarthy ([email protected])
Re: weird messages in blktrace pertaining to manor and minor
Quoted 29 lines · Srinivasa R Chamarthy
Hello,
I am running blktrace against scsi disks on linux. I get the following output which i am not able to infer some of the messages in it.
2057,8440 1 8043 0.580951687 2047 A W 14666 + 1 <-
(253,0) 14666
8,0 1 8044 0.580951812 2047 Q W 14666 + 1
[mkfs.ext3]
8,0 1 8045 0.580952000 2047 M W 14666 + 1
[mkfs.ext3]
2057,8440 1 8046 0.580953656 2047 A W 14667 + 1 <-
(253,0) 14667
8,0 1 8047 0.580953781 2047 Q W 14667 + 1
[mkfs.ext3]
8,0 1 8048 0.580953968 2047 M W 14667 + 1
[mkfs.ext3]
2057,8440 1 8049 0.580955406 2047 A W 14668 + 1 <-
(253,0) 14668
8,0 1 8050 0.580955718 2047 Q W 14668 + 1
[mkfs.ext3]For some of the lines, it shows the list of major and minor numbers (2057,8440) which are not there applicable to my system. I am not able to understand the output pertaining to these numbers and i do not find any documentation about them. Can anybody let me know what this output means?
Quoted 6 lines
I have run blktrace as following:
blktrace -d
/dev/sda/dev/sdb-o - | blkparse -i -and ran mkfs.ext3 to the scsi disks.
What Linux version are you using? Issues in MD/DM mappings were fixed in kernels post-RHEL5/SLES10 for example.
Alan
Re: weird messages in blktrace pertaining to manor and minor
In reply to Srinivasa R ChamarthyHi Alan,
Thanks for the reply.
I am using RHEL5.4 Snap-3 with kernel version 2.6.18-158.el5 for testing on s390x for test.
The blktrace version is:
blktrace version 1.0.0
Quoted 42 lines · Alan D. Brunelle
Quoted 29 lines · Srinivasa R Chamarthy
Hello,
I am running blktrace against scsi disks on linux. I get the following output which i am not able to infer some of the messages in it.
2057,8440 1 8043 0.580951687 2047 A W 14666 + 1 <-
(253,0) 14666
8,0 1 8044 0.580951812 2047 Q W 14666 + 1
[mkfs.ext3]
8,0 1 8045 0.580952000 2047 M W 14666 + 1
[mkfs.ext3]
2057,8440 1 8046 0.580953656 2047 A W 14667 + 1 <-
(253,0) 14667
8,0 1 8047 0.580953781 2047 Q W 14667 + 1
[mkfs.ext3]
8,0 1 8048 0.580953968 2047 M W 14667 + 1
[mkfs.ext3]
2057,8440 1 8049 0.580955406 2047 A W 14668 + 1 <-
(253,0) 14668
8,0 1 8050 0.580955718 2047 Q W 14668 + 1
[mkfs.ext3]For some of the lines, it shows the list of major and minor numbers (2057,8440) which are not there applicable to my system. I am not able to understand the output pertaining to these numbers and i do not find any documentation about them. Can anybody let me know what this output means?
Quoted 6 lines
I have run blktrace as following:
blktrace -d
/dev/sda/dev/sdb-o - | blkparse -i -and ran mkfs.ext3 to the scsi disks.
What Linux version are you using? Issues in MD/DM mappings were fixed in kernels post-RHEL5/SLES10 for example.
Alan
Signature · 5 lines
Srinivasa R Chamarthy ([email protected]) --------------------------------------------------- Linux on System z (Component & System Verification), IBM India Systems and Technology Labs, Bangalore. +91-80-41776451 / ITN: *869246992
Quoted 6 lines · Alan D. Brunelle
Quoted 5 lines · Srinivasa R Chamarthy
Hello,
I am running blktrace against scsi disks on linux. I get the following output which i am not able to infer some of the messages in it.
...
Quoted 4 lines
What Linux version are you using? Issues in MD/DM mappings were fixed in kernels post-RHEL5/SLES10 for example.
Alan
Alan, if you happen to know, would you mind pointing me at the commits?
I had a quick look through the blktrace changelogs and nothing popped
out at me...
Thanks,
-Eric
Alan D. Brunelle
Reviewed-by Li Zefan Reviewed-by KOSAKI Motohiro Reviewed-by Li Zefan Reviewed-by KOSAKI Motohiro Reviewed-by Li Zefan Reviewed-by KOSAKI MotohiroRe: weird messages in blktrace pertaining to manor and minor
In reply to Srinivasa R ChamarthyQuoted 13 lines · Eric Sandeen
Quoted 6 lines · Alan D. Brunelle
Quoted 5 lines · Srinivasa R Chamarthy
Hello,
I am running blktrace against scsi disks on linux. I get the following output which i am not able to infer some of the messages in it.
...
Quoted 3 lines
What Linux version are you using? Issues in MD/DM mappings were fixed in kernels post-RHEL5/SLES10 for example.
Quoted 8 lines
Quoted 1 line
Alan
Alan, if you happen to know, would you mind pointing me at the commits?
I had a quick look through the blktrace changelogs and nothing popped
out at me...Thanks,
-Eric
Hi Eric-
Here are some that I can recall off the top of my head - I think this catches them all:
commit 79c5d3ce614d8fe706545c7bca2158b63db6bb5e
Author: Li Zefan <[email protected]> Date: Mon May 11 15:06:46 2009 +0800
blktrace: from-sector redundant in trace_block_remap, cleanup
The last argument of block_remap prober is the original sector before remap, so it should be 'from', not 'to'.
[ Impact: clean up ]
LKML-Reference: <[email protected]>
commit 22a7c31a9659deaddafbbcec6562d44141e84474
Author: Alan D. Brunelle <[email protected]> Date: Mon May 4 16:35:08 2009 -0400
blktrace: from-sector redundant in trace_block_remap
Remove redundant from-sector parameter: it's /always/ the bio's
sector
passed in.
[ Impact: cleanup ]
LKML-Reference: <[email protected]>commita42aaa3bbce85ac487ad4fad5db99e8e91b7aac1
Author: Alan D. Brunelle <[email protected]> Date: Mon May 4 16:27:26 2009 -0400
blktrace: correct remap names
This attempts to clarify names utilized during block I/O remap operations (partition, volume manager). It correctly matches up the /from/ information for both device & sector. This takes in the
concept
from Kosaki Motohiro and extends it to include better naming for the "device_from" field.
[ Impact: cleanup ]
LKML-Reference: <[email protected]>
commit a42aaa3bbce85ac487ad4fad5db99e8e91b7aac1
Author: Alan D. Brunelle <[email protected]> Date: Mon May 4 16:27:26 2009 -0400
blktrace: correct remap names
This attempts to clarify names utilized during block I/O remap operations (partition, volume manager). It correctly matches up the /from/ information for both device & sector. This takes in the
concept
from Kosaki Motohiro and extends it to include better naming for the "device_from" field.
[ Impact: cleanup ]
LKML-Reference: <[email protected]>