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

by on August 2, 2007 · 5 comments· LAST UPDATED August 2, 2007

in , ,

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?

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.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 5 comments… read them below or add one }

1 DeBaan August 7, 2007 at 8:17 pm

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

Reply

2 Anil January 1, 2009 at 8:14 am

Hi

How can I take backup of xen vps using rsync ?

Regards

Anil

Reply

3 DLS April 16, 2014 at 6:47 pm
rsync -a --delete --exclude=/dev --exclude=/sys --exclude=/proc --exclude=/tmp remoteserver.example.com:/ /path/to/backup/destination/

Reply

4 DLS April 16, 2014 at 6:49 pm
5 DLS April 16, 2014 at 6:51 pm

Leave a Comment

Tagged as: , , , , ,

Previous Faq:

Next Faq: