xenserver 没有 local storage 本地磁盘

 

[root@xcp-ng-192 ~]# fdisk -l
Disk /dev/sda: 1497.2 GB, 1497198755840 bytes, 2924216320 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: A6FCA0BE-410D-4939-87F0-0D85816499A8


#         Start          End    Size  Type            Name
 1     46139392     83888127     18G  Microsoft basic 
 2      8390656     46139391     18G  Microsoft basic 
 3     87033856   2924216286    1.3T  Linux LVM       
 4     83888128     84936703    512M  BIOS boot       
 5         2048      8390655      4G  Microsoft basic 
 6     84936704     87033855      1G  Linux swap      

Disk /dev/sdb: 31.0 GB, 31004295168 bytes, 60555264 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xcad4ebea

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb4   *         256    60555263    30277504    c  W95 FAT32 (LBA)

######## 注 :  3     87033856   2924216286    1.3T  Linux LVM       这个磁盘最大,为本地磁盘,也就是 sda3#################


[root@xcp-ng-192 ~]# xe host-list
uuid ( RO)                : 5cba324a-f1bc-4bf2-8cb1-8b06a1ee9151
          name-label ( RW): xcp-ng-192.168.5.107
    name-description ( RW): Default install


[root@xcp-ng-192 ~]# xe sr-create content-type=user device-config:device=/dev/sda3 host-uuid=5cba324a-f1bc-4bf2-8cb1-8b06a1ee9151 name-label="Local storage" shared=false type=lvm
d2208f22-3ca6-780d-6585-61349c235b46
[root@xcp-ng-192 ~]# 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

疯飙的蜗牛

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值