RHEL 6 で、dd が大規模なブロックの読み書きに失敗する

Solution 未確認 - 更新日時 - 翻訳の更新依頼

問題

  • テープのブロックのサイズが 1MB 以上の書き込み、または、10M 以上の読み込みをしようとすると、時々しか成功しません。以下のエラーが発生します。
Device or resource busy" (read() or write() returns -1, errno = EBUSY)
  • 以下を確認しました。
[root@host]# dd if=<SomeLargeFile> of=/dev/st<x> bs=$((100000))
/bin/dd: writing `/dev/st<x>':Device or resource busy
1+0 records in
0+0 records out
0 bytes (0 B) copied, 20.7455 s, 0.0 kB/s
  • write() または read() には時々 (10 回のうち 1 回) 成功しますが、10 回のうち 9 回はオペレーションが EBUSY で失敗します。ブロックサイズを小さくすると問題なく動作します。

環境

  • Red Hat Enterprise Linux (RHEL) 6
  • テープドライブ

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content