On Wed, Jul 13, 2016 at 04:20:51PM +0200, Stefan G. Weichinger wrote:
> 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.
> 
I've not used it on Linux, but an Overlay FS (OFS) was introduced
in the kernel about 2 years ago.  With that, your two drives
could have their own fixed mount points.  Then their root dirs
could be overlayed so both trees appear under a single directory.
If one drive was not there, only half the vtapes would appear.

Jon
-- 
Jon H. LaBadie                 [email protected]
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (703) 935-6720 (C)

Reply via email to