On Fri, Jan 25, 2013 at 10:07:37AM -0500, Alan McKay wrote: > I wiped all the labels on my tapes and did "label barcodes" and > everything seems to have gone fine and they all got added to the > default pool.
You could do label pool=Default storage=xy slots=1-5,7-16 or the like to not label a tape in slot 6 at all. > Also there is the matter of the other tape, which is in slot 8. I am > not sure why it did not get added. Now I'd like to manually add it > to the pool but when I use the "add" command it gives me some odd > options which don't seem to make sense. What the heck does "Enter > Base Volume Name" mean? I want it to keep the name it has, I don't > want a new name. > *add > You probably don't want to be using this command since it > creates database records without labeling the Volumes. > You probably want to use the "label" command. Indeed, most definitly you don't want to use this with a new tape. This saves me finding an answer to the actual question ;) On Fri, Jan 25, 2013 at 10:28:31AM -0500, Alan McKay wrote: > OK, this is odd. I just tried the label command for that one slot > and got an error > Connecting to Storage daemon SL24 at 127.0.0.1:9103 ... > Sending label command for Volume "000006L4" Slot 8 ... > 3307 Issuing autochanger "unload slot 1, drive 0" command. > 3304 Issuing autochanger "load slot 8, drive 0" command. > 3305 Autochanger "load slot 8, drive 0", status is OK. > 3910 Unable to open device ""SL24" (/dev/nst0)": ERR=dev.c:506 Unable > to open device "SL24" (/dev/nst0): ERR=Read-only file system > Label command failed for Volume 000006L4. Best guess: you (accidently) activated the write protection on the tape. Take it out and check. If this is not the issue: try writing to it while bacula-sd is stopped, e.g. mtx load 8 mt -f /dev/nst0 rewind (just in case) dd if=/dev/zero of=/dev/nst0 bs=1024 count=100 -> If there is an error, it is quite likely to be a bad tape. mt -f /dev/nst0 rewind mt -f /dev/nst0 eof then start bacula-sd and try labeling again. Regards, Adrian -- LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91 Mail: li...@lihas.de - Web: http://lihas.de Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users