Jump to content
XPEnology Community

XAXISNL

Rookie
  • Posts

    6
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by XAXISNL

  1. I've attached that last model.conf config I used in a Proxmox VM that worked.

     

    Proxmox VM config:

    i440fx

    OVMF (UEFI)

    Boot image as sata5

    Drives passed through by /dev/by-id method

    NIC: e1000 when running the tinycore loader, changed to e1000e when booting the Qnap image itself.

    model.conf

  2. When using the TS-x72 as the model, QuTS Hero doesn't need a license.

     

    I used to run the TS-672 with QuTS Hero virtually within proxmox and it did run stable. The only reason I stopped using it was because I could only get the disks passed through and recognized through the /dev/by-id/ method and not by passing through the whole controller, which is what I preferred. When passing the whole controller, either on a Q35 or i440fx VM, the Qnap wouldn't recognize the disks.

     

    Also, using virtio drivers for the NIC resulted in a working system, but the dashboard and resource monitor wouldn't show any stats for the NIC. No biggie, but needing to use e1000e and disk passthrough instead of more native solutions like sata passthrough and virtio within proxmox felt like a bit of a "half baked solution".

     

    But to recap a long story, using a ts-x72 model would result in a working QuTS Hero (updateable) without license issues.

     

    MODEL_TYPE="Q0121_Q0170_17_10" PATCHED_FIRMWARE="TS-X72_20230927-h5.1.2.2534" DOWNLOAD_URL="https://eu1.qnap.com/Storage/QuTShero/TS-X72/"

    • Like 2
  3. I just did a test with DS918-7.0.1-42218 using the virtio drivers and couldn't get the transfer speed above a gigabit per second, so 100MB/s (I have a 2.5gb LAN).

     

    When I recompiled the loader with the vmxnet3 drivers and changed the nics in Proxmox to vmxnet3, transfers went up to 250MB/s

     

    It seems, despite virtio being speed-independent, DSM does cap it at 1000mb/s max.

     

    Maybe a tip for those out there using >gigabit nics.

  4. On 10/4/2021 at 4:45 PM, luckcolors said:

    I wanted to ask, has ayone got a working compiled poweroff module for DSM 6.2.3?
    Currently AHCI shutdown does not work and so you have to manually get into the dashboard for starting DSM shutdown.

     

    If someone has one i wouldn't mind helping in packaging it into a REDPill mod.

     

    As long as there is no powerbutton module, I have used a workaround in Proxmox by using hookscripts.

    When shutting down the VM from Proxmox, at the 'pre-stop phase' it SSH's into DSM and issues the 'shutdown now' command.

     

    elsif ($phase eq 'pre-stop') {
    
        # Third phase 'pre-stop' will be executed before stopping the guest
        # via the API. Will not be executed if the guest is stopped from
        # within e.g., with a 'poweroff'
    
        print "$vmid will be stopped.\n";
        print "Shutting down DSM\n";
        system("ssh -T USERNAME\@xx\.xx\.xx\.xx 'sudo shutdown now'");

     

    Works great!

    • Like 1
×
×
  • Create New...