[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] [XCP] XCP 1.5 Beta Create Local SR
On Tue, 2012-02-21 at 18:24 -0600, hga@xxxxxxxxxxxxxx wrote: > From: "Nick Couchman" <Nick.Couchman@seakr">Couchman@xxxxxxxxx> > Date: Tue, 21 Feb 2012 16:47:10 -0700 > > I installed XCP 1.5 Beta, and it partitioned by HD > correctly but did not actually create a local SR. The > creation of a local SR through the "xe" command is > sufficiently complicated enough that I'm not confident > about doing it - could someone post the list of steps (or > a link to a document that outlines how) to create an SR > using a local disk volume? > > Here's what I puzzled out for XCP 1.1 by looking at the > default sr's params; I found the device id (for the whole > disk) and used it in the sr-create command: > > cat /proc/partitions -> > > major minor #blocks name > > 8 0 1953514584 sda > [...] > > ls -l /dev/disk/by-id -> > > total 0 > [...] > lrwxrwxrwx 1 root root 9 Aug 11 16:21 scsi-35000c50033e2ff7f -> ../../sda > [...] > > xe sr-create name-label="Local storage slow 01" type=lvm content-type=user > shared=false device-config:device=/dev/disk/by-id/scsi-35000c50033e2ff7f > > The only significant difference in the sr params compared to > the original automatically created on installation "Local > storage" sr was this, which was in the default but not in the > one I created: > > other-config (MRW): i18n-original-value-name_label: Local storage; > i18n-key: local-storage > > - Harold Thanks, Harold, Interestingly in the XCP 1.5 beta release I do not see /dev/disk/by-id, so I wasn't able to use that. Instead, I came up with the following command: xe sr-create content-type=user device-config:device=/dev/sda3 host-uuid=47f5967d-76c9-4e66-b6e6-543afcf1c19e name-label="Local storage" shared=false type=lvm This should have been done at install time by the installer, so not sure if this is a bug or just a glitch during the install I was doing? -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |