[FreeBSD] 挂载多路径存储

来源:互联网 发布:des算法的轮函数 编辑:程序博客网 时间:2024/06/05 00:24


 

 

总结:

1

gmultipath status          #查看多路径

2

camcontrol devlist         #查看lun

3

camcontrol inquiry da0 -S      #查看是否同一设备

4

camcontrol inquiry da20 -S

5

camcontrol inquiry da40 -S

6

gmultipath label -v hp1 /dev/da0 /dev/da20 /dev/da40     #创建hp1

7

gmultipath label -v hp20 /dev/da19 /dev/da39 /dev/da59 /dev/da79

8

zpool create newstorage /dev/multipath/hp1 … hp20   #创建zpool  newstorage

 

zfs create newstorage/newstorage

zfs list

原创粉丝点击