cockpit icon indicating copy to clipboard operation
cockpit copied to clipboard

storage: Multiple distinct devices merged into "Multipathed devices"

Open PythonCoderAS opened this issue 1 year ago • 1 comments

Explain what happens

I have 3 identical SATA SSDs (free from MicroCenter) connected via 3 USB-SATA adapters (same model of adapter). One of them is the boot drive, and the other two are merged via LVM into a single volume. The LVM volumes show up, but only the boot drive shows up, and the other drives are "Multipathed devices" under the boot drive.

  1. Buy multiple SATA HDD/SDDs
  2. Use multiple USB-SATA adapters of the same model
  3. View in storage
Screenshot 2024-12-01 at 12 26 22 AM Screenshot 2024-12-01 at 12 26 36 AM

Udisk log:

/org/freedesktop/UDisks2/block_devices/sda:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sda
    DeviceNumber:               2048
    Drive:                      '/org/freedesktop/UDisks2/drives/SATA_SSD_05A232601240'
    HintAuto:                   true
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 false
    Id:                         by-id-scsi-35000000000000001
    IdLabel:                    
    IdType:                     
    IdUUID:                     
    IdUsage:                    
    IdVersion:                  
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sda
    ReadOnly:                   false
    Size:                       240057409536
    Symlinks:                   /dev/disk/by-diskseq/9
                                /dev/disk/by-id/scsi-35000000000000001
                                /dev/disk/by-id/scsi-SSATA_SSD__05A232601240
                                /dev/disk/by-id/usb-SATA_SSD_Best_USB_Device_042106232A50-0:0
                                /dev/disk/by-id/wwn-0x5000000000000001
                                /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.1:1.0-scsi-0:0:0:0
                                /dev/disk/by-path/pci-0000:00:1d.0-usbv2-0:1.1:1.0-scsi-0:0:0:0
    UserspaceMountOptions:      
  org.freedesktop.UDisks2.PartitionTable:
    Partitions:         /org/freedesktop/UDisks2/block_devices/sda3
                        /org/freedesktop/UDisks2/block_devices/sda2
                        /org/freedesktop/UDisks2/block_devices/sda1
    Type:               gpt
/org/freedesktop/UDisks2/block_devices/sdb:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdb
    DeviceNumber:               2064
    Drive:                      '/org/freedesktop/UDisks2/drives/SATA_SSD_05A232601240'
    HintAuto:                   true
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 false
    Id:                         by-id-scsi-35000000000000001
    IdLabel:                    
    IdType:                     
    IdUUID:                     
    IdUsage:                    
    IdVersion:                  
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sdb
    ReadOnly:                   false
    Size:                       240057409536
    Symlinks:                   /dev/disk/by-diskseq/10
                                /dev/disk/by-id/scsi-35000000000000001
                                /dev/disk/by-id/scsi-SSATA_SSD__4E7132601240
                                /dev/disk/by-id/usb-SATA_SSD_Best_USB_Device_0421062317E4-0:0
                                /dev/disk/by-id/wwn-0x5000000000000001
                                /dev/disk/by-path/pci-0000:00:1a.0-usb-0:1.2:1.0-scsi-0:0:0:0
                                /dev/disk/by-path/pci-0000:00:1a.0-usbv2-0:1.2:1.0-scsi-0:0:0:0
    UserspaceMountOptions:      
  org.freedesktop.UDisks2.PartitionTable:
    Partitions:         /org/freedesktop/UDisks2/block_devices/sdb1
    Type:               dos
/org/freedesktop/UDisks2/block_devices/sdd:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdd
    DeviceNumber:               2096
    Drive:                      '/org/freedesktop/UDisks2/drives/SATA_SSD_05A232601240'
    HintAuto:                   true
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 false
    Id:                         by-id-scsi-35000000000000001
    IdLabel:                    
    IdType:                     
    IdUUID:                     
    IdUsage:                    
    IdVersion:                  
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sdd
    ReadOnly:                   false
    Size:                       240057409536
    Symlinks:                   /dev/disk/by-diskseq/14
                                /dev/disk/by-id/scsi-35000000000000001
                                /dev/disk/by-id/scsi-SSATA_SSD__E56013701240
                                /dev/disk/by-id/usb-SATA_SSD_Best_USB_Device_04210731065E-0:0
                                /dev/disk/by-id/wwn-0x5000000000000001
                                /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:0
                                /dev/disk/by-path/pci-0000:00:1d.0-usbv2-0:1.2:1.0-scsi-0:0:0:0
    UserspaceMountOptions:      
  org.freedesktop.UDisks2.PartitionTable:
    Partitions:         /org/freedesktop/UDisks2/block_devices/sdd1
    Type:               dos

Version of Cockpit

327-1~bpo24.04.1

Where is the problem in Cockpit?

Storage

Server operating system

Ubuntu

Server operating system version

24.04.1

What browsers are you using?

Chrome

System log

No response

PythonCoderAS avatar Dec 01 '24 05:12 PythonCoderAS

I have exactly the same issue with 3 Crucial NVME connected using the Terramaster Hybrid. The three drives are actually the same model and are correctly displayed on lsblk. But on cockpit they are displayed as a single multipath device.

Screenshot 2024-12-06 at 11 07 49

dodobardo avatar Dec 06 '24 10:12 dodobardo