After a successful label command, if the automount flag is "on"
the director tries to mount the newly created volume.
The protocol was broken for a couple of time. The "slot" parameter
was missing in the Storage command.
* label
...
Requesting to mount FileStorage ...
3909 Error scanning mount command: mount FileStorage drive=-1
Do not forget to mount the drive!!!
bstrncpy(dev_name, store.store->dev_name(), sizeof(dev_name));
ua->info_msg(_("Requesting to mount %s ...\n"), dev_name);
bash_spaces(dev_name);
- sd->fsend("mount %s drive=%d", dev_name, drive);
+ sd->fsend("mount %s drive=%d slot=%d", dev_name, drive, mr.Slot);
unbash_spaces(dev_name);
while (sd->recv() >= 0) {
ua->send_msg("%s", sd->msg);