March 2009
S M T W T F S
« Feb   Apr »
1234567
891011121314
15161718192021
22232425262728
293031  
Categories

Citrix - Format a USB drive for exclusive use within XenServer

If you wanted to dedicate a USB drive to your XenServers, you could format it with a Linux filesystem. That way you could use it as storage to backup your VMs, and restore them on other machines if needed. Assuming you know the device name of the partition you want to use, use the following as an example command:

mkfs -v -t ext3 /dev/sdc1

Warning: Doing this will destroy any existing data on the partition, and you will not be able to use this disk on a Windows machine without reformatting it using Windows Disk Manager: You have been warned!

As always, with any Linux command you can use the online manual (if it’s installed), for example:

man mkfs

Once formatted, you can mount this device into the filesystem, as shown previously in USB drive access. Now you can read and write to the drive, as in this following example which will backup a VM to the external USB drive:

xe vm-export vm=’W2K8 DC’ filename=’/mnt/backups/W2K8 DC.xva’

posted by: Myke Reinhold
source: Homerun Networks & Citrix

Leave a Reply

You must be logged in to post a comment.