I am using a kickstart file for CentOS 7 raid / --device=md0 --fstype="xfs" --level=1 --useexisting raid /home --noformat --device=md1 --level=1 --useexisting It is erroring out on the --useexisting. The exact text is: RAID volume "0" specified with "--useexisting" does not exist. What did I do wrong? Jerry
Sorry - I did not include that I am actually "updating" a system from C6 to C7 and it has an existing RAID /dev/md0 and /dev/md1. Hit send to quick. Jerry On Wed, Aug 29, 2018 at 3:52 PM Jerry Geis <jerry.geis at gmail.com> wrote:> I am using a kickstart file for CentOS 7 > > raid / --device=md0 --fstype="xfs" > --level=1 --useexisting > raid /home --noformat --device=md1 > --level=1 --useexisting > > It is erroring out on the --useexisting. > > The exact text is: > RAID volume "0" specified with "--useexisting" does not exist. > > What did I do wrong? > > Jerry > >
On Wed, 29 Aug 2018 at 15:50, Jerry Geis <jerry.geis at gmail.com> wrote:> I am using a kickstart file for CentOS 7 > > raid / --device=md0 --fstype="xfs" > --level=1 --useexisting > raid /home --noformat --device=md1 > --level=1 --useexisting > > It is erroring out on the --useexisting. > >It still needs to know what partitions are being used for that device. So it is parsing --useexisting as the drives which make up md0 I am guessing the syntax is supposed to be: part raid.0011 --usepart=/dev/sda1 part raid.0012 --usepart=/dev/sdb1 raid / --device=md0 --fstype="xfs" --level=1 --useexisting raid.0011 raid.0012 This will still reformat the raid device from the man page: --useexisting - Use an existing RAID device and reformat it.> The exact text is: > RAID volume "0" specified with "--useexisting" does not exist. > > What did I do wrong? > > Jerry > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- Stephen J Smoogen.
Hi Stephen, Thanks! So I think this is what I need then. part raid.0011 --usepart/dev/sda1 part raid.0021 --usepart/dev/sdb2 part raid.0013 --usepart/dev/sda3 part raid.0022 --usepart/dev/sdb3 raid / --device=md0 --fstype="xfs" --level=1 --useexisting raid.0011 raid.0021 raid /home --noformat --device=md1 --level=1 --useexisting raid.0013 raid.0023 for /dev/sda and /dev/sdb with the 1 partition being / and 3 partition being /home to reformat /root and noformat of /home Thanks, Jerry