Re: Kickstart file for software raid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 29 Aug 2018 at 15:50, Jerry Geis <jerry.geis@xxxxxxxxx> 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@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Stephen J Smoogen.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux