Re: [Mtx-general] OT: drive capacity (was AIT-3 Tape full with 42G)
Brought to you by:
elgreen,
robertnelson
|
From: W B. <ws...@pa...> - 2003-07-30 23:15:01
|
And...@wi... wrote: > > > If you want to really know how many bytes you can put on tape, I > recommend using dd. something like > > /bin/yes | dd of=/dev/rmt/0c bs=1000 > > I tried this and its seemed take all day, but when I killed it, I got: > 5188091+893263 records in > > which man dd says means: > f+p records in(out) > numbers of full and partial blocks read(written) > > I'm guessing dd won't quit when the tape is full and so it was just > hung/blocked on the write? > dd will stop when it gets an I/O error at end of tape. Pick a different source of input data, like: tar -cvf - / | dd of=/dev/rmt/0c ibs=1024k obs=1024k Wes |