Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dd: unexpected short write, wrote 0 bytes, expected 512

Status
Not open for further replies.

Dominal

Technical User
Mar 2, 2003
14
HK
Hello!

When we write a 50M text file (bigfile.asc) to our DEC TKZ60 (3480) tape drive, the following error displayed:

dd: unexpected short write, wrote 0 bytes, expected 512

The command we used is:

dd if=bigfile.asc of=/dev/rmt/0cn bs=512

It seems the error is refer to end of tape but the capacity of the cartridge is 210M and the file size is just 50M.

Please advise.
 
Try using a larger block size. For some tape drives the minimum is 1024. Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top