We're upgrading from RHEL6 --> CentOS 7. The host in question has the OS on /dev/sda, and has some supplementary data drives at /dev/sdb and /dev/sdc. When I run the kickstart installation, I obviously want the content of /dev/sda (old OS) to be overwritten with the new OS.
If it's /dev/sda now, I'm betting it will be /dev/sda in the kickstart environment. But I seem to recall reading somewhere that this is not a 100% guarantee that should be trusted.
It would be a tragedy of epic proportions if the contents of what is currently known as /dev/sdb or /dev/sdc were, in the kickstart environment, determined to be /dev/sda and overwritten with the OS.
Any suggestions on how I can guarantee that the kickstart installs the OS on a specific drive?
My best guess is to, in the kickstart file, check to make sure that /dev/sda contains the LVM entities that we expect such as "lv_root" for our root logical volume. If /dev/sda contains lv_root, assume that indeed the proper drive has been assigned /dev/sda and proceed on.