CoreOS Container Linux fans,
I have a computer with two disks, both of which are installed with CoreOS Container Linux 2345.3.0.
After booting, I can see that some content's mounted from the first disk, and some from the second, like this:
core@robroy-lx3 ~ $ mount | grep sd
/dev/sdb9 on / type ext4 (rw,relatime,seclabel)
/dev/sdb6 on /usr/share/oem type ext4 (rw,nodev,relatime,seclabel)
/dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
My goal's to have CoreOS use only the disk it booted from, and ignore the other disk, so that (given that I booted from sda) the output would look like this every time:
core@robroy-lx3 ~ $ mount | grep sd
/dev/sda9 on / type ext4 (rw,relatime,seclabel)
/dev/sda6 on /usr/share/oem type ext4 (rw,nodev,relatime,seclabel)
/dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
Rebooting the computer several times shows that CoreOS chooses which disk to mount its filesystems from at random; sometimes /boot's mounted from sda, other times sdb.
I tried this in my Ignition file to confine CoreOS to only one disk, yet it made no difference:
"storage": {
"disks": [{"device": "/dev/sda"}]
}
Thank you very much!
Rob Roy