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

Solution Unverified - Updated -

Issue

  • テープのブロックのサイズが 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 で失敗します。ブロックサイズを小さくすると問題なく動作します。

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.