Can't Mount More than One Drive

  • I had a set of four old 4TB drives sitting around, so I bought a few enclosures and a hub so I could build an OMV NAS from a Pi 4 for experimentation. I can see all four drives in the Disks page, and was able to wipe all 4, and in the File Systems page I was able to format them all as EXT4. After formatting though only one drive at a time will show up in the File Systems page. If I mount it, it will show me another disk as unmounted. When I try to mount that one it refreshes and shows me the disk I had originally mounted as mounted.


    I suspect that the issue is the enclosure (https://www.amazon.com/gp/product/B01JNLCC7U/), because it shows all four drives as having the same serial number. Can anyone confirm?

  • Additional info, I ordered new external enclosures (https://www.amazon.com/gp/product/B00GAML7OK) and moved sda1 to the new enclosure. When I booted back up I can see the original enclosure is missing, with serial number appended to the model. I deleted that device, and put sdb in one of the new enclosures as well. When I go look at the drives in the Drives menu they both show the same serial number on this enclosure as well. Going back to file system, again, I only see one sda, and sdb is missing.


    Before I spend more time and money on more enclosures that may or may not actually work, is there a way to manually mount a drive without the serial appended so that I can work around this issue?

  • Another update:


    After some digging (with a screwdriver) I determined that both the Vantec and Orico used JMS578 chips, and those bogus serial numbers were coming from the CIM values being passed by... I guess the firmware? The serial and model being reported by SMART were correct.


    I decided to give this one more shot using a new enclosure (https://www.amazon.com/gp/product/B076HNWDMX) based on the ASM1153E. This time I'm getting bogus models, but legitimate serials. Because the drives I'm using were identical the duplicate model names are effectively a non-issue for this project. Having accurate models would just be a "nice to have" this time.


    With the serial number issues sorted I was able to get all four drives to mount. Still need to do some more testing but at this point I think I'm good to go.

  • I have same problem.

    My situation: Raspberry Pi 4 4GB, Raspbian Buster and install OMV 5.3.8-1, 2x HDD 3,5" WD Red 3TB, 2x SATA to USB 3.0 powered cable, RAID1 (sda+sdb) with Ext4

    Everithing works, but in GUI - Disks I can not see both HDDs, only /dev/sdb so I can not set power management for both disks and S.M.A.R.T diagnostic.

    Disks.png

    pasted-from-clipboard.png


    But in RAID Management I can see both HDDs

    pasted-from-clipboard.png


    and File system is good mounted

    pasted-from-clipboard.png


    Command outputs:


    pi@RPI-Server:~ $ sudo cat /proc/mdstat

    Personalities : [raid1]

    md0 : active raid1 sda1[0] sdb1[1]

    2930132992 blocks super 1.2 [2/2] [UU]

    bitmap: 0/22 pages [0KB], 65536KB chunk


    unused devices: <none>


    pi@RPI-Server:~ $ lsusb

    Bus 002 Device 003: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge

    Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

    Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    pi@RPI-Server:~ $ lsblk

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

    sda 8:0 0 2,7T 0 disk

    `-sda1 8:1 0 2,7T 0 part

    `-md0 9:0 0 2,7T 0 raid1 /srv/dev-disk-by-id-md-name-RPI-Server-0

    sdb 8:16 0 2,7T 0 disk

    `-sdb1 8:17 0 2,7T 0 part

    `-md0 9:0 0 2,7T 0 raid1 /srv/dev-disk-by-id-md-name-RPI-Server-0

    mmcblk0 179:0 0 29,7G 0 disk

    |-mmcblk0p1 179:1 0 256M 0 part /boot

    `-mmcblk0p2 179:2 0 29,5G 0 part /


    pi@RPI-Server:~ $ blkid

    /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="69D5-9B27" TYPE="vfat" PARTUUID="d9b3f436-01"

    /dev/mmcblk0p2: LABEL="rootfs" UUID="24eaa08b-10f2-49e0-8283-359f7eb1a0b6" TYPE="ext4" PARTUUID="d9b3f436-02"

    /dev/sda1: UUID="a148be5a-b019-2984-bca6-8c00001b4f79" UUID_SUB="4ac3c3c4-7535-ab84-d17b-9b972c979c6f" LABEL="RPI-Server:0" TYPE="linux_raid_member" PARTUUID="6029ccdc-dcd5-40ae-85ab-0e2fcc0421c0"

    /dev/sdb1: UUID="a148be5a-b019-2984-bca6-8c00001b4f79" UUID_SUB="ee468938-fd0e-d802-9d93-1eb25ae396c5" LABEL="RPI-Server:0" TYPE="linux_raid_member" PARTUUID="32edbc8b-344e-48ec-839b-9e35da4e99b4"

    /dev/md0: LABEL="Data" UUID="912b2bac-4d72-4ab7-a49e-49019fd44617" TYPE="ext4"


    pi@RPI-Server:~ $ sudo fdisk -l

    ...

    Disk /dev/sda: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors

    Disk model: Tech

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes

    Disklabel type: gpt

    Disk identifier: DB38515C-1267-4C0C-B595-E962A3F49B8A


    Device Start End Sectors Size Type

    /dev/sda1 2048 5860532223 5860530176 2,7T Linux filesystem



    Disk /dev/sdb: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors

    Disk model: Tech

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes

    Disklabel type: gpt

    Disk identifier: BF4F6A0F-AC5B-4CAF-9C56-C077AA3E10B6


    Device Start End Sectors Size Type

    /dev/sdb1 2048 5860532223 5860530176 2,7T Linux filesystem



    Disk /dev/md0: 2,7 TiB, 3000456183808 bytes, 5860265984 sectors

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes



    Some ideas? thank you for your help

  • I found the "workaround" to my issue, and why your drives mount but only show up once.


    If you don't specify a volume label the label will be defaulted to a concatenation of model/serial. If you specify unique volume labels for each drive then it will see them all properly in the file systems page.


    I could also tell when I was playing around with this stuff that the bad serials are coming from CIM, but the system is able to see the correct serial number via SMART.

  • Hi, thanks for your reply. Please could you more specific how to specify unique volume labels for each drive? I have two drives in raid 1 so you mean specify mount point for md0 in fstab?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!