Re: Odd error from amcheck
Jason L Tibbitts III <[email protected]> Wed, 17 Apr 2019 18:09:48 -0500
| Newsgroups | gmane.comp.archivers.amanda.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "JL" == Jon LaBadie <[email protected]> writes: JL> Isn't the amanda tape header data still 32KB? I thought you could JL> skip syncronizing dd block size and actual tape bs. See, that's what I thought, and yet: AMANDA:backup2:~> dd if=/dev/nst0 bs=32k count=1 dd: error reading '/dev/nst0': Cannot allocate memory 0+0 records in 0+0 records out 0 bytes copied, 0.0220708 s, 0.0 kB/s This is with Fedora 29, kernel 5.0.6. However, rewinding and using a 512k block size does work. It seems that I must specify a block size no smaller than 512k (513k and 1000k work fine) or else I get the odd "Cannot allocate memory" error. That's what I couldn't figure out previously. We'll see what happens the next time Amanda needs to switch tapes. - J<