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?

ADVERTISEMENTS

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.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
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.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.