Re: blkparse fails with bad trace magic 7746165

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/04/2015 02:33 PM, Lakshmi wrote:
Hello all,

  I ran blktrace for 14 devices using the command below and there were
80 files generated for each device and 1120 files in total.

blktrace -d /dev/sda /dev/sdb /dev/sdl /dev/sdm /dev/sdn /dev/sdo
/dev/sdq /dev/sdp /dev/sds /dev/sdr /dev/sdt /dev/sdw /dev/sdv
/dev/sdu -w 900 -a write -a read -b 8192

I tried running a blkparse on the blktrace binary files as shown below
and I  get bad trace magic 7746165 for pretty much all of the files
and no parsing happens.

blkparse -i ./*.blktrace.0 -d ./bp.bin -o bp.txt -w 0:900

Why just the .0 trace file? Not sure where the magic error is coming from, but that part is definitely a bit odd. If you run:

blkparse -i sda -d ./bp.bin -o bp.txt -w 0:900

does it still fail?

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux