On Thursday 25 July 2002 15:40, Keith Nasman wrote:
>O' gurus,
>
>I initially labeled 10 tapes for my rotation and now I am labeling
> another 10. My first couple of tapes got labeled fine but now I'm
> getting this:
>
>[root@presto DailySet1]# su amanda -c "amlabel DailySet1
> DailySet113" rewinding, reading label, reading label: Cannot
> allocate memory rewinding, writing label DailySet113, checking
> label, done.
>
>I assume that the tape got labeled correctly. Can anyone enlighten
> me on the memory error?

Hummm, not brand new tapes?  Maybe a tape that was used with another 
backup util, probably proprietary?

What it sounds like is that when amanda tried to read the initial 
header from the tape, its encountering a totally humungous value  
the tapes block size and can't allocate that much memory.

My best guess...

Anyway, dd can retrieve the tape label with this pair of commands:
#>mt -f /dev/tape_device rewind
#>dd if = /dev/tape_device count = 1
which should disgorge the first block of 512 bytes to the screen, 
showing you the label as written.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.08% setiathome rank, not too shabby for a WV hillbilly

Reply via email to