系统:XenServer7.4
安装XenSserver7.4后,Local Storage,挂载的盘过小,需要增加一块硬盘进行扩容。
操作如下:
首先获取 host-uuid
[root@xenserver-mpfstcla ~]# xe host-list
uuid ( RO) : e60429a3-b459-4e56-9df5-df6c311f6dac
一、删除旧的Local Storage,找到对应的 sr-uuid(可选)
1、找对对应的sr-uuid
[root@xenserver-mpfstcla ~]# xe sr-list
uuid ( RO) : ad19e235-5fed-4286-c7ef-7cf0f5c0e4e7
name-label ( RW): Local storage
name-description ( RW):
host ( RO): xenserver-10.192.48.138
type ( RO): ext
content-type ( RO): user
2、删除sr-uuid,提示被占用
[root@xenserver-mpfstcla ~]# xe sr-forget uuid=4b124ec4-6c66-c66b-d62d-38f5a1917841
The SR is still connected to a host via a PBD. It cannot be destroyed or forgotten.
sr: 4b124ec4-6c66-c66b-d62d-38f5a1917841 (Removable storage)
# 查看被占用的信息
#xe pbd-list