[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] feature request - prevent user stupidity (eg mine)


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Fri, 22 Jun 2007 00:10:57 +1000
  • Delivery-date: Thu, 21 Jun 2007 07:09:00 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Ace0Df0qF5CVVs80T1mc5ZX/eFUSPg==
  • Thread-topic: feature request - prevent user stupidity (eg mine)

I foolishly made the following typo:

"
disk = [ 'phy:/dev/vg00/virt-smtp1-root,0301,w',
'phy:/dev/vg00/virt-smtp1-root,0302,w' ]
"

instead of:

"
disk = [ 'phy:/dev/vg00/virt-smtp1-root,0301,w',
'phy:/dev/vg00/virt-smtp1-swap,0302,w' ]"

(the type was that the same Dom0 block device is used twice in the first
example)

Which was working great until I did a 'mkswap /dev/hda2' inside the
domain, which really fscked things up :(

Given that there is almost no way you would ever want to publish the
same block device to the same virtual domain more than once, would there
be any value in flagging that as an error when you try and start the
domain?

Thanks

James


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.