美文网首页
pve 群晖无损挂载本地硬盘为esata

pve 群晖无损挂载本地硬盘为esata

作者: 一只特例独行de猪 | 来源:发表于2020-06-14 10:54 被阅读0次

    挂载本地硬盘到群晖

    ls /dev/disk/by-id #查看硬盘id
    qm set 100 -sata2 /dev/disk/by-id/ata-LS600_120G_33333333000000000042 # 100代表群晖虚拟机编号,ata-LS600_120G_33333333000000000042代表磁盘编号
    
    image.png

    重启群晖
    查看插槽情况


    image.png

    第7、8个为引导和系统盘
    那我们设置第9个以后为esata盘

    internalportcfg="0xff"  对应二进制值“000011111111” # 从右往左 8个1代表前8个为sata盘
    esataportcfg="0xfff00"  对应二进制值“11111111111100000000” # 从右往左 第9个到最后面的都为esata盘
    
    image.png

    修改internalportcfg和esataportcfg

    vi /etc.defaults/synoinfo.conf
    
    image.png

    重启群晖后本地硬盘挂载成功


    image.png

    参考:https://www.10bests.com/dsm-change-sata-to-esata/
    https://tool.oschina.net/hexconvert

    相关文章

      网友评论

          本文标题:pve 群晖无损挂载本地硬盘为esata

          本文链接:https://www.haomeiwen.com/subject/nghxxktx.html