Jump to content
XPEnology Community

QNAP auf eigener Hardware


fa2k

Recommended Posts

13 hours ago, XAXISNL said:

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/"

I will try x72 hero. x88 (1288) hero at least requires licence. 

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
On 12/7/2023 at 10:48 AM, FrankS said:

Der Versuch, /dev/sda3 zu mounten, ist fehlgeschlagen. <Jemand ne idee?
 

 Die links zur QNAP firmware sind nicht erreichbar , und wenn die script nicht die image datei nicht herunterladen kann kommt der fehler. Reboot und neu versuch aber mit richtigen url . 

 

Habe bei mir auf einem alten pc mit intel CPU laufen bekommen, nach 2 tagen veruschen. 

 

 

 

 

Screenshot 2023-12-24 224940.png

Screenshot 2023-12-24 225130.png

Link to comment
Share on other sites

Le 05/04/2020 à 20:11, Dreadnought a dit :

 

Ich teste das gerade auf meinem Mac in Parallels. Da es es auch ein e1000e Netzwerkadapter, im ersten Schritt die Files downloaden geht auch super aber dann findet der Qfinder nichts oder wie connecte ich mich nach der Installation? 

Hello

I try to install qnap under optiplex-380.

but after make the create qnap boot, and reboot, it don't find the eternet card.

i think it the "e1000e" in a boot the problem.

how change the paramters? haox used the integrated motherbord card?

 

best regard.

Link to comment
Share on other sites

On 12/30/2023 at 1:20 PM, armitage59 said:

Hello

I try to install qnap under optiplex-380.

but after make the create qnap boot, and reboot, it don't find the eternet card.

i think it the "e1000e" in a boot the problem.

how change the paramters? haox used the integrated motherbord card?

 

best regard.

you can edit the vm config files directly with a text editor and change e1000 to e1000e.

Link to comment
Share on other sites

  • 2 weeks later...

Hallo Liebe User

ich habe mir sogut wie alles durchgelsen von dem Thema weil ich meine alte Qnap mit einem Eigenbau ablösen wolte habe ein alten DELL PC den ich dafür nutzen wolte aber habe keine wirkliche Analeitung gefunden und welche Daten brauche ich jetzt zum ende hin um alles einzurichten könnt ihr mir da weiter Helfen das ich da leichter rein komme in das Thema

 

würde mich freuen wen mir da jemand direkt helfen kann um den PC mit QTS zum laufen zu bekommen

 

vielen Dank

Link to comment
Share on other sites

17 hours ago, Wikinger91 said:

könnt ihr mir da weiter Helfen das ich da leichter rein komme in das Thema

vieleicht hilft ja ein video

"How to install QNAP NAS on VMWare in pc."

https://www.youtube.com/watch?v=VCElcA6CdBI

 

es gab in einem qnap.zip mit beiden images (img/vmdk) auch mal eine pdf anleitung wie man die benutzen kann

ist zwar von 2020 aber vieleicht hilft es dir, hänge ich hier mal mit an

 

Anleitung-DE.7z

 

Link to comment
Share on other sites

Hat wer eine lösung dafür? Nach jedem neustart wird die lizenz als ungültig gezeigt. Nach recherchien ,wenn ich das gut verstanden habe passiert dass weil das system glaubt dass die festplatten aus einem anderem Qnap system stammen. Ich glaube dass die seriennummer muss irgendwie "eingeprägt" werden.  Ich habe schon in meinem model.conf irgendeine seriennummer aus dem internet eingegeben , hilft aber nicht. Weisst zufällig wer in welcher datei ist die seriennummer? Oder wird aus dem BIOS ausgelesen,generiert oder was auch immer.

Screenshot 2024-01-25 135247.png

Link to comment
Share on other sites

  • 1 month later...

hi,

 

ich habe das projekt gefunden und wollte es mal testen...

 

ich habe dazu einen alten lenovo ts server und den stick erstellt.

ich "hänge" aktuell in den Seilen bei der Angabe des Boot-Stick/HDD

 

