Am 2016-07-13 um 16:12 schrieb Jean-Louis Martineau:

> amanda detect the disks via the meta label.
> The 'changerfile' must be located on the disk,it is where the meta label
> for the disk is written.

ok, I have



autolabel "$m-%%%" any
meta-autolabel "$c-%%%"
define changer removable-disk {
        tpchanger "chg-disk:/mnt/diskchanger"
                property "NUM-SLOT" "20"
                property "AUTO-CREATE-SLOT" "yes"
                property "REMOVABLE" "yes"
                property "MOUNT" "yes"
                property "UMOUNT" "yes"
                property "UMOUNT-LOCKFILE" "/etc/amanda/vtape/disk.lock"
                property "UMOUNT-DELAY" "1"
}
tpchanger "removable-disk"
changerfile "/mnt/diskchanger/changerfile"

- amcheck looks good so far

And when I have two separate external disks  (with separate UUIDs), I
will have to take care of mounting on or the other to the same
mountpoint "/mnt/diskchanger" ?

I can't have both in fstab:

# /etc/fstab
UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff /mnt/diskchanger ext4
relatime,user 0 1

I don't yet understand how to handle this.

Thanks for your help!

Reply via email to