Classification: UNCLASSIFIED Caveats: NONE I have installed Bacula on a Solaris 10 system using a StorEdge C2 tape jukebox. When I try to label a tape, I get the following error: Unable to open device "SDLT1-Drive" (/dev/rmt/0mbn): ERR=Permission denied
Using the mt command (mt -f /dev/rmt/0mbn rewind), I can rewind the tape without errors. I ran the bacula-sd daemon in debug mode and got the output below. It appears that the rewind of the tape following the open fails due to permission problems (even though all 3 daemons are running as root and /dev/rmt/0mbn has 666 permissions). Line 441 in dev.c is after a d_ioctl() rewind call that apparently fails. backups-bge0-sd: dev.c:336-0 Close fd for mode change. backups-bge0-sd: dev.c:345-0 open dev: type=2 dev_name="SDLT-Drive" (/dev/rmt/0mbn) vol=test118 mode=OPEN_READ_WRITE backups-bge0-sd: dev.c:394-0 Open dev: device is tape backups-bge0-sd: dev.c:409-0 Try open "SDLT1-Drive (/dev/rmt/0mbn) mode=OPEN_READ_WRITE backups-bge0-sd: dev.c:431-0 Rewind after open backups-bge0-sd: dev.c:441-0 Rewind error on "SDLT1-Drive" (/dev/rmt/0mbn) close: ERR=Permission denied backups-bge0-sd: dev.c:475-0 dev.c:474 Unable to open device "SDLT1-Drive" (/dev/rmt/0mbn): ERR=Permission denied backups-bge0-sd: dev.c:483-0 open dev: tape -1 opened backups-bge0-sd: dev.c:358-0 preserve=0x0 fd=-1 backups-bge0-sd: dev.c:1892-0 Clear volhdr vol= backups-bge0-sd: vol_mgr.c:562-0 vol_unused: no vol on "SDLT1-Drive" (/dev/rmt/0mbn) Any ideas? Thanks, Andy Classification: UNCLASSIFIED Caveats: NONE ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users