i have a script now to do this. For systems with more then 2 drives, it will pick up the sda for OS drive. For systems with just 2 drives, it will do mdadm raid1.
On Fri, Feb 21, 2020 at 9:11 AM Russ Auld <russa...@comcast.net> wrote: > Your script has to create the /tmp/partitionfile file. Echo the contents > to the file. > > On Fri, Feb 21, 2020 at 10:55 AM peter CZ1 Peng <peng...@lenovo.com> > wrote: > >> Hi ,Dear >> I try to deploy the raid0 software setup on the compute node ,and it work >> if I manually update the kickstart file after nodeset command run . but now >> I don't want to manually update the kickstart file ,is there any way to do >> so ? >> >> I try with this and not work for me >> >> >> https://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/raid_cfg.html#deploy-diskful-nodes-with-raid1-setup-on-redhat >> >> >> I try to do as below : >> >> [root@mgt40 autoinst]# cat /install/custom/partition/SW_RAID_SD530_2SSD >> part /boot/efi --size 500 --fstype efi --ondisk sda >> part /boot --size 500 --fstype ext3 --ondisk sda >> part swap --size 512 --ondisk sdb >> #part /var --size 1024 --ondisk sdb >> part swap --size 512 --ondisk sda >> part raid.01 --size 1 --grow --ondisk sda >> part raid.11 --size 1 --grow --ondisk sdb >> raid pv.01 --fstype xfs --device pv.01 --level=RAID0 raid.01 raid.11 >> volgroup sysvg pv.01 >> logvol / --vgname=sysvg --size=80000 --name=root >> >> >> 858 chdef -t osimage -o rhels8.0.0-x86_64-install-compute >> partitionfile="s:/install/custom/partition/SW_RAID_SD530_2SSD" >> 859 lsdef -t osimage rhels8.0.0-x86_64-install-compute >> 860 nodeset node05 osimage=rhels8.0.0-x86_64-install-compute >> 861 vim node05 >> 862 rsetboot node05 net -u >> 863 rpower node05 reset >> >> But in rcons ,it report that the file is missing >> 15:34:39 Running pre-installation scripts >> The following problem occurred on line 0 of the kickstart file: >> >> Unable to open input kickstart file: curl#37 - "Couldn't open file >> /tmp/partitionfile" >> >> >> Best wishes, >> >> Peter CZ Peng ??? >> Global Engineering - Complex Solutions TE >> Lenovo China >> Lenovo R & D Center, Gao Xin Road No.16, Nanshan District science and >> Technology Park, Shenzhen, China >> Phone: +86 181 2997 7350 >> peng...@lenovo.com >> >> _______________________________________________ >> xCAT-user mailing list >> xCAT-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/xcat-user >> > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user > -- Regards, *Imam Toufique* *213-700-5485*
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user