Dennis Jacobfeuerborn
2014-Jul-22 21:57 UTC
[CentOS] CentOS7+kickstart+thinpool = error/exception
Hi, I'm trying to create a kickstart file that uses a thinly provisioned lvm volume as root but I've run into trouble. I installed a System manually using this option and this is the anaconda file produced: part /boot --fstype="xfs" --ondisk=vda --size=500 part pv.10 --fstype="lvmpv" --ondisk=vda --size=7691 volgroup centos_centos7 --pesize=4096 pv.10 logvol --fstype="None" --grow --size=1232 --thinpool --name=pool00 --vgname=centos_centos7 logvol swap --fstype="swap" --size=819 --name=swap --vgname=centos_centos7 logvol / --fstype="xfs" --grow --maxsize=51200 --size=1024 --thin --poolname=pool00 --name=root --vgname=centos_centos7 The Problem is that when I use this as the basis for a kickstart Anaconda complains that I need to specify a mount-point for the logvol line defining the thinpool. So I looked at the kickstart documentation here: http://fedoraproject.org/wiki/Anaconda/Kickstart#logvol There is says "--thinpool Create a thin pool logical volume. (Use a mountpoint of "none")" so I went ahead and specified a mountpoint "none". The result is that Anaconda now crashes with an exception. Does sombody know how I can install CentOS 7 using a thinpool? The features of thinly provisioned lvm volumes make them highly desirable for database backups for example. Regards, Dennis