在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 [email protected]

[root@xenserver-kchfofdl ~]# 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      Blocks  Id  System

/dev/sda1   *          1       10403    83886079+ ee  EFI 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

wKioL1dGuTGTpJUiAAGytI5Mhr8607.jpg



本文出自 “Erick WAY” 博客,谢绝转载!

你可能感兴趣的:(VMWS,xensenver,硬盘命令)