Skip to contentSkip to conversation

Silo on RAID 1

DISCUSSION Frans van Berckel 2 participants 4 messages Nov 26, 2017

lore
Share & tools
lore
#0 lore raw

Dear team,

How am i gonna sole this error, with a fresh Silo install on RAID 1?

~ # cat /target/boot/silo.conf

root=/dev/md1
partition=0
default=Linux
read-only
timeout0

image=/vmlinuz
label=Linux
initrd=/initrd.img

image=/vmlinuz.old
label=LinuxOLD
initrd=/initrd.img.old

~ # /target/sbin/silo -r /target

/etc/silo.conf appears to be valid
Fatal error: File systems other than ext2, ext3, ufs and romfs not yet supported

~ # df
<snap>

/dev/md0 93207 26714 61681 30% /target/boot
/dev/md1 139839652 1000748 131665692 1% /target
/dev/md2 26766048 45096 25338260 0% /target/home

~ # mount
<snap>

/dev/md0 on /target/boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl)

/dev/md1 on /target type ext4 (rw,relatime,errors=remount- ro,data=ordered)

/dev/md2 on /target/home type ext4 (rw,relatime,data=ordered)

Thanks,

Frans van Berckel

#2 lore raw
In reply to Frans van Berckel

Hi Chase,

Quoted 4 lines · chase rayfield

Shouldn't your partition index for silo be 1 if you are following this guide? Silo counts partitions 1-n not 0-n like grub etc...

https://www.unix.com/linux/141253-sparc-linux-raid1-silo.html

Are you sure? Because the Silo readme from David's tree calls ...

"Note that numbers start at 0, rather than Linux's convention of starting at 1, so sd(0,3,1) is /dev/sda2."

Please checkout docs/README.

https://git.kernel.org/pub/scm/linux/kernel/git/davem/silo.git/

Thanks for supporting,

Frans van Berckel

#3 lore raw
In reply to Frans van Berckel
Quoted 10 lines · Frans van Berckel

Hi Chase,

Are you sure? Because the Silo readme from David's tree calls ...

"Note that numbers start at 0, rather than Linux's convention of starting at 1, so sd(0,3,1) is /dev/sda2."

Please checkout docs/README.

https://git.kernel.org/pub/scm/linux/kernel/git/davem/silo.git/

A bit lower from the same readme calls...

"With old proms, you type prom paths as dev(X,Y,Z) [e.g. sd(0,3,1)]. With new proms, you type the open boot prom style strings such as /iommu/sbus/espdma/esp/sd@1,0 terminated with a semicolon (;) to specify disk. Then the partition can be specified, defaulting to the (optional) partition=Z line in the main section in silo.conf. /dev/sda2 is '2'."

But changing 0 to 1, I am still getting ...

/etc/silo.conf appears to be valid
Fatal error: File systems other than ext2, ext3, ufs and romfs not yet supported.

So I have to look over something.

Thanks,

Frans van Berckel