[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] how to create SR on the FC/GPT/LVM
2012/5/21 Alexander Voropay <alexander.voropay@xxxxxxxxx>: > How to create a new StorageRepository on the FibreChannel device > formatted with GPT partitions and with LVM ? The 'xe sr-create type=ext' creates SR exactly as required: - creates LVM on the arbitrary partition - formats this LogicalVolume with ext3fs (type=ext) - creates SR and PBD for this partition The logic resides into the /opt/xensource/sm/EXTSR.py >>'description': 'SR plugin which represents disks as VHD files stored on a >>local EXT3 filesystem, created inside an LVM volume', # ls -l /dev/disk/by-id/ total 0 lrwxrwxrwx 1 root root 9 May 21 14:54 scsi-3600144f094cdf1c200004fb6438b0001 -> ../../sdb lrwxrwxrwx 1 root root 10 May 21 14:54 scsi-3600144f094cdf1c200004fb6438b0001-part1 -> ../../sdb1 ... # xe host-list uuid ( RO) : 136dd20c-cf64-4c59-b954-f171c9d4e063 name-label ( RW): xenserver name-description ( RW): Default install of XenServer # uuidgen 4afccf70-82f5-4dfe-9576-5ccb2b2ca198 Tada! # xe sr-create host-uuid=136dd20c-cf64-4c59-b954-f171c9d4e063 type=ext content-type="user" name-label="FC storage" shared=false device-config-device=/dev/disk/by-id/scsi-3600144f094cdf1c200004fb6438b0001-part1 4afccf70-82f5-4dfe-9576-5ccb2b2ca198 -- -=AV=- _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |