Mandi! Marco Gaiarin
In chel di` si favelave...
> echo "status storage=$STORAGE" | bconsole | grep "^No Jobs running\." >
> /dev/null
> and works as expected, until you have only one device in the storage daemon;
> but if you have more than a device, coud be that the needed device is idle,
>
Mandi! Marco Gaiarin
In chel di` si favelave...
> There's some way to test that a particular device is busy?! Thanks.
For example, testing directly the file device:
Device File: "RDXStorage0" (/var/spool/vchanger/CNPVE3RDX/0) is not open.
Slot 3 was last loaded in drive 0.
Available S
I've setup a script that umount RDX media for a vchanger-backed up storage
daemons.
The script simply do:
echo "status storage=$STORAGE" | bconsole | grep "^No Jobs running\." >
/dev/null
if [ $? -ne 0 ]; then
echo "Backup in corso, abortisco l'unmount del RDX."
exit 0
fi