software (ddf1) raid problem after blown upgrade to 18.04 from 17.10
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
It appears something's gone to hell on my pair of mirrors which were ddf1 raid.
I can fsck all 17 filesystems with the live DVD image.
<pre>root@ubuntu:/home/ubuntu# dmraid -a y *
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk1" [1/2] on /dev/sdc
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk0" [1/2] on /dev/sde
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk1" [1/2] on /dev/sdb
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk0" [1/2] on /dev/sdd
root@ubuntu:/home/ubuntu# fsck -f -y /dev/mapper/ddf1_disk1p5
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mapper/ddf1_disk1p5: 22780/524288 files (0.2% non-contiguous), 338335/2097152 blocks
The data's all there safe and sound it appears, but something in the Marvell bios raid configuration isn't matching up with reality on the system.
I'd like to avoid a full cpio or dump of each filesystem and a rebuild.
root@ubuntu:/home/ubuntu# dmraid -s
*** Group superset .ddf1_disks
--> Active Subset
name : ddf1_disk0
size : 1953361280
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
--> Active Subset
name : ddf1_disk1
size : 1953361280
stride : 128
type : mirror
status : okroot@ubuntu:/home/ubuntu# dmraid -r
/dev/sdc: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sde: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdd: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdf: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0root@ubuntu:/etc# dmesg -T | grep sd
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: Attached scsi generic sg1 type 0
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] 30751744 512-byte logical blocks: (15.7 GB/14.7 GiB)
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write Protect is off
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Mode Sense: 43 00 00 00
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't root@ubuntu:/etc# dmesg -T | grep sd
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: Attached scsi generic sg1 type 0
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] 30751744 512-byte logical blocks: (15.7 GB/14.7 GiB)
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write Protect is off
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Mode Sense: 43 00 00 00
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:18 2018] sda: sda1
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Attached SCSI removable disk
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: Attached scsi generic sg2 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: Attached scsi generic sg3 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: Attached scsi generic sg4 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: Attached scsi generic sg5 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: Attached scsi generic sg6 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sdf:
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Attached SCSI disk
support DPO or FUA
I can mount and fsck the /dev/mapper/ddf1_disk1p# partitions fine
root@ubuntu:/# mount /dev/mapper/ddf1_disk1p5 /mnt
root@ubuntu:/# ls /mnt
System.map-4.13.0-38-generic initrd.img-4.15.0-15-generic
System.map-4.15.0-15-generic lost+found
abi-4.13.0-38-generic memtest86+.bin
abi-4.15.0-15-generic memtest86+.elf
config-4.13.0-38-generic memtest86+_multiboot.bin
config-4.15.0-15-generic retpoline-4.13.0-38-generic
grub vmlinuz-4.13.0-38-generic
initrd.img-4.13.0-38-generic vmlinuz-4.15.0-15-generic
root@ubuntu:/# df /mnt
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/ddf1_disk1p1 999320 179752 750756 20% /mnt
root@ubuntu:/#
Any help would be greatly appreciated...
Bill
18.04 dmraid
add a comment |Â
up vote
1
down vote
favorite
It appears something's gone to hell on my pair of mirrors which were ddf1 raid.
I can fsck all 17 filesystems with the live DVD image.
<pre>root@ubuntu:/home/ubuntu# dmraid -a y *
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk1" [1/2] on /dev/sdc
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk0" [1/2] on /dev/sde
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk1" [1/2] on /dev/sdb
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk0" [1/2] on /dev/sdd
root@ubuntu:/home/ubuntu# fsck -f -y /dev/mapper/ddf1_disk1p5
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mapper/ddf1_disk1p5: 22780/524288 files (0.2% non-contiguous), 338335/2097152 blocks
The data's all there safe and sound it appears, but something in the Marvell bios raid configuration isn't matching up with reality on the system.
I'd like to avoid a full cpio or dump of each filesystem and a rebuild.
root@ubuntu:/home/ubuntu# dmraid -s
*** Group superset .ddf1_disks
--> Active Subset
name : ddf1_disk0
size : 1953361280
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
--> Active Subset
name : ddf1_disk1
size : 1953361280
stride : 128
type : mirror
status : okroot@ubuntu:/home/ubuntu# dmraid -r
/dev/sdc: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sde: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdd: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdf: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0root@ubuntu:/etc# dmesg -T | grep sd
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: Attached scsi generic sg1 type 0
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] 30751744 512-byte logical blocks: (15.7 GB/14.7 GiB)
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write Protect is off
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Mode Sense: 43 00 00 00
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't root@ubuntu:/etc# dmesg -T | grep sd
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: Attached scsi generic sg1 type 0
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] 30751744 512-byte logical blocks: (15.7 GB/14.7 GiB)
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write Protect is off
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Mode Sense: 43 00 00 00
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:18 2018] sda: sda1
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Attached SCSI removable disk
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: Attached scsi generic sg2 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: Attached scsi generic sg3 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: Attached scsi generic sg4 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: Attached scsi generic sg5 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: Attached scsi generic sg6 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sdf:
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Attached SCSI disk
support DPO or FUA
I can mount and fsck the /dev/mapper/ddf1_disk1p# partitions fine
root@ubuntu:/# mount /dev/mapper/ddf1_disk1p5 /mnt
root@ubuntu:/# ls /mnt
System.map-4.13.0-38-generic initrd.img-4.15.0-15-generic
System.map-4.15.0-15-generic lost+found
abi-4.13.0-38-generic memtest86+.bin
abi-4.15.0-15-generic memtest86+.elf
config-4.13.0-38-generic memtest86+_multiboot.bin
config-4.15.0-15-generic retpoline-4.13.0-38-generic
grub vmlinuz-4.13.0-38-generic
initrd.img-4.13.0-38-generic vmlinuz-4.15.0-15-generic
root@ubuntu:/# df /mnt
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/ddf1_disk1p1 999320 179752 750756 20% /mnt
root@ubuntu:/#
Any help would be greatly appreciated...
Bill
18.04 dmraid
Good thing you made a boot-drive backup first.
â SDsolar
Apr 28 at 17:57
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
It appears something's gone to hell on my pair of mirrors which were ddf1 raid.
I can fsck all 17 filesystems with the live DVD image.
<pre>root@ubuntu:/home/ubuntu# dmraid -a y *
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk1" [1/2] on /dev/sdc
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk0" [1/2] on /dev/sde
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk1" [1/2] on /dev/sdb
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk0" [1/2] on /dev/sdd
root@ubuntu:/home/ubuntu# fsck -f -y /dev/mapper/ddf1_disk1p5
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mapper/ddf1_disk1p5: 22780/524288 files (0.2% non-contiguous), 338335/2097152 blocks
The data's all there safe and sound it appears, but something in the Marvell bios raid configuration isn't matching up with reality on the system.
I'd like to avoid a full cpio or dump of each filesystem and a rebuild.
root@ubuntu:/home/ubuntu# dmraid -s
*** Group superset .ddf1_disks
--> Active Subset
name : ddf1_disk0
size : 1953361280
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
--> Active Subset
name : ddf1_disk1
size : 1953361280
stride : 128
type : mirror
status : okroot@ubuntu:/home/ubuntu# dmraid -r
/dev/sdc: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sde: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdd: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdf: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0root@ubuntu:/etc# dmesg -T | grep sd
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: Attached scsi generic sg1 type 0
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] 30751744 512-byte logical blocks: (15.7 GB/14.7 GiB)
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write Protect is off
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Mode Sense: 43 00 00 00
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't root@ubuntu:/etc# dmesg -T | grep sd
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: Attached scsi generic sg1 type 0
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] 30751744 512-byte logical blocks: (15.7 GB/14.7 GiB)
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write Protect is off
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Mode Sense: 43 00 00 00
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:18 2018] sda: sda1
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Attached SCSI removable disk
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: Attached scsi generic sg2 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: Attached scsi generic sg3 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: Attached scsi generic sg4 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: Attached scsi generic sg5 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: Attached scsi generic sg6 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sdf:
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Attached SCSI disk
support DPO or FUA
I can mount and fsck the /dev/mapper/ddf1_disk1p# partitions fine
root@ubuntu:/# mount /dev/mapper/ddf1_disk1p5 /mnt
root@ubuntu:/# ls /mnt
System.map-4.13.0-38-generic initrd.img-4.15.0-15-generic
System.map-4.15.0-15-generic lost+found
abi-4.13.0-38-generic memtest86+.bin
abi-4.15.0-15-generic memtest86+.elf
config-4.13.0-38-generic memtest86+_multiboot.bin
config-4.15.0-15-generic retpoline-4.13.0-38-generic
grub vmlinuz-4.13.0-38-generic
initrd.img-4.13.0-38-generic vmlinuz-4.15.0-15-generic
root@ubuntu:/# df /mnt
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/ddf1_disk1p1 999320 179752 750756 20% /mnt
root@ubuntu:/#
Any help would be greatly appreciated...
Bill
18.04 dmraid
It appears something's gone to hell on my pair of mirrors which were ddf1 raid.
I can fsck all 17 filesystems with the live DVD image.
<pre>root@ubuntu:/home/ubuntu# dmraid -a y *
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk1" [1/2] on /dev/sdc
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk0" [1/2] on /dev/sde
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk1" [1/2] on /dev/sdb
ERROR: ddf1: wrong # of devices in RAID set "ddf1_disk0" [1/2] on /dev/sdd
root@ubuntu:/home/ubuntu# fsck -f -y /dev/mapper/ddf1_disk1p5
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mapper/ddf1_disk1p5: 22780/524288 files (0.2% non-contiguous), 338335/2097152 blocks
The data's all there safe and sound it appears, but something in the Marvell bios raid configuration isn't matching up with reality on the system.
I'd like to avoid a full cpio or dump of each filesystem and a rebuild.
root@ubuntu:/home/ubuntu# dmraid -s
*** Group superset .ddf1_disks
--> Active Subset
name : ddf1_disk0
size : 1953361280
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
--> Active Subset
name : ddf1_disk1
size : 1953361280
stride : 128
type : mirror
status : okroot@ubuntu:/home/ubuntu# dmraid -r
/dev/sdc: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sde: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdd: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0
/dev/sdf: ddf1, ".ddf1_disks", GROUP, ok, 1953394096 sectors, data@ 0root@ubuntu:/etc# dmesg -T | grep sd
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: Attached scsi generic sg1 type 0
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] 30751744 512-byte logical blocks: (15.7 GB/14.7 GiB)
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write Protect is off
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Mode Sense: 43 00 00 00
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't root@ubuntu:/etc# dmesg -T | grep sd
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: Attached scsi generic sg1 type 0
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] 30751744 512-byte logical blocks: (15.7 GB/14.7 GiB)
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write Protect is off
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Mode Sense: 43 00 00 00
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:18 2018] sda: sda1
[Thu Apr 26 01:39:18 2018] sd 7:0:0:0: [sda] Attached SCSI removable disk
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: Attached scsi generic sg2 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: Attached scsi generic sg3 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: Attached scsi generic sg4 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: Attached scsi generic sg5 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: Attached scsi generic sg6 type 0
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Write Protect is off
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Mode Sense: 00 3a 00 00
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[Thu Apr 26 01:39:24 2018] sd 5:0:0:0: [sdb] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:1:0: [sdc] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:2:0: [sdd] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sd 5:0:3:0: [sde] Attached SCSI disk
[Thu Apr 26 01:39:24 2018] sdf:
[Thu Apr 26 01:39:24 2018] sd 5:0:4:0: [sdf] Attached SCSI disk
support DPO or FUA
I can mount and fsck the /dev/mapper/ddf1_disk1p# partitions fine
root@ubuntu:/# mount /dev/mapper/ddf1_disk1p5 /mnt
root@ubuntu:/# ls /mnt
System.map-4.13.0-38-generic initrd.img-4.15.0-15-generic
System.map-4.15.0-15-generic lost+found
abi-4.13.0-38-generic memtest86+.bin
abi-4.15.0-15-generic memtest86+.elf
config-4.13.0-38-generic memtest86+_multiboot.bin
config-4.15.0-15-generic retpoline-4.13.0-38-generic
grub vmlinuz-4.13.0-38-generic
initrd.img-4.13.0-38-generic vmlinuz-4.15.0-15-generic
root@ubuntu:/# df /mnt
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/ddf1_disk1p1 999320 179752 750756 20% /mnt
root@ubuntu:/#
Any help would be greatly appreciated...
Bill
18.04 dmraid
asked Apr 26 at 2:20
Bill Pechter
412
412
Good thing you made a boot-drive backup first.
â SDsolar
Apr 28 at 17:57
add a comment |Â
Good thing you made a boot-drive backup first.
â SDsolar
Apr 28 at 17:57
Good thing you made a boot-drive backup first.
â SDsolar
Apr 28 at 17:57
Good thing you made a boot-drive backup first.
â SDsolar
Apr 28 at 17:57
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
I don't know if this will help you but try to use this https://sourceforge.net/projects/boot-repair-cd/ , i manage to fix my raid0 boot on ubuntu 16.04 i don't know if it will work on 18.04. Right now i want to upgrade from 16.04 to 18.04 i hope it will not blow my raid0 boot
It fixes some problems but the RAID seems to require manually runningdmraid -ay
.
â Paweà  Szczur
Jul 9 at 23:40
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I don't know if this will help you but try to use this https://sourceforge.net/projects/boot-repair-cd/ , i manage to fix my raid0 boot on ubuntu 16.04 i don't know if it will work on 18.04. Right now i want to upgrade from 16.04 to 18.04 i hope it will not blow my raid0 boot
It fixes some problems but the RAID seems to require manually runningdmraid -ay
.
â Paweà  Szczur
Jul 9 at 23:40
add a comment |Â
up vote
0
down vote
I don't know if this will help you but try to use this https://sourceforge.net/projects/boot-repair-cd/ , i manage to fix my raid0 boot on ubuntu 16.04 i don't know if it will work on 18.04. Right now i want to upgrade from 16.04 to 18.04 i hope it will not blow my raid0 boot
It fixes some problems but the RAID seems to require manually runningdmraid -ay
.
â Paweà  Szczur
Jul 9 at 23:40
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I don't know if this will help you but try to use this https://sourceforge.net/projects/boot-repair-cd/ , i manage to fix my raid0 boot on ubuntu 16.04 i don't know if it will work on 18.04. Right now i want to upgrade from 16.04 to 18.04 i hope it will not blow my raid0 boot
I don't know if this will help you but try to use this https://sourceforge.net/projects/boot-repair-cd/ , i manage to fix my raid0 boot on ubuntu 16.04 i don't know if it will work on 18.04. Right now i want to upgrade from 16.04 to 18.04 i hope it will not blow my raid0 boot
answered Apr 28 at 12:11
Marian
11
11
It fixes some problems but the RAID seems to require manually runningdmraid -ay
.
â Paweà  Szczur
Jul 9 at 23:40
add a comment |Â
It fixes some problems but the RAID seems to require manually runningdmraid -ay
.
â Paweà  Szczur
Jul 9 at 23:40
It fixes some problems but the RAID seems to require manually running
dmraid -ay
.â Paweà  Szczur
Jul 9 at 23:40
It fixes some problems but the RAID seems to require manually running
dmraid -ay
.â Paweà  Szczur
Jul 9 at 23:40
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028245%2fsoftware-ddf1-raid-problem-after-blown-upgrade-to-18-04-from-17-10%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Good thing you made a boot-drive backup first.
â SDsolar
Apr 28 at 17:57