On Thu, Jul 14, 2016 at 07:12:38PM +0200, Stefan G. Weichinger wrote:
> Am 2016-07-13 um 22:19 schrieb Jon LaBadie:
> 
> > 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.
> 
> I have to research if it is possible to have both layers writeable.
> 
> I like the udev-rules-way better.
> Have the 2 disks in fstab:
> 
Ahh, I finally remembered how I did it when I had vtapes on
2 external usb disks plus part of one internal hd (not the
holding disk drive).

Each was mounted wherever, but in the same place each time.
What amanda used was a single "changer" dir of "slots" that
were symbolic links to the vtape in that slot on its
corresponding disk.  This too did not change.

I think I had about 80 slots (and vtapes), 30 ea on usb and
20 on hd.  It did not have to be, but the slot numbering
also matched my vtape numbering.  If a usb drive was not
mounted it just seemed to amanda that the slots were empty.

If the usb drive were mounted, but went to sleep due to
inactivity, I was pleasently surprised that nothing bad
happened.  What ever call woke up the disk held and waited
for the disk to be available, about 10-15 sec.

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