Can I use tape drive with XEN VPS / Guest oses?

Q. I’ve CentOS 5.0 server running XEN kernel. VPS Guest is Linux distribution. How do I use tape drive with XEP Guest os?

Advertisement

A. You can’t use character devices such as tape drives in Xen guests. This is limitation of Xen. It doesn’t have the ability to export character devices to multiple guests oses.

However for backup you can use rsync or ftp server or NAS server.

πŸ₯Ί Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🀠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

5 comments… add one
  • DeBaan Aug 7, 2007 @ 20:17

    This is not, strictly speaking, true.

    Xen, if running in HVM mode, has the ability to export pci devices to specific domU’s. You could, then, export a (physical) scsi controller pci device to a domU; then, use it as you normally would.

    Or, perhaps rmt is for you (the remote tape device).

  • Anil Jan 1, 2009 @ 8:14

    Hi

    How can I take backup of xen vps using rsync ?

    Regards

    Anil

  • DLS Apr 16, 2014 @ 18:47
    rsync -a --delete --exclude=/dev --exclude=/sys --exclude=/proc --exclude=/tmp remoteserver.example.com:/ /path/to/backup/destination/
  • DLS Apr 16, 2014 @ 18:49
  • DLS Apr 16, 2014 @ 18:51

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.