On 6/12/2013 2:38 PM, Dimitri Maziuk wrote: > On 06/12/2013 01:21 PM, arnaldojsousa wrote: >> Hi all. >> >> I start the configuration of bacula 5.2.13 to store data in USB disks using >> vchanger. >> >> I follow these doc: http://wiki.bacula.org/doku.php?id=removable_disk > Follow the vchangerHowto.html instead (it's in vchanger/doc in the > tarball). Vchanger won't run as root, so use "vchanger -u bacula -g > bacula" or whatever uid/gid is on your system. Make sure that uid/gid > has access to the relevant files & get to where you can "load" a drive > from command line (section 10 of the howto).
In regards to permissions: The vchanger work directory must be writable by the uid/gid bacula-sd runs as. The vchanger config file must be readable by the uid/gid bacula-sd runs as. The filesystem on the USB drive(s) must be writable by the uid/gid bacula-sd runs as. > >> The DIR, SD and FD is starting fine, but when run "label barcodes" command >> the output is: > ... >> Device "usb-changer-1" has 0 slots. > Check the uid/gid bacula-sd runs as. If it's root, you can either change > that or add "-u bacula -g bacula" to Changer Command. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users