Andreas, The type device is described in # man st(7D).
Amanda has a value in amanda.conf called labelstr (One) of mine looks like this labelstr "^INFO[0-9][0-9]*$" that is (starts with) INFO and has at least two numerics (then ends) I believe there are newer faster ways to label tapes, even a label blank tape option during amdump, but I still tend to label them manually, or in the case of a jukebox (I have several, including 2 SL24s) a magazine at a time using a very simple script (and that only to avoid my own command line editing errors). On Mon, Jun 22, 2009 at 10:38:24AM +0200, Andreas Kuntzagk wrote: > Hi, > > I'm quite new to amanda (and to backing up to tape as well). I already > managed to create a conf for our changer (Sun SL24). But I'm still > unsure what is the right device for the tape drive. > > # ls /dev/rmt/ > 0 0b 0bn 0c 0cb 0cbn 0cn 0h 0hb 0hbn 0hn 0l > 0lb 0lbn 0ln 0m 0mb 0mbn 0mn 0n 0u 0ub 0ubn 0un > > So far I'm using /dev/rmt/0ubn AFAIK the u stands for Ultra-density, the > n for non-rewinding (Amanda needs that, right?) But I'm unsure about the > b. What does it mean? I managed to read and write to this device with > tar. Also amtapetype gave me some sensible values for this. (actually I > used the rewinding device at that time, but the non-rewinding shouldn't > differ) > > I now also managed to label a tape using amlabel. Now my question is: > How do I label all tapes in the changer? Do I use some kind of pattern > or can I label them as I like? > Is there a command to label all tapes at once? > > regards, Andreas --- Brian R Cuttler [email protected] Computer Systems Support (v) 518 486-1697 Wadsworth Center (f) 518 473-6384 NYS Department of Health Help Desk 518 473-0773 IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure. It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments. Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation.
