简体   繁体   English

如何在 Linux 中详细跟踪磁盘扇区读/写?

[英]How to track disk sector read/write in details in Linux?

I am learning Linux disk IO, and I met a disk corruption.我正在学习Linux磁盘IO,遇到了磁盘损坏。
A disk sector is being written with garbage data.正在用垃圾数据写入磁盘扇区。
I want to track the write to that disk sector, i am not sure if there is a way in Linux.我想跟踪对该磁盘扇区的写入,我不确定 Linux 中是否有办法。

I think that you should take a look at sysstat : https://github.com/sysstat/sysstat我认为你应该看看sysstathttps : //github.com/sysstat/sysstat

Its a package for monitoring disk I/O 它是一个用于监控磁盘 I/O 的包

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM