Jump to content
XPEnology Community

ryancc

Rookie
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ryancc

  1. 4 hours ago, manepape said:

    Thanks ryancc

     

    I have done mine with 2 nvme pcie.

     

     udevadm info /dev/nvme0n1
    P: /devices/pci0000:00/0000:00:01.0/0000:01:00.0/nvme/nvme0/nvme0n1

     udevadm info /dev/nvme1n1
    P: /devices/pci0000:00/0000:00:01.1/0000:02:00.0/nvme/nvme1/nvme1n1

     

    Edited  /etc.defaults/.extensionPorts and add my two pci1

    pci1="0000:00:01.0"
    pci1="0000:00:01.1"

     

    Thanks all for your good job.

    cache ssd.jpg

    extensionPorts.jpg

    nvme cache.jpg

    Nice! Good to hear that both of yours are working.

  2. So I migrated my xpenology server from DS918+ model to DS3622xs, and the nvme cache no longer works since the model number no longer exist in libsynonvme.so.1. I dig into the libsynonvme.so.1 and found it might check your pcie location to have the nvme drive works properly. After inspect the file, I found it just checks /etc.defaults/.extensionPorts and we just need to modify that.

     

    Here are the steps:

    1. Check your nvme pci location(in my case it's 0000:00:01.0😞

    udevadm info /dev/nvme0n1

    P: /devices/pci0000:00/0000:00:01.0/0000:01:00.0/nvme/nvme0/nvme0n1

     

    2. Modify /etc.defaults/.extensionPorts to have the port number match your nvme location.

    cat /etc.defaults/extensionPorts

    [pci]

    pci1="0000:00:01.0"

    3. I did not even restart and the nvme cache drive already appears.  Hope this helps anyone who is looking to solve this.

    image.thumb.png.e75c4846e5970af46b59bf878cca01b8.png

    image.thumb.png.6703d50f1faba92b9cf45c54e7955f7e.png

     

     

    Update:

     

    If you worry a system update will revert this modification, just add a startup script with root:

    sed -i 's/03.2/[your_pci_last_three_digs]/g' /etc.defaults/extensionPorts

     

    In this way, no matter what version you goes, this will always stay.

    • Like 7
    • Thanks 7
×
×
  • Create New...