Die HDD, wo es drauf soll ist sda

 

lrwxrwxrwx    1 root     root             0 Jan  3 08:04 sda -> ../devices/pci0000:00/0000:00:17.0/ata7/host6/target6:0:0/6:0:0:0/block/sda/
 

 

Das Modul A352 ist der SATA HBA lt. Intel.

 

tc@box:~$ lspci -vt
-[0000:00]-+-00.0  Intel Corporation Device 3ec6
           +-01.0-[05]--
           +-08.0  Intel Corporation Skylake Gaussian Mixture Model
           +-12.0  Intel Corporation Device a379
           +-14.0  Intel Corporation Device a36d
           +-14.2  Intel Corporation Device a36f
           +-15.0  Intel Corporation Device a368
           +-15.1  Intel Corporation Device a369
           +-16.0  Intel Corporation Device a360
           +-16.1  Intel Corporation Device a361
           +-16.4  Intel Corporation Device a364
           +-17.0  Intel Corporation Device a352
           +-1b.0-[06-0b]----00.0-[07-0b]--+-00.0-[08]----00.0  Samsung Electronics Co Ltd Device a808
           |                               +-04.0-[09]----00.0  Samsung Electronics Co Ltd Device a808
           |                               +-08.0-[0a]----00.0  Samsung Electronics Co Ltd Device a808
           |                               \-0c.0-[0b]----00.0  Samsung Electronics Co Ltd Device a808
           +-1c.0-[01-02]----00.0-[02]----00.0  Matrox Electronics Systems Ltd. MGA G200e [Pilot] ServerEngines (SEP1)
           +-1c.1-[03]--+-00.0  Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe
           |            \-00.1  Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe
           +-1c.4-[04]----00.0  LSI Logic / Symbios Logic MegaRAID Tri-Mode SAS3408
           +-1d.0-[0c]--
           +-1e.0  Intel Corporation Device a328
           +-1f.0  Intel Corporation Device a309
           +-1f.4  Intel Corporation Device a323
           \-1f.5  Intel Corporation Device a324
 

beim booten (TVS-872 QuTS Hero) bleibe ich aber immer hängen 

 

image.thumb.png.c009b0f0d0d0345f839a9e8f1d0ed7cc.png

 

in der model.conf habe ich folgendes drin..

 

 

[System Disk 1]
DEV_BUS = B00:D23:F0
PCI_SWITCH_PORT = 0
PCI_BRIDGE_PORT = 1
DEV_PORT = 6
SLOT_NAME = Disk 1

 

 

btw...wie erstellt Ihr alle die "model.conf" ? geht das automatisch? Ich hatte mir eine hier im Forum gesucht und die angepasst...

 

Link to comment
Share on other sites

Posted (edited)
On 3/7/2024 at 6:00 PM, laopo said:

hi,

 

ich habe das projekt gefunden und wollte es mal testen...

 

ich habe dazu einen alten lenovo ts server und den stick erstellt.

ich "hänge" aktuell in den Seilen bei der Angabe des Boot-Stick/HDD

 

Die HDD, wo es drauf soll ist sda

 

lrwxrwxrwx    1 root     root             0 Jan  3 08:04 sda -> ../devices/pci0000:00/0000:00:17.0/ata7/host6/target6:0:0/6:0:0:0/block/sda/
 

 

Das Modul A352 ist der SATA HBA lt. Intel.

 

