[ale] Xen Server adding a virtual disk to a VM
Scott Plante
splante at insightsys.com
Thu Oct 13 16:56:03 EDT 2016
Thanks Allen! That lvmdiskscan is super-handy. I had totally forgotten about that.
I don't have any Windows boxes handy so I haven't been using XenCenter for at least a year. Some stuff I do with the xe command line tool but I also use Xen Orchestra. It's actually pretty easy to run from Docker. I used to use jpoa/xen-orchestra, but it doesn't seem to be working for the latest version. If you want to give it a try, I'm now using this one:
https://hub.docker.com/r/yobasystems/alpine-xen-orchestra/
It does most of the stuff XenCenter does or at least my basic needs, and with no Windows OS needed.
Scott
----- Original Message -----
From: "Allen Beddingfield" <allen at ua.edu>
To: "Atlanta Linux Enthusiasts" <ale at ale.org>
Sent: Thursday, October 13, 2016 4:14:57 PM
Subject: Re: [ale] Xen Server adding a virtual disk to a VM
If you are talking about inside of a Linux VM, "lvmdiskscan" will usually show you all block devices in a clean list. Otherwise, there is always "fdisk -l". If you are talking about a disk exposed to XenServer itself, it is easiest to turn that into a storage repo in the XenCenter gui.
--
Allen Beddingfield
Systems Engineer
Office of Information Technology
The University of Alabama
Office 205-348-2251
allen at ua.edu
On 10/13/16, 3:09 PM, "ale-bounces at ale.org on behalf of Scott Plante" <ale-bounces at ale.org on behalf of splante at insightsys.com> wrote:
Hi, I actually know how to add a virtual disk to a VM, but once it's added, how are you supposed to know the device name so you can partition, create a filesystem, and mount it?
I usually do this guessing-game where I do "ls /dev/xvd*" and "mount|grep xvd" and try to find what's missing, but this doesn't seem like the best way. Can you find out somehow from the xe command?
Scott
_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20161013/6302b950/attachment.html>
More information about the Ale
mailing list