【问题标题】:Misunderstood the numbers reported by block_dump as block number将block_dump报告的数字误解为块号
【发布时间】:2012-01-24 05:29:05
【问题描述】:

我尝试使用 echo 1 跟踪磁盘活动 > /proc/sys/vm/block_dump 并将block_dump报告的数字误解为区块号

我有什么:

python2.5(30207):在 sdc1 上读取块 301989912

python2.5(30207):在 sdc1 上读取块 301989976

python2.5(30206):在 sdc1 上读取块 301989944

python2.5(30206):在 sdc1 上读取块 301989928

python2.5(30205):在 sdc1 上读取块 301989904

python2.5(30206):在 sdc1 上读取块 17735536

python2.5(30206):在 sdc1 上读取块 17735544

python2.5(30206):在 sdc1 上读取块 22190248

python2.5(30206):在 sdc1 上读取块 22190264

python2.5(30206):在 sdc1 上读取块 22190256

python2.5(30206):在 sdc1 上读取块 22190272

python2.5(30205):在 sdc1 上读取块 13893648

python2.5(30207):在 sdc1 上读取块 13893728

python2.5(30207):在 sdc1 上读取块 13893720

python2.5(30207):在 sdc1 上读取块 13893696

python2.5(30207):在 sdc1 上读取块 13893736

python2.5(30207):在 sdc1 上读取块 13893672

python2.5(30207):在 sdc1 上读取块 13893664

python2.5(30205):在 sdc1 上读取块 13893688

python2.5(30207):在 sdc1 上读取块 13893680

python2.5(30207):在 sdc1 上读取块 13893656

python2.5(30207):在 sdc1 上读取块 13893704

python2.5(30208):在 sdc1 上读取块 13893712

python2.5(30205):在 sdc1 上读取块 17989712

python2.5(30208):在 sdc1 上读取块 17989720

python2.5(30208):在 sdc1 上读取块 22190816

python2.5(30208):在 sdc1 上读取块 22190832

python2.5(30208):在 sdc1 上读取块 22190824

python2.5(30205):在 sdc1 上读取块 294649912

python2.5(30205):在 sdc1 上读取块 294649920

如果我尝试 debugfs icheck 13893712、17989720 没问题,但高数字 294649920 和 301989904 是多少?

tune2fs -l /dev/sdc1

索引节点数:19546112

块数:39072080

保留块数:1953604

空闲块数:36601582

空闲索引节点:19440532

【问题讨论】:

    标签: linux


    【解决方案1】:

    它是内核日志中的扇区号。一个扇区是 512 字节。 fs 块通常是 4096 字节。

    【讨论】:

      猜你喜欢
      • 2017-09-01
      • 2019-04-08
      • 2019-11-13
      • 1970-01-01
      • 2021-10-31
      • 1970-01-01
      • 2015-03-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多