fsdfwe 发表于 2016-5-27 09:16:17

在VMWS中给xensenver添加硬盘命令

as for how to create disk in VMWS , i don't want to descrice here . just show the command how to forward disk in xenserver !!!!!!!
any questions ,email to me bilinyee@163.com
# fdisk -l

WARNING: GPT (GUID PartitionTable) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNUParted.


Disk /dev/sda: 85.8 GB,85899345920 bytes
256 heads, 63 sectors/track,10402 cylinders
Units = cylinders of 16128 *512 = 8257536 bytes

   Device Boot      Start         End      BlocksIdSystem
/dev/sda1   *          1       10403    83886079+ eeEFI GPT

Disk /dev/sdb: 30.0 GB,30064771072 bytes
255 heads, 63 sectors/track,3655 cylinders
Units = cylinders of 16065 *512 = 8225280 bytes

Disk /dev/sdb doesn't contain avalid partition table

Disk /dev/sdc: 28.9 GB,28991029248 bytes
255 heads, 63 sectors/track,3524 cylinders

xe sr-create content-type=user device-config:device=/dev/sdbhost-uuid=d9861550-ed0c-418e-a690-d33440d0562b name-label="Local Storeage2" shared=false type=ext


here is another command for how to get UUID





页: [1]
查看完整版本: 在VMWS中给xensenver添加硬盘命令