how to boot coreos from a raid disk?

263 views
Skip to first unread message

james jiang

unread,
Oct 21, 2015, 4:16:15 AM10/21/15
to CoreOS User
i have install coreos on a raid device.
but it can not start up from the raid device, it boot from the sub radi disk(the real disk like /dev/sd*)
that's why ? can somebody give me some resolution?

i have tried these ways:
change the grub.cfg and insmod some module,but it also can not affection.

that's all.

thanks.

kyle....@coreos.com

unread,
Oct 21, 2015, 1:46:08 PM10/21/15
to CoreOS User
 You should be able to set up ROOT on software RAID, preferably with the "raid auto-detect" partition type so it is automatically discovered by the kernel. But it is not possible with the rest of the coreos boot disk as it breaks the update mechanism.

james jiang

unread,
Oct 21, 2015, 10:47:59 PM10/21/15
to CoreOS User
hello dude.
i have two solution for this.
the first is create lvm volume for raid disk.and install the os on the lvm.
the second is ref:
install the coreos on the other disk,and sync the data for the raid disk.
but these two solution i need to try.
after that, i will put the result over there.

james jiang

unread,
Oct 21, 2015, 11:14:48 PM10/21/15
to CoreOS User
the first lvm is failed to install.
the error message:

$ sudo coreos-install -d /dev/VgRaid/LvRaid -c cloud-config.yml 

Checking availability of "local-file"

Fetching user-data from datasource of type "local-file"

Downloading the signature for http://stable.release.core-os.net/amd64-usr/633.1.0/coreos_production_image.bin.bz2...

2015-05-04 10:37:52 URL:http://stable.release.core-os.net/amd64-usr/633.1.0/coreos_production_image.bin.bz2.sig [543/543] -> "/tmp/coreos-install.YKTo85nR9C/coreos_production_image.bin.bz2.sig" [1]

Downloading, writing and verifying coreos_production_image.bin.bz2...

2015-05-04 10:39:01 URL:http://stable.release.core-os.net/amd64-usr/633.1.0/coreos_production_image.bin.bz2 [139976806/139976806] -> "-" [1]

gpg: Signature made Thu Mar 26 11:07:40 2015 UTC using RSA key ID E5676EFC

gpg: key 93D2DCB4 marked as ultimately trusted

gpg: checking the trustdb

gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model

gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u

gpg: Good signature from "CoreOS Buildbot (Offical Builds) <buil...@coreos.com>" [ultimate]

blockdev: ioctl error on BLKRRPART: Invalid argument

Reply all
Reply to author
Forward
0 new messages