tc@box:~$ lspci -vt
-[0000:00]-+-00.0  Intel Corporation Device 3ec6
           +-01.0-[05]--
           +-08.0  Intel Corporation Skylake Gaussian Mixture Model
           +-12.0  Intel Corporation Device a379
           +-14.0  Intel Corporation Device a36d
           +-14.2  Intel Corporation Device a36f
           +-15.0  Intel Corporation Device a368
           +-15.1  Intel Corporation Device a369
           +-16.0  Intel Corporation Device a360
           +-16.1  Intel Corporation Device a361
           +-16.4  Intel Corporation Device a364
           +-17.0  Intel Corporation Device a352
           +-1b.0-[06-0b]----00.0-[07-0b]--+-00.0-[08]----00.0  Samsung Electronics Co Ltd Device a808
           |                               +-04.0-[09]----00.0  Samsung Electronics Co Ltd Device a808
           |                               +-08.0-[0a]----00.0  Samsung Electronics Co Ltd Device a808
           |                               \-0c.0-[0b]----00.0  Samsung Electronics Co Ltd Device a808
           +-1c.0-[01-02]----00.0-[02]----00.0  Matrox Electronics Systems Ltd. MGA G200e [Pilot] ServerEngines (SEP1)
           +-1c.1-[03]--+-00.0  Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe
           |            \-00.1  Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe
           +-1c.4-[04]----00.0  LSI Logic / Symbios Logic MegaRAID Tri-Mode SAS3408
           +-1d.0-[0c]--
           +-1e.0  Intel Corporation Device a328
           +-1f.0  Intel Corporation Device a309
           +-1f.4  Intel Corporation Device a323
           \-1f.5  Intel Corporation Device a324
 

beim booten (TVS-872 QuTS Hero) bleibe ich aber immer hängen 

 

 

in der model.conf habe ich folgendes drin..

 

 

[System Disk 1]
DEV_BUS = B00:D23:F0
PCI_SWITCH_PORT = 0
PCI_BRIDGE_PORT = 1
DEV_PORT = 6
SLOT_NAME = Disk 1

 

 

btw...wie erstellt Ihr alle die "model.conf" ? geht das automatisch? Ich hatte mir eine hier im Forum gesucht und die angepasst...

 

 

On 3/7/2024 at 6:00 PM, laopo said:

...gelöst....Man(n) sollte auch nicht [Disk 1] sondern [Boot Disk 1] anpassen....dann klappts auch mit QuTS Hero als TVS-872XT

 

[Boot Disk 1]
DISK_DRV_Type = ATA
DEV_BUS=B00:D23:F0
DEV_PORT = 6

 

Edited by laopo
Link to comment
Share on other sites

  • 1 month later...

I have this system loaded Cstate disabled C1E disabled only using UEFI with LSI 9211-8i IT mode and HBA  see it load up in Boot up fine. The Disk shows up but getting errors  disk is  saying conflict even when its the only disk installed and when other disk are installed it shows them up as external drives not sure why...

 

image.thumb.png.99f0d9e298d502e01b5128f4722e5a9f.png WhatsAppImage2024-04-19at10_51.19_16534e7a.jpg.40b8450e68bb239d874e9aecb2e5b0c9.jpg

Link to comment
Share on other sites

check your drive numbering/calculation within the model.conf

 

"

[System Disk 1]
DEV_BUS=B00:D23:F0
DEV_PORT = 0
ERR_LED = EC:1
PRESENT_LED = EC:1
LOCATE_LED = EC:1
SLOT_NAME = Disk 1


[System Disk 2]
DEV_BUS=B00:D23:F0
DEV_PORT = 1
PCI_SWITCH_PORT = 0
ERR_LED = EC:2
PRESENT_LED = EC:2
LOCATE_LED = EC:2
SLOT_NAME = Disk 2

"
 

Also exclude the "boot disk" in "system disk"

 

[Boot Disk 1]
DISK_DRV_Type = ATA
DEV_BUS=B00:D23:F0
DEV_PORT = 6

 

