Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had seen a few years ago that there existed for linux, a tape driver that created the devices ("/dev/mt0" for example) but they were in fact network based tape drive interfaces.
So what would happen is that you could have your backup s/w use these interfaces as they would any tape drive using the standard tape drive command set. What they were on the backend was a network based interface to a online service like Amazon S3. Amazon had at the time a service that would emulate the tape drive at their end and read/write your backup to their storage system.
I'm currently running Bacula as my network backup system and they write everything to a large disk on the system as files. Bacula does like tapes though and I'm hoping to set it up so that the full backup ends up being written offsite instead of locally by writing to a virtual tape drive.
So my question is does this interface still exist? Is it just a simple driver to be installed for whichever linux ditro I'm using?
Cheers!!
Last edited by bloggins666; 10-25-2020 at 01:14 PM.
I've been looking at the iscsi driver and I'm not completely certain it is what I was describing. I'll keep looking. I'm assuming that someone who has worked with this kind of solution will know instantly what I'm talking about.
So what I saw was that if you opened the "/dev/mt0" device and say wrote to it, the driver would have been configured to take the data you are writing to the device and pass out to your cloud service via a network connection. So it emulates the h/w but is in fact a network connection to the cloud service that is doing what is required to write the data to their "tape drive". It would in fact be some storage space and if it's a tape drive you wouldn't care.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,801
Rep:
Quote:
Originally Posted by bloggins666
I've been looking at the iscsi driver and I'm not completely certain it is what I was describing. I'll keep looking. I'm assuming that someone who has worked with this kind of solution will know instantly what I'm talking about.
So what I saw was that if you opened the "/dev/mt0" device and say wrote to it, the driver would have been configured to take the data you are writing to the device and pass out to your cloud service via a network connection. So it emulates the h/w but is in fact a network connection to the cloud service that is doing what is required to write the data to their "tape drive". It would in fact be some storage space and if it's a tape drive you wouldn't care.
Anyways, I will keep looking.
Thanks for the reply.
Cheers!!
Are you thinking of the "rmt" device" by any chance? I don't have any tape drives connected to any of my systems any more but, back in the day, I could use tar, cpio, etc. to write to a DLT tape I had on a system on the LAN. I.e. "tar --file=remotebox:/dev/st0 bunch-o-files" (similar remote device spec for cpio). Check out the tar and/or cpio man pages for details on how one does that. (It might be an info page; try there, too.)
I'm mot sure how Amazon is emulating a tape drive so I can't offer much help there. (My freebie AWS access ended long ago and I never tried anything like this.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.