Jump to content
XPEnology Community

flyride

Moderator
  • Posts

    2,438
  • Joined

  • Last visited

  • Days Won

    127

Posts posted by flyride

  1. 3 hours ago, Andy Miller said:

     

    OK i have it working after changing the max drives etc to 24 disks and 0xffffff

     

    it now reads 8 disks and 4 ssds but my disks don't start until disk 9, disks 1-8 are blank. is there any way i can remove those so my disks start at 1??

     

    Thanks.

     

    Just because you have "disabled" the disks in the BIOS doesn't mean that the ports don't still exist.  Is it reporting 8 disks or 8 ports?  It gives the opportunity to override if you want not to map those ports, but if you take the default, it will do what you ask.  I think it is doing exactly what it is supposed to do - map 8 ports of the SATA controller, then add in the HBA ports afterward.

     

    Again, post the output from ./rploader.sh satamap if you want more advice.

     

  2. 19 hours ago, Deniska said:

    Pocopico, thank you very much for article!

     

    I've done it via articles. 

    And I see via SSH: 
    $ cat /proc/mdstat | grep md4
    md4 : active raid1 nvme0n1p3[0]
    $ sudo fdisk -l | grep md4
    Disk /dev/md4: 461.3 GiB, 495272329216 bytes, 967328768 sectors
     

    But i can't see it DSM before and after reboot:(. 

    After reboot i lost /dev/md4 :(

    Maybe DSM has some security options. I will try to find reason. 

     

     

    Especially under DSM7, I don't recommend using that guide to create Storage Pool or volumes.

     

    There is DSM "space" metadata that is not created when it is done this totally manual way.  DSM only partially understands what you've built.  All the DSM array tools ONLY work with SATA.  If any event that involves array management occurs, your array will be crashed.

     

    IMHO the only "SAFE" way to use NVMe other than cache is to virtualize it and show it to DSM as SATA.

    • Like 1
  3. 30 minutes ago, rojoone2 said:

    tc@box:~$ ./rploader.sh serialgen DS3622xs+ realmac now 008E25711489

     

    FWIW the script doesn't recognize "now" anymore and you cannot specify the mac address with realmac.  It just takes the actual MAC from the hardware.  Same result though, as long as you were typing in the hardware MAC.

     

    ./rploader.sh serialgen DS3622xs+ realmac

     

    The only way to specify your own MAC address that is not the hardware MAC is to edit user_config.json yourself.

    • Like 1
  4. Yeah, you should see a lot more than that.  Not much to diagnose with there.

     

    Hopefully someone else has some ideas too.

     

    I would get down to simple.  Disable 10Gbe controllers and one of your 1 Gbe adapters.  Get a SATA disk and get a basic DSM install going with that.  Then gradually add in the other components until you find the one that is misbehaving.

     

    Sorry I don't have better suggestions but there isn't much here to go on.

  5. The compile looks good, although I am not sure what device you are booting TinyCore from as you have no SATA disks and nothing apparently attached to the HBA? (EDIT: obviously booting form USB)

     

    Odds are that the loader is kernel panicking on boot for some reason.  Serial console will help with that.

  6. satamap only actually cares about AHCI SATA cards.  It probably doesn't see the H310's if they are classified as HBA's. There is an update in the pipeline that will show the drives attached to HBA's because this is a common concern, even though it may not change the outcome.

     

    If you post the satamap output I could confirm it for you.

  7. Serial console is always helpful to see what is going on. EDIT: your Supermicro probably supports serial redirection so you might be able to view the serial output from a Java console launched via the IPMI.

     

    Are you certain the loader is compiling without errors?

     

    If you have an Intel CT (e1000e) card you could drop that in temporarily see if you can find what is going wrong with the i350.

  8. - Outcome of the update: SUCCESSFUL (mostly)

    - DSM version prior update: DS3617xs 6.2.3-25426 U3 (Jun 1.03b loader)

    - Loader version and model: TCRP 0.8 DS3622xs+

    - Using custom extra.lzma: NO

    - Installation type: VM ESXi 7

    - Additional comments: driver conflict encountered with Mellanox ConnectX-3 10Gbe NIC

     

    This particular system is very complex - RDM NVMe boot drives, RAIDF1, passthrough SATA and 10Gbe network and multiple storage pools. It is not unusual to encounter problems with this system even after extensive testing and other successful upgrades. The Mellanox card created a driver conflict, resulting in an incomplete upgrade. The system would boot to junior mode and instantly ACPI shutdown as soon as any http connection was made to the system.

     

    Finally a reinstall was forced (synodsdefault --reinstall), which allowed me to see that TCRP was injecting the mlx4/mlx5 modules on top of the native Mellanox support in the DS36xx platforms.  After rebuilding the loader WITHOUT the Mellanox extension, the system operated normally and 10Gbe network was functional with the DSM native Mellanox drivers. The Storage Pools and package/Docker configurations survived the event completely intact, so no significant harm was done.

    • Like 4
  9. 10 minutes ago, Deniska said:

    But first task - to see NVME disk in DSM. Do you have any ideas?

     

    There are different methods of making NVMe functional depending on the platform.  I doubt all combinations have been tested so you may need to experiment.

     

    On DS918+, lib file needs to be patched.

    On DS3622xs+, there is a configuration file for the NVMe PCIe addresses

    DS3617xs is probably like DS3622xs+

    DVA3221 method is not known, although I saw a post saying no lib file so it may be configuration file like DS3622xs+

     

    On DS920+ and DS1621+, NVMe is supposed to be configured with Device Tree.

    If the Device Tree patchdtc script that is part of the loader build gets it wrong, DSM may not find it.  Underlying Linux will probably see it, but DSM will not.

     

    This command reports detailed information about the NVMe PCIe address: udevadm info /dev/nvme0n1

     

    You should review the Device Tree configuration and see if it is consistent with what is returned by udevadm.

    https://xpenology.com/forum/topic/62894-only-hdd-in-bay-1-are-found-by-storage-manager/#comment-285068

     

    If necessary, you can edit the Device Tree manually but it is not fun:

    https://xpenology.com/forum/topic/62894-only-hdd-in-bay-1-are-found-by-storage-manager/?do=findComment&comment=285075

     

    You could try the lib file and configuration file methods, although I doubt they will work for DS1621+

    • Like 2
  10. 8 minutes ago, Deniska said:

    I can add second HDD after rebuild Loader by "./rploader.sh build v1000-7.1.0-42661 manual"  

    How i understand i must rebuild loader if i add new hdd. Is it correct?

    With TCRP and DS1621+, if adding more drives to ports that have not yet been used, the loader will need to be rebuilt.

     

    8 minutes ago, Deniska said:

    Could you help with NVME disk? Where can i find it in DSM (I hasn't experience about it in DSM, maybe i can't find some option)? 

     I can't find any notes about NVME in DSM.

    DSM only supports NVMe as cache.  In Storage Manager, if you can see the NVMe device, it is working.

     

    image.thumb.png.c54b0f8aecbcb8c036c3c04784680e59.png

     

    8 minutes ago, Deniska said:

    Will DSM use only 4 cores instead of 6? 

    DS1621+ supports up to 16 threads (8 cores + 8 hyperthreads, or 16 cores).

  11. On 6/4/2022 at 2:42 PM, mhl07 said:

    Ok, I figured out what I am missing... After creating a build a I had to copy MAC address into VMXNET3 card in ESXi.

     

    Yes, there are circumstances that require this.  A better solution is to use the "realmac" argument in the MAC assignment during the loader creation.  @Acidflash this is probably your issue as well. The tutorial has been amended to assist the user with this decision.

  12. 1 minute ago, alex.god007 said:

    Nope, I just changed the config and rebooted. Should I use standard ./rploader.sh build syntax to update loader?

     

    Yes, any changes to user_config.json require a rebuild of the loader to take effect.

  13. Wow.  I thought mine was full with 11 drives :-)

    Your placement of the M.2 SATA drives in the fan space is innovative.

     

    I used a split AC/DC fanless power supply so the rectifier module and heat sink live in that area.

     

    IMG_2847.thumb.JPG.26682b128c1422894de315e23bebb8f6.JPG

     

    IMG_2864.thumb.JPG.6fd80f12aec25cb9f4b4b41e53e36d0d.JPG

     

    I do like the result but building the thing was quite the project. 

     

    It's good to see others who share the mild obsession. Good luck with the 10Gbe upgrade. Cheers

    • Like 1
  14. There is a second riser slot position, but I have not populated it. I think it would interfere with the use of the other slots (see below).

     

    The CX-3 is the MCX311A. It's technically a HP rebranded card 516937-B21. The ports are dual SFP+ which I prefer because it removes a lot of heat from the PHY to the case/chassis instead of being trapped inside. Then DAS cables to connect to 10Gbe guests, as they are inexpensive.

     

    The motherboard has 8x SATA ports and 2x Intel Gbe ports so I don't need slots for those.  I used the remaining slots for NVMe U.2 interfaces.

     

    Here's a few more pics so you can see the arrangement.

     

    Img_2884.jpg.8441936567d7997a99ae3128a46d785b.jpg

     

    Img_2877.thumb.jpg.c4b05d2f83fdeb5cbd2d9e7431a88dff.jpg

     

    Img_3246.thumb.jpg.c8c68a897388bcf5369ed36eff3d7cab.jpg

  15. 2 hours ago, techhit said:

    Hi, I upgraded one of my boxes fine earlier tonight running a Asrock Q1900-ITX.

     

    However, I'm getting a warning when trying to upgrade my Asrock Q2900-ITX (which has four SATA ports) on the motherboard.  My SATA controller card isn't detected

    RAID bus controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)

     

    tc@box:~$ ./rploader.sh satamap

    Found "00:13.0 Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)"
    Detected 2 ports/1 drives. Override # of ports or ENTER to accept <2>

    Found "04:00.0 ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)"
    Detected 2 ports/2 drives. Override # of ports or ENTER to accept <2>

    Recommended settings:
    SataPortMap=22
    DiskIdxMap=0002

    <snip>

    Found SATA Controller : pciid 1b21d00000612  Required Extension :
    No matching extension

     

    I haven't proceeded with the upgrade.  Any advice on what to do from here?

     

    As you can see the PCI ids of the controllers that are reported by satamap are different than the error.  The red highlighting is yours.

    My understanding is that this particular controller is part of the RedPill model and no extension is required. You might have missed that notice on your previous build.

     

    I think you are okay to proceed.  However, if you use the full test procedure as outlined in the tutorial, however, your risk would be minimal.

     

    EDIT: Are you saying you have a third controller?  The 1b21.0612 is the second on-board controller, which has TCRP support.  Did you build with the manual argument?  If so, omit "manual" and see if you get a different result.

     

    If you really have a third controller and it is an HBA, it may not behave as an AHCI SATA controller.  If that is the case, it is treated as a SCSI controller which is unaffected by sataportmap/diskidxmap.  There is a pending update for rploader.sh which will confirm the status of HBAs in satamap because that question is a common one.

     

    On 5/22/2022 at 11:47 PM, flyride said:

    Migration

     

    DSM 6.x (with Jun’s loader) can be migrated to DSM 7.x using TCRP. Do not attempt to upgrade from 6.x to 7.x using the Control Panel.

     

    Complete the following tasks prior to migration:

    1. Read through this reference thoroughly
    2. Remove the 6.x loader USB and array disks (making sure to mark their order)
    3. Build a TCRP loader on a new USB to practice and confirm the build process
      (with all the same NAS hardware that will be used for the upgrade)
    4. Trial install DSM 7.x to a test HDD/SDD
    5. Verify DSM is working perfectly with all the NAS hardware
    6. Remove the test USB and HDD/SDD, and restore the 6.x loader USB and array disks
    7. VERIFY BACKUP of all data saved elsewhere before attempting an in-place upgrade

    The actual migration process is simple:

    1. Remove any existing SSD cache configuration (strongly recommended)
    2. Shut down the NAS
    3. Replace the existing 6.x USB loader with the TCRP 7.x USB loader from the process above
    4. Boot the NAS and complete the DSM Migration when prompted
    5. Restore SSD cache configuration as desired
    • Like 1
  16. 6 hours ago, alex.god007 said:

    Still no luck. I've seen that only 2 interfaces are up and running. 

    image.png.80e78162b7e19a212e82efa91d9bdd29.png

    At synoinfo.conf I've updated option to 4:

    maxlanport="4" 

     

    In grub.conf I see netif_num option and needed MAC addresses:

     

    image.thumb.png.1c7e085cc1c81a0db0a6f351a28f3398.png

    Maybe I'm missing something? Or should I move to another platform one more time ? :D

     

    Did you build the loader again after making the user_config.json change?  Anything in user_config.json will override what is in synoinfo.conf

  17. 2 minutes ago, alex.god007 said:

    By the way: it is possible to add one more MAC address to user_config.json file to enable one more port on 10 gigabit NIC? my.sh finds that there are more than one NIC in system and generates mac for second port, but script doesn't get info that there are 2 ports in that second NIC  

    What are the proper steps to update settings and apply them to the current installation? 

    Should I boot up to Linux and use postupdate option after making changes in user_config.json ?

     

    The issue is that DS918+ has limit of two lan ports from Synology.

    Add maxlanport=4 or whatever you need in user_config.json and TCRP will patch it on bootup.

     

    MAC address configuration is optional, it uses the hardware addresses by default.  I don't really know what my.sh does with it.

     

×
×
  • Create New...