in my example system (https://lenovopress.lenovo.com/lp1548-thinksystem-st250-v2) there are 8 SATA connector  numbered from 0 to 7 while i connected my boot ssd to port 6...so i have 7 HDD/SSD slots assingend with dev_port 0-5,7

With your HBA it is the same just find the correct numbering and exclude your boot disk from system disk

 

Link to comment
Share on other sites

3 hours ago, snoopy78 said:

check your drive numbering/calculation within the model.conf

 

"

[System Disk 1]
DEV_BUS=B00:D23:F0
DEV_PORT = 0
ERR_LED = EC:1
PRESENT_LED = EC:1
LOCATE_LED = EC:1
SLOT_NAME = Disk 1


[System Disk 2]
DEV_BUS=B00:D23:F0
DEV_PORT = 1
PCI_SWITCH_PORT = 0
ERR_LED = EC:2
PRESENT_LED = EC:2
LOCATE_LED = EC:2
SLOT_NAME = Disk 2

"
 

Also exclude the "boot disk" in "system disk"

 

[Boot Disk 1]
DISK_DRV_Type = ATA
DEV_BUS=B00:D23:F0
DEV_PORT = 6

 

 

in my example system (https://lenovopress.lenovo.com/lp1548-thinksystem-st250-v2) there are 8 SATA connector  numbered from 0 to 7 while i connected my boot ssd to port 6...so i have 7 HDD/SSD slots assingend with dev_port 0-5,7

With your HBA it is the same just find the correct numbering and exclude your boot disk from system disk

 

 

 

 

I see 11 disk but they show up as external disk not internal disk is that something special I have to do to get them to show up as Internal 

 

So these values should increment by 1 for each disk

ERR_LED = EC:#
PRESENT_LED = EC:#
LOCATE_LED = EC:#

 

 

Why is this under Disk 2 but not under Disk 1

PCI_SWITCH_PORT = 0

 

Link to comment
Share on other sites

Ein sehr interessanter Thread. Ich besitze einige QNAP Geräte. Ich möchte ein altes Backup TS-412 ersetzen weil es QTS 5.x nicht mehr unterstützt und die Festplattenkapazität auf 16TB begrenzt ist. Die Installation soll auf einem ASRock J3455-ITX Mainboard erfolgen. Der freie PCIe Slot ist mit einem ASN1064 SATA Controller bestückt. Eingesetzt werden sollen 8 gebrauchte 4TB HGST Ultrastar HDDs die immer noch gute S.M.A.R.T Werte haben. Das Gerät soll zum 2ten Backup der wichtigen Daten der anderen NAS dienen.

 

Es gibt natürlich Nachteile dieser Methode, wie keine verzögerte Einschaltreihenfolge der Platten nur ein 1GB Netzwerk Anschluss und das bei QTS Updates Hand angelegt werden muss, aber als reines Backupsystem, was nur bei bedarf läuft kann ich gut damit leben.

 

Dieser Hardware entspricht vermutlich ein TS-853BU vermutlich am Besten. lspci liefert folgende Werte:

tc@box:~$ lspci -tvvnn
-[0000:00]-+-00.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge [8086:5af0]
           +-02.0  Intel Corporation Device [8086:5a85]
           +-0e.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster [8086:5a98]
           +-0f.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine [8086:5a9a]
           +-12.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller [8086:5ae3]
           +-13.0-[01]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
           +-13.1-[02]--
           +-13.2-[03]----00.0  ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612]
           +-13.3-[04]----00.0  ASMedia Technology Inc. Device [1b21:1064]
           +-15.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI [8086:5aa8]
           +-1f.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface [8086:5ae8]
           \-1f.1  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller [8086:5ad4]

 

Ich habe mit dem QNAP-BOOT-EN-v1.00.img begonnen. In my_create_qnap_boot ist folgendes eingetragen:

# TS-853BU
MODEL_TYPE="QY670_QY721_10_10"
PATCHED_FIRMWARE="TS-X53BU_20240402-5.1.6.2722"
DOWNLOAD_URL="https://eu1.qnap.com/Storage/TS-X53BU/"

 

Mit der attachten model.conf werden alle 8 SATA-Ports und HDDs erkannt und das System lässt sich damit einrichten. Folgende Probleme habe ich noch:

  • Die 2x4GB Speicherriegel werden nicht richtig erkannt. Nach dem ersten Einrichten über das Web Interfache gibt es eine Fehlermeldung, das die RamDisk nicht eingerichtet werden konnte. Das System muss dann unbedingt rebootet werden! Der Speicher wird dann zwar immer noch nicht richtig erkannt aber es stehen offensichtlich 7GB zur Verfügung. Nach dem Reboot funktioniert dann auch das Einrichten von Speicherpools und Volumes.
    Ich habe in der model.conf dezimale und hex Notation für das RAM versucht, das ändert daran aber nichts.
  •  Die Mainboard Sensoren für Temperatur werden nicht korrekt ausgelesen.

Hat da Jemand Tipps für mich?

 

Wegen des vereinfachten Firmware Updates würde ich auch gerne das ochsen OX Image nutzen. Mit der gleichen model.conf dauert das Booten aber ewig und schlussendlich landet man bei einem (none) prompt. Das System wurde also nicht korrekt erkannt. Kann das noch an einer fehlerhaften model.conf liegen? Was mich auch noch stört, ist das das Image die Boot Partition auf einer SATA Festplatte anlegen möchte. Ich brauche aber die 8 Anschlüsse für das RAID. Geht das Booten auch irgendwie auf USB-Stick oder einem USB-SATA Adapter?

 

Vielen Dank für Hilfe und Tipps.

 

model.conf

Link to comment
Share on other sites

Found this out my LSI with HBA expander so how would i map that?

 

 

 

ls -al /sys/block /sd* . shows you the mount points with the ports

 

lrwxrwxrwx  1 root root 0 Apr 21 01:44 nvme0n1 -> ../devices/pci0000:00/0000:00:1c.0/0000:04:00.0/nvme/nvme0/nvme0n1
lrwxrwxrwx  1 root root 0 Apr 21 01:44 sda -> ../devices/pci0000:00/0000:00:01.1/0000:02:00.0/host0/port-0:0/expander-0:0/port-0:0:0/end_device-0:0:0/target0:0:0/0:0:0:0/block/sda
lrwxrwxrwx  1 root root 0 Apr 21 01:44 sdb -> ../devices/pci0000:00/0000:00:01.1/0000:02:00.0/host0/port-0:0/expander-0:0/port-0:0:1/end_device-0:0:1/target0:0:1/0:0:1:0/block/sdb
lrwxrwxrwx  1 root root 0 Apr 21 01:44 sdc -> ../devices/pci0000:00/0000:00:01.1/0000:02:00.0/host0/port-0:0/expander-0:0/port-0:0:2/end_device-0:0:2/target0:0:2/0:0:2:0/block/sdc
lrwxrwxrwx  1 root root 0 Apr 21 01:44 sdd -> ../devices/pci0000:00/0000:00:01.1/0000:02:00.0/host0/port-0:0/expander-0:0/port-0:0:3/end_device-0:0:3/target0:0:3/0:0:3:0/block/sdd
lrwxrwxrwx  1 root root 0 Apr 21 01:44 sde -> ../devices/pci0000:00/0000:00:01.1/0000:02:00.0/host0/port-0:0/expander-0:0/port-0:0:4/end_device-0:0:4/target0:0:4/0:0:4:0/block/sde
lrwxrwxrwx  1 root root 0 Apr 21 01:44 sdf -> ../devices/pci0000:00/0000:00:01.1/0000:02:00.0/host0/port-0:0/expander-0:0/port-0:0:5/end_device-0:0:5/target0:0:5/0:0:5:0/block/sdf
lrwxrwxrwx  1 root root 0 Apr 21 01:44 sdg -> ../devices/pci0000:00/0000:00:01.1/0000:02:00.0/host0/port-0:0/expander-0:0/port-0:0:6/end_device-0:0:6/target0:0:6/0:0:6:0/block/sdg
lrwxrwxrwx  1 root root 0 Apr 21 01:44 sdh -> ../devices/pci0000:00/0000:00:01.1/0000:02:00.0/host0/port-0:0/expander-0:0/port-0:0:7/end_device-0:0:7/target0:0:7/0:0:7:0/block/sdh
lrwxrwxrwx  1 root root 0 Apr 21 01:44 sdj -> ../devices/pci0000:00/0000:00:17.0/ata6/host6/target6:0:0/6:0:0:0/block/sdj
tc@ubuntu:~$ 

Edited by medric
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...