Jump to content
XPEnology Community

Tutorial: Fix skipped HDD numbers


Recommended Posts

Hey there,


this has been asked a couple of times but the only answers (if someone answered at all) were like, "Why bother? It works."


In the picture above, both installations work. My inner monk (as well as my boss) prefer the right cabinet, however.



In the following example I'll refer to a 10-bay system, if your setup is different, you can easily edit the numbers.

I assume, you have successfully installed XPEnology on your box, following Polanskiman's tutorial.

If you encountered any problems with drives not being recognized, or displayed as eSATA, etc. you checked Hedii's guide, as well.



Still, your drives show up like this, maybe because your chipset would support 6 drives but your mainboard only offers 4 connectors.



Drives 1,3,5,6 are connected to the mainboard, drives 7-10 to an additional 4-port controller, drives 11 and 12 to another 2-port controller.

Drives 2 and 4 look like this in your dmesg:

[    1.835796] ata1: SATA max UDMA/133 abar m2048@0xfe525000 port 0xfe525100 irq 47
[    1.835802] ata2: DUMMY
[    1.835806] ata3: SATA max UDMA/133 abar m2048@0xfe525000 port 0xfe525200 irq 47
[    1.835807] ata4: DUMMY
[    1.835812] ata5: SATA max UDMA/133 abar m2048@0xfe525000 port 0xfe525300 irq 47
[    1.835813] ata6: SATA max UDMA/133 abar m2048@0xfe525000 port 0xfe525400 irq 47




Playing around with internalportcfg (Hedii's guide) did not help you, getting rid of these "DUMMY" ports.

Luckily Jun's loader has a feature called "sata_remap", mentioned here and here, that - well - does what it says.

To fill the gaps, you can remap the drives from your 2-port controller.

Reboot and press "C" in the GRUB menu. (See Polanskiman's guide "Step 7" and "Note 4" if you need help).

At the command line enter:

append "sata_remap=10>1:11>3:1>10:3>11"

Be aware, that counting starts at 0, here. 10>1 will remap drive 11 to 2, 11>3 will remap drive 12 to 4, etc.



After the next reboot, it will look like this:


As you can see, the drives are now numbered sequentially from 1 to 10 with the two DUMMYs on ports 11 and 12.



Now it's easy to hide them. Like in Hedii's guide open an SSH connection to your NAS and edit as follows:

# first file to modify
vi /etc/synoinfo.conf

# second file to modify
vi /etc.defaults/synoinfo.conf

# In each file look for the line

# and change it to



Reboot and you finally have a 10-bay box displaying 10 sequentially numbered drives:



Hope, this will help one or the other.


Best Regards,



Edited by Polanskiman
Removed an additional picture
  • Like 7
  • Thanks 1
Link to comment
Share on other sites

  • 6 months later...

Join the conversation

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

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...