LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This 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


Reply
  Search this Thread
Old 10-25-2020, 01:05 PM   #1
bloggins666
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Rep: Reputation: Disabled
Network based tape drive


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.
 
Old 10-26-2020, 02:55 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Not a lot to go on from your post. Maybe you are thinking iscsi? nfs?

It would depend a lot on how this tape drive device is connected to what.
 
Old 10-26-2020, 03:15 PM   #3
bloggins666
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
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!!
 
Old 10-31-2020, 01:02 AM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,801

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by bloggins666 View Post
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.)

Good luck...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Tar file to tape drive faster than dir/files to tape drive? Runge_Kutta Linux - General 2 03-11-2009 07:13 AM
Check tape drive availability (full tape) TripleOne Linux - Server 0 02-12-2009 03:45 AM
Unable to insert the DAT72 Tape in tape drive. peddip Red Hat 8 01-08-2009 09:27 AM
Tape Backups and How can i find out the Name (label) of the tape in the drive?? helptonewbie Linux - Newbie 2 10-27-2008 07:20 AM
Using a DDS5 tape drive to restore from a DDS3 backup tape. AndrewCAtWayofthebit Linux - Hardware 1 05-14-2006 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration