he (bacula) should be able to. [root@d0lphb040 bacula]# ls -la /dev/sg8 crw-rw---- 1 root tape 21, 8 Feb 7 13:00 /dev/sg8 [root@d0lphb040 bacula]# ls -la /dev/nst0 crw-rw---- 1 root tape 9, 128 Feb 7 13:00 /dev/nst0 [root@d0lphb040 bacula]# cat /etc/group|grep bacula disk:x:6:bacula tape:x:33:bacula bacula:x:133:
i did find this tho, not sure what it means: as root: [root@d0lphb040 bacula]# tapeinfo -f /dev/nst0 Product Type: Tape Drive Vendor ID: 'IBM ' Product ID: 'ULTRIUM-TD3 ' Revision: '93GM' Attached Changer API: No SerialNumber: '9210226800' MinBlock: 1 MaxBlock: 16777215 SCSI ID: 6 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: 0x38 Density Code: 0x44 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x1 DeCompType: 0x1 BOP: yes Block Position: 0 Partition 0 Remaining Kbytes: -1 Partition 0 Size in Kbytes: -1 ActivePartition: 0 EarlyWarningSize: 0 same command, as user bacula: [root@d0lphb040 bacula]# sudo -u bacula tapeinfo -f /dev/nst0 mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=0 (Unknown?!) mtx: Request Sense: Sense Key=No Sense mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Additional Sense Code = 00 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no INQUIRY Command Failed that is where i am focusing right now. On 2/8/13 9:55 AM, "Alan Brown" <ucas...@ucl.ac.uk> wrote: >On 08/02/13 15:02, Jonathan Horne wrote: >> well, ill retry them all again, but the drive works enough to label all >> the barcodes in the drive. > >What uid is bacula-sd running as? > >Does that uid have permission to access the tape drives? > > > ________________________________ This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users