[Debootloaders-silo] Bug#671536: silo: Fatal "No non-faulty disks found in RAID1" on clean RAID1
Ian Crowther
ian+reportbug at comtek.co.uk
Fri May 4 21:13:33 UTC 2012
Package: silo
Version: Version: 1.4.14+git20120226-1
Severity: normal
I have a Sunfire V210 with an mdadm RAID1 /boot which could not install
silo. I suspect this was due to the RAID slot numbers, as recreating an
otherwise identical RAID let Silo move beyond that... to "File systems
other than ext2, ext3, ufs and romfs not yet supported". Finally
installing Silo seemed to require the moving mdadm metadata to the end
(not sure if this counts as a bug too).
I have access to another V210 to attempt to reproduce if it would help.
From a rescue shell:
# silo
/etc/silo.conf appears to be valid
Fatal error: No non-faulty disks found in RAID1
#cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4]
md0 : active raid1 sda1[3] sdb1[2]
184735 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sda2[0] sdb2[2]
71488154 blocks super 1.2 [2/2] [UU]
unused devices: <none>
# mdadm --query /dev/md0
/dev/md0: 180.41MiB raid1 2 devices, 0 spares. Use mdadm --detail
for more detail.
# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Wed May 2 21:47:48 2012
Raid Level : raid1
Array Size : 184735 (180.44 MiB 189.17 MB)
Used Dev Size : 184735 (180.44 MiB 189.17 MB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Thu May 3 23:15:37 2012
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Name : jude:0 (local to host jude)
UUID : 303bc4f1:df460da8:d1773d13:9c841407
Events : 130
Number Major Minor RaidDevice State
3 8 1 0 active sync /dev/sda1
2 8 17 1 active sync /dev/sdb1
# mdadm --examine /dev/sda1
/dev/sda1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 303bc4f1:df460da8:d1773d13:9c841407
Name : jude:0 (local to host jude)
Creation Time : Wed May 2 21:47:48 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 369471 (180.44 MiB 189.17 MB)
Array Size : 369470 (180.44 MiB 189.17 MB)
Used Dev Size : 369470 (180.44 MiB 189.17 MB)
Data Offset : 24 sectors
Super Offset : 8 sectors
State : clean
Device UUID : d25a9e35:84b721a1:f1085733:8ffda70c
Update Time : Thu May 3 23:46:28 2012
Checksum : 78c17cd4 - correct
Events : 130
Device Role : Active device 0
Array State : AA ('A' == active, '.' == missing)
# mdadm --examine /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 303bc4f1:df460da8:d1773d13:9c841407
Name : jude:0 (local to host jude)
Creation Time : Wed May 2 21:47:48 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 369471 (180.44 MiB 189.17 MB)
Array Size : 369470 (180.44 MiB 189.17 MB)
Used Dev Size : 369470 (180.44 MiB 189.17 MB)
Data Offset : 24 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 60430681:a542267c:793af9e0:88236f0f
Update Time : Thu May 3 23:46:28 2012
Checksum : 4f974804 - correct
Events : 130
Device Role : Active device 1
Array State : AA ('A' == active, '.' == missing)
# strace 2>&1 silo|tail -n22
munmap(0xf7f04000, 14106) = 0
uname({sys="Linux", node="jude", ...}) = 0
stat64("/etc/silo.conf", {st_mode=S_IFREG|0644, st_size=187, ...}) = 0
open("/etc/silo.conf", O_RDONLY) = 3
mmap(NULL, 187, PROT_READ, MAP_SHARED, 3, 0) = 0xf7f04000
brk(0) = 0x2a000
brk(0x4c000) = 0x4c000
munmap(0xf7f04000, 187) = 0
fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xf7f06000
stat64("/boot/second.b", {st_mode=S_IFREG|0644, st_size=53248, ...}) = 0
open("/dev/md0", O_RDONLY) = 4
ioctl(4, 0x40480911, 0xffd601e4) = 0
ioctl(4, 0x40140912, 0xffd6022c) = 0
ioctl(4, 0x40140912, 0xffd6022c) = 0
write(2, "Fatal error: ", 13Fatal error: ) = 13
write(2, "No non-faulty disks found in RAI"..., 34No non-faulty
disks found in RAID1) = 34
write(2, "\n", 1
) = 1
write(1, "/etc/silo.conf appears to be val"..., 35/etc/silo.conf
appears to be valid
) = 35
exit_group(1) = ?
Disk /dev/sda (Sun disk label): 255 heads, 63 sectors, 8924 cylinders
Units = cylinders of 16065 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda1 1 24 184747+ fd Linux raid autodetect
/dev/sda2 24 8924 71489250 fd Linux raid autodetect
/dev/sda3 0 8924 71682030 5 Whole disk
##To move past this point and get "File systems other than ext2,
ext3, ufs and romfs not yet supported":
# umount /boot
# mdadm --stop /dev/md0
# mdadm --create /dev/md0 -n2 -x0 -l1 /dev/sda1 /dev/sdb1
# mount /boot
# strace 2>&1 silo|tail -n22
stat64("/etc/silo.conf", {st_mode=S_IFREG|0644, st_size=187, ...}) = 0
lstat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/etc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/etc/silo.conf", {st_mode=S_IFLNK|0777, st_size=17, ...}) = 0
readlink("/etc/silo.conf", "../boot/silo.conf", 2048) = 17
lstat64("/etc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/etc/..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/etc/../boot", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/dev/sda1", O_RDONLY) = 4
lseek(4, 1024, SEEK_SET) = 1024
read(4,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1024) = 1024
lseek(4, 0, SEEK_SET) = 0
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
lseek(4, 8192, SEEK_SET) = 8192
read(4,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1376) = 1376
write(2, "Fatal error: ", 13Fatal error: ) = 13
write(2, "File systems other than ext2, ex"..., 67File systems other
than ext2, ext3, ufs and romfs not yet supported) = 67
## The only way to have silo install was to recreate the RAID as:
mdadm --create /dev/md0 -n2 -x0 -l1 -e 1.0 /dev/sda1 /dev/sdb1
Thanks,
More information about the Debootloaders-silo
mailing list