I always use /dev/rmt/0cn device on Solaris but if I'm not mistaken you no longer need to specify the no-rewind device for the 2.6 release of Amanda. The 'b' is to use BSD behavior instead of SRV4 for error handling, see the mtio man page for more details.
Use amlabel to label the tapes, you'll need to load and unload each of them. The pattern is derived from the 'labelstr' and 'tapecycle' which was specified in your amanda.conf. If 'labelstr=^nightly_0-9*$' and 'tapecycle=23' then your tape labels would be nightly_1 through nightly_23. 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 -- Darin Perusich Unix Systems Administrator Cognigen Corporation 395 Youngs Rd. Williamsville, NY 14221 Phone: 716-633-3463 Email: [email protected]
