Hello,
Christopher Hicks <[EMAIL PROTECTED]> wrote:
> What I would like to do is use disks instead of tapes. I can buy enough
> disks and a removable drive bay to back up my system for considerably less
> than an adequate tape drive would cost (in my experience cheap tape systems
> like DDS are too unreliable).
>
> So then I would have a holding disk, and a bunch of removable disks which
> would be labelled and rotated, instead of tapes. I guess one way of
> achieving this would be to write a driver that looks, to amanda, like a
> tape device, but which actually translates all the IOCTLs into appropriate
> disk IOCTLs, making the disc look like a linear device.
>
> But is there an easier way?
Yep. John Jackson has created a "tapeio" branch of the amanda-242 code
that basically treats a directory as though it is a tape. You'll need to
get that code from the CVS repository.
The announcement of the tapeio code and a good description is available:
http://groups.yahoo.com/group/amanda-hackers/message/2518
The ensuing discussion is also archived:
http://groups.yahoo.com/group/amanda-hackers/messagesearch?query=2.4.2%20tapeio
I would expect that you could create mount points for your removable disks
and use those mount points as "slots" for a changer script (there's an example in
the announcement). You could either ensure that the proper disks were
inserted and mounted before each run or hack on the changer (chg-multi,
chg-manual, etc.) to do whatever is necessary to get the proper disk pack in
place.
Hope this helps,
-Ben
--
Benjamin Lewis Thank goodness modern convenience is a
Database Analyst/Programmer thing of the remote future.
Purdue University Computing Center -- Pogo, by Walt Kelly
[EMAIL PROTECTED]