Zitat von Vincent Diepeveen <d...@xs4all.nl>: > hi, > > Trying to get bacula going at a single tape drive. So no autoloader > as bacula seems to be used for in most cases. > > A few questions. > > Maybe i should do 3 emails. > But let's ask the questions in 1. > > Output at end of email > > If i do a tapeinfo i see "Medium Type: Not Loaded" that with a tape > inside (otherwise the other info wouldn't > be correct either i'd guess). If i google i see others with other > brands tapedrives do not have this problem. > > Does that mean tape driver has a problem for this tapedrive? > And if so: is it a problem?
Not sure what your actual problem is. Are you concerned about the "Not Loaded" message or does something not work as expected? > I wonder whether it has relevance for next: how do i label a tape to > be used for bacula? With "bconsole" and the "label" command ??? > > As that's the most important question. > > I already had put an EOF on the tape. The tapes have been previously > used with a different tape program > in the same streamer - this one works. > > Third: i see here running bacula-sd and bacula-dir under user bacula > and bacula-fd under root. > Is that ok? Yes, the FD needs access to *all* files for backup, so in most cases it has to run as root. The Director does not need any special rights and the SD only access to the tape/loader devices so they run as limited user. > Thanks for giving any insight. > > Kind Regards, > Vincent > > Operating system: Debian Dapper x64 > > root@TAPESERVER:/etc/init.d# tapeinfo -f /dev/nst0 > Product Type: Tape Drive > Vendor ID: 'CERTANCE' > Product ID: 'ULTRIUM 2 ' > Revision: '1783' > Attached Changer API: No > SerialNumber: 'D33PD13P' > TapeAlert[21]: Clean Periodic:The tape drive needs to be cleaned at > next opportunity. This you should fix ASAP. > MinBlock: 1 > MaxBlock: 16777215 > SCSI ID: 6 > SCSI LUN: 0 > Ready: yes > BufferedMode: yes > Medium Type: Not Loaded > Density Code: 0x42 > BlockSize: 512 > DataCompEnabled: yes > DataCompCapable: yes > DataDeCompEnabled: yes > CompType: 0x1 > DeCompType: 0x1 > BOP: yes > Block Position: 0 > Partition 0 Remaining Kbytes: 208680 > Partition 0 Size in Kbytes: 208680 > ActivePartition: 0 > EarlyWarningSize: 0 > > root@TAPESERVER:/etc/init.d# bconsole > Connecting to Director localhost:9101 > 1000 OK: TAPESERVER-dir Version: 5.0.2 (28 April 2010) > Enter a period to cancel a command. > *label > Automatically selected Catalog: MyCatalog > Using Catalog "MyCatalog" > Automatically selected Storage: File > Enter new Volume name: You should not use the name "file" for your tape. Beside this you are on the right way. Regards Andreas ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel