Hi all.. O dont understand. The configuration of bacula and vchanger appears fine.
autofs + UUID running The magazine is initialized: [root@aplicativos2 bin]# vchanger -u bacula -g disk /opt/bacula/c1.conf listmags 1:c1:1:/mnt/vchanger/5000a721-f8ac-499a-a7d3-54c037666c50 The slots are listed: [root@aplicativos2 bin]# vchanger -u bacula -g disk /opt/bacula/c1.conf list 1:c1_0001_0001 2:c1_0001_0002 3:c1_0001_0003 The slot 1 was loaded to drive 0: [root@aplicativos2 bin]# cat /mnt/vchanger/5000a721-f8ac-499a-a7d3-54c037666c50/loaded0 c1_0001_0001 So when i run "label barcodes": *label barcodes Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" Automatically selected Storage: c1 Connecting to Storage daemon c1 at aplicativos2:9103 ... 3306 Issuing autochanger "slots" command. Device "usb-changer" has 0 slots. No slots in changer to scan. So i tried to run "update slots": *update slots Automatically selected Storage: c1 Connecting to Storage daemon c1 at aplicativos2:9103 ... 3306 Issuing autochanger "slots" command. Device "usb-changer" has 0 slots. No slots in changer to scan. The sd daemon is running as bacula:disk [root@aplicativos2 bin]# ls -l /var/lib/bacula/c1/0/drive0 -rw-r----- 1 bacula disk 0 Jul 3 14:35 /var/lib/bacula/c1/0/drive0 And sd and dir is running as bacula user: [root@aplicativos2 bin]# ps aux | grep bacula bacula 18978 0.0 0.1 60028 1792 ? Ssl 09:46 0:00 /opt/bacula/bin/bacula-sd -u bacula -g disk -v -c /opt/bacula/bin/bacula-sd.conf bacula 18991 0.0 0.1 29092 1244 ? Ssl 09:46 0:00 /opt/bacula/bin/bacula-fd -u bacula -g disk -v -c /opt/bacula/bin/bacula-fd.conf bacula 19013 0.0 0.2 51948 2632 ? Ssl 09:46 0:00 /opt/bacula/bin/bacula-dir -u bacula -g disk -v -c /opt/bacula/bin/bacula-dir.conf Vchanger c1.conf: # /etc/bacula/c1.conf logfile = /var/lib/bacula/vchanger_c1.log work_dir = /var/lib/bacula/c1 changer_name = c1 virtual_drives = 1 slots_per_magazine = 3 magazine_bays = 1 automount_dir = /mnt/vchanger magazine = UUID:5000a721-f8ac-499a-a7d3-54c037666c50 #eof Sd.conf: # /etc/bacula/bacula-sd.conf # ... Storage { # definition of myself Name = c1 SDPort = 9103 # Director's port WorkingDirectory = "/opt/bacula/" Pid Directory = "/opt/bacula/bin/working" Maximum Concurrent Jobs = 20 SDAddress = 200.238.251.77 } # List Directors who are permitted to contact Storage daemon # #---- local virtual autochanger with USB drive "magazines" Autochanger { Name = usb-changer Device = usb-changer-drive0 Changer Command = "/opt/bacula/vchanger %c %o %S %a %d" Changer Device = "/opt/bacula/c1.conf" } #--- drive 0 of the usb-changer-1 autochanger Device { Name = usb-changer-drive0 Drive Index = 0 Autochanger = yes; DeviceType = File MediaType = File ArchiveDevice = /var/lib/bacula/c1/0/drive0 RemovableMedia = no; RandomAccess = yes; } # List Directors who are permitted to contact Storage daemon # Director { Name = aplicativos2-dir Password = "stonecold" } dir.conf: Storage { Name = c1 Address = aplicativos2 # N.B. Use a fully qualified name here SDPort = 9103 Password = "stonecold" Device = usb-changer Media Type = File Autochanger = yes } Can't find what's wrong! Tnx for any help! +---------------------------------------------------------------------- |This was sent by arnaldojso...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ 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