On Wed, Sep 18, 2024 at 10:40 AM Dragan Milivojević <galileo@xxxxxxxxxxx> wrote: > > > I tried to mount as read-only and got the following error: > > > > bill@bill-desk:~$ sudo mount -o ro /dev/md127 /media/bill/ARRAY3 > > mount: /media/bill/ARRAY3: wrong fs type, bad option, bad superblock > > on /dev/md127, missing codepage or helper program, or other error. > > What do you get when you do blkid /dev/md127 blkid /dev/md127 returns nothing: bill@bill-desk:~$ blkid /dev/md127 bill@bill-desk:~$ blkid | sort /dev/md1: UUID="8f645711-4d2b-42bf-877c-a8c993923a7c" BLOCK_SIZE="4096" TYPE="ext4" /dev/nvme0n1p1: UUID="291e31b9-fe93-4ca2-a55e-925bd52e22ce" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="4c04494c-aeae-4026-b619-319a47ea9b73" /dev/nvme0n1p2: UUID="3D01-0380" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="a04ff739-1730-4a58-8831-77b32e6e8f97" /dev/sda1: UUID="00cb57fc-23e1-ccd3-af14-db4398b61d97" UUID_SUB="1f8a44fb-1f2d-602d-885b-0f8d0d993989" LABEL="bill-desk:1" TYPE="linux_raid_member" PARTUUID="8fcf7b2e-9f81-464c-bec4-12b6fa522098" /dev/sdb1: UUID="00cb57fc-23e1-ccd3-af14-db4398b61d97" UUID_SUB="b6c783f4-aadf-ab7a-e272-6885ac2b8165" LABEL="bill-desk:1" TYPE="linux_raid_member" PARTUUID="3bbdd3f0-65f2-4b73-8466-138416d715f7" /dev/sdc1: UUID="00cb57fc-23e1-ccd3-af14-db4398b61d97" UUID_SUB="5f32fb20-4db9-b554-1736-4d88d3de79b3" LABEL="bill-desk:1" TYPE="linux_raid_member" PARTUUID="a57f49a2-b490-4d7a-b2e4-ef1fd35b4fea" /dev/sdd1: UUID="00cb57fc-23e1-ccd3-af14-db4398b61d97" UUID_SUB="4204adc8-7a63-46c6-44ed-2959bbfcb92b" LABEL="bill-desk:1" TYPE="linux_raid_member" PARTUUID="10920175-cafa-4fa1-bd24-3eee1ceadaad" /dev/sde1: UUID="8a321996-5beb-9c15-4c3f-cf5b6c8b6005" UUID_SUB="b22c0936-bec1-5431-b61f-c45452468eec" LABEL="bill-desk:2" TYPE="linux_raid_member" PARTUUID="afa8f851-6dd8-4939-b0a0-8d4a941eb1cd" /dev/sdf1: UUID="8a321996-5beb-9c15-4c3f-cf5b6c8b6005" UUID_SUB="dde8f226-617b-a075-0e4a-c08034067fc8" LABEL="bill-desk:2" TYPE="linux_raid_member" PARTUUID="23fc5af9-a323-4dac-ba07-d71edfe8dc97" /dev/sdg1: UUID="8a321996-5beb-9c15-4c3f-cf5b6c8b6005" UUID_SUB="42de9d6f-948d-537a-4176-c549534bd3c7" LABEL="bill-desk:2" TYPE="linux_raid_member" PARTUUID="8c469209-3b5e-40d5-9b09-adbe701db0db" /dev/sdh1: UUID="8a321996-5beb-9c15-4c3f-cf5b6c8b6005" UUID_SUB="56ca9b88-840c-c04e-cfed-c8a695804962" LABEL="bill-desk:2" TYPE="linux_raid_member" PARTUUID="994e38fb-9bc7-4882-84d8-18e4eb7bb9ae" /dev/sdi1: UUID="8a321996-5beb-9c15-4c3f-cf5b6c8b6005" UUID_SUB="9500b832-c47a-be89-adbf-f33493800ea9" LABEL="bill-desk:2" TYPE="linux_raid_member" PARTUUID="0d2c9546-7204-4f82-8038-e42c06baeab3" /dev/sdj1: UUID="8a321996-5beb-9c15-4c3f-cf5b6c8b6005" UUID_SUB="408f8551-5047-76ce-9066-9f13b2ab0de4" LABEL="bill-desk:2" TYPE="linux_raid_member" PARTUUID="9c90f79f-d588-4c50-80d2-f9660ae03287" /dev/sdk1: UUID="8a321996-5beb-9c15-4c3f-cf5b6c8b6005" UUID_SUB="c85fabbb-03da-1c1b-2362-35f9fe1e3da9" LABEL="bill-desk:2" TYPE="linux_raid_member" PARTUUID="06177e2c-e030-418b-bae4-1d0243fce01d" /dev/sdl1: UUID="8a321996-5beb-9c15-4c3f-cf5b6c8b6005" UUID_SUB="ffb9bedc-4cd0-f3ea-e5c7-e98467f8929d" LABEL="bill-desk:2" TYPE="linux_raid_member" PARTUUID="fc41c31d-fd6e-4433-8373-4a7104b88b80" /dev/sdm1: UUID="8a321996-5beb-9c15-4c3f-cf5b6c8b6005" UUID_SUB="9e3a942a-e9e8-0c16-648c-0d37000b04fe" LABEL="bill-desk:2" TYPE="linux_raid_member" PARTUUID="414d1111-1f1d-4448-8c51-2a6f4c582b4f" /dev/sdn1: UUID="8a321996-5beb-9c15-4c3f-cf5b6c8b6005" UUID_SUB="7d7be15e-062c-df3b-cef5-a56ec0dee5fc" LABEL="bill-desk:2" TYPE="linux_raid_member" PARTUUID="dbb4786e-d396-41de-a5e0-51d48b3069e0" /dev/sdo1: UUID="acabcdd0-80cd-4e5e-bf0c-f483ae58c0c2" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="f979fc82-a8c2-4a44-898c-8a5fb9b3d3af" I don't know if that is because at the moment, /dev/md127 is auto-read-only: bill@bill-desk:~$ cat /proc/mdstat Personalities : [raid10] [raid0] [raid1] [raid6] [raid5] [raid4] md1 : active raid10 sdb1[1] sdd1[3] sdc1[2] sda1[0] 15627786240 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU] bitmap: 0/117 pages [0KB], 65536KB chunk md127 : active (auto-read-only) raid10 sdh1[3] sdn1[5] sdf1[1] sdk1[8] sdg1[2] sdl1[9] sdj1[7] sdm1[4] sde1[0] sdi1[6] 46877236224 blocks super 1.2 512K chunks 2 near-copies [10/10] [UUUUUUUUUU] resync=PENDING bitmap: 0/88 pages [0KB], 262144KB chunk unused devices: <none> Again, md1 is an unrelated array that is functioning fine. I have the same issues with md127 when md1 is disconnected. > > > > I have noticed a lot of this type of stuff in dmesg, repeating every 5 > > minutes or so: > > > > [ 1212.352770] sd 3:0:4:0: [sde] tag#3885 CDB: ATA command pass > > through(16) 85 06 20 00 00 00 00 00 00 00 00 00 00 00 e5 00 > > [ 1212.353063] sd 3:0:4:0: [sde] tag#3885 CDB: ATA command pass > > through(16) 85 06 20 00 00 00 00 00 00 00 00 00 00 00 e5 00 > > [ 1212.353077] mpt2sas_cm0: sas_address(0x4433221104000000), phy(4) > > [ 1212.353084] mpt2sas_cm0: enclosure logical id(0x500062b200d564c0), slot(4) > > [ 1212.353090] mpt2sas_cm0: handle(0x0015), > > ioc_status(success)(0x0000), smid(3886) > > [ 1212.353096] mpt2sas_cm0: request_len(0), underflow(0), resid(0) > > [ 1212.353101] mpt2sas_cm0: tag(0), transfer_count(0), > > sc->result(0x00000002) > > [ 1212.353105] mpt2sas_cm0: scsi_status(check condition)(0x02), > > scsi_state(autosense valid )(0x01) > > [ 1212.353110] mpt2sas_cm0: [sense_key,asc,ascq]: > > [0x01,0x00,0x1d], count(22) > > [ 1212.353248] sd 3:0:9:0: [sdj] tag#3886 CDB: ATA command pass > > ATA command pass through is usually from smart monitoring tools but > this looks more like drive resets. Cables maybe? I've been using them for some time with no trouble. I have the same type cables on the other array that is fine. While troubleshooting, I have unplugged and replugged the cables several times, both at the drive end and the controller card end. Upon boot, the card always reports the correct number of drives.