很多服务器都会多块盘或者做了Raid的多个虚拟磁盘,而安装xenserver后,他只会默认挂载第一快盘,也就是安装xenServer系统的那块。
那剩余的其他盘,怎么挂载上去做虚拟机的存储用呢?或者后期新增一块磁盘该如何操作呢?
1、用命令查看下自己的host-uuid
[root@xenserver7-dell /]# xe host-list
查看所有硬盘了的id
ls -l /dev/disk/by-id/
xe sr-create host-uuid=9d5d5568-c08a-42ea-9458-b1f4516702ad content-type=user type=lvm device-config:device=/dev/sdb shared=false name-label="Disk 2" sm-config:allocation=thin
xe sr-create host-uuid=699c99c7-4804-467d-aeda-188747322e53 content-type=user type=lvm device-config:device=/dev/sdc shared=false name-label="Disk 3" sm-config:allocation=thin
2、查看需要挂载的分区
[root@xenserver7-dell /]# ls /dev/disk/by-path
<img src="http://www.hzgome.cn