[ale] Xen Server adding a virtual disk to a VM
Ed Cashin
ecashin at noserose.net
Thu Oct 13 16:32:25 EDT 2016
In addition to Allen Beddingfield's suggestion, if you want to ask the
kernel itself, you can do,
cat /proc/partitions
... to see all the disks and their partitions, and then,
dmesg | less
... to show what the kernel logged to the console about the disks listed in
/proc/partitions. These techniques are helpful when commands are absent or
minimal. Kernel-provided information changes in structure less frequently
than command-provided information as well.
On Thu, Oct 13, 2016 at 4:09 PM, Scott Plante <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
>
>
--
Ed Cashin <ecashin at noserose.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20161013/3514c96b/attachment.html>
More information about the Ale
mailing list