<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Thanks Ed! Of course dmesg. I feel a bit silly because I know about dmesg but completely blanked I guess. The cat of /proc/partitions is a good idea too, except like with the ls /dev/xvd*, I should do it before I add the disk so I can see what's different after. <div><br></div><div>I was hoping the Xen software would tell me but I guess being OS independent it doesn't get to that level, even when the xen-tools are installed inside the VM. It's kind of like I wish Xen would tell me the IP address a VM picks up after I start it, but again, it's too OS specific I suppose.<br><br>Scott<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Ed Cashin" <ecashin@noserose.net><br><b>To: </b>"Atlanta Linux Enthusiasts" <ale@ale.org><br><b>Sent: </b>Thursday, October 13, 2016 4:32:25 PM<br><b>Subject: </b>Re: [ale] Xen Server adding a virtual disk to a VM<br><br><div dir="ltr">In addition to Allen Beddingfield's suggestion, if you want to ask the kernel itself, you can do,<div><br></div><div> cat /proc/partitions</div><div><br></div><div>... to see all the disks and their partitions, and then,</div><div><br></div><div> dmesg | less</div><div><br></div><div>... 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.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 13, 2016 at 4:09 PM, Scott Plante <span dir="ltr"><<a href="mailto:splante@insightsys.com" target="_blank">splante@insightsys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000">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?<div><br></div><div>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?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Scott<br></div><div><br></div></font></span></div></div><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"> Ed Cashin <<a href="mailto:ecashin@noserose.net" target="_blank">ecashin@noserose.net</a>></div></div>
</div>
<br>_______________________________________________<br>Ale mailing list<br>Ale@ale.org<br>http://mail.ale.org/mailman/listinfo/ale<br>See JOBS, ANNOUNCE and SCHOOLS lists at<br>http://mail.ale.org/mailman/listinfo<br></div><br></div></div></body></html>