[yast-devel] Getting 'yast2 live-installer' to default to Ext4 instead of BtrFS for partitioning
In the new version of the live-installer module distributed with OpenSuSE Leap 42.3 (and maybe 42.2) they have removed the flexibl_partitioning functionality. So by default now the proposal comes up with BtrFS and it's laundry list of subvolumes. This is not good for the Kiwi LiveCD I generate since there are a lot of MySQL and high read/write server workloads that BtrFS does not perform well with. So essentially I need to have the default FS when 'yast2 live-installer' is ran from the LiveCD default to Ext4. Preferred partitioning scheme would be to wipe out whatever is on the first hard drive it finds then set-up a 4GB Swap partition and the rest as root. Anyone know how I can accomplish this? -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Dne 25.7.2017 v 20:59 jamesp@vicidial.com napsal(a):
In the new version of the live-installer module distributed with OpenSuSE Leap 42.3 (and maybe 42.2) they have removed the flexibl_partitioning functionality. So by default now the proposal comes up with BtrFS and it's laundry list of subvolumes. This is not good for the Kiwi LiveCD I generate since there are a lot of MySQL and high read/write server workloads that BtrFS does not perform well with.
So essentially I need to have the default FS when 'yast2 live-installer' is ran from the LiveCD default to Ext4. Preferred partitioning scheme would be to wipe out whatever is on the first hard drive it finds then set-up a 4GB Swap partition and the rest as root.
Anyone know how I can accomplish this? Um, I'm not a storage expert but it looks it's not trivial.
The the installation control file [1] allows tweaking some settings there but not the use file system. See the doc [2] for details. The BTRFS default is hard coded in the YaST code [3]. The workaround would be to patch that file when building the image by kiwi. But I do not know how to do that... HTH Ladislav [1] https://github.com/yast/skelcd-control-openSUSE/blob/openSUSE-42_3/control/c... [2] https://github.com/yast/yast-storage/blob/master/doc/config.xml.description [3] https://github.com/yast/yast-storage/blob/2cf31e18f669cdb66c33593993ab836a29... -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
We took a look with Ladislav and maybe it could help to set: /etc/sysconfig/storage:DEFAULT_FS="ext4" HTH Lukas -- Lukas Ocilka, Systems Management (Yast) Team Leader SLE Department, SUSE Linux -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Dne 28.7.2017 v 15:14 Lukas Ocilka napsal(a):
We took a look with Ladislav and maybe it could help to set:
/etc/sysconfig/storage:DEFAULT_FS="ext4"
Technical background: https://github.com/yast/yast-storage/commit/9a69083bed0454ad61edc9cd9e641a30... See: SetProposalRootFs(Partitions.DefaultFs()) https://github.com/yast/yast-storage/blob/db894eb83f9373f29570d6fa497eac8645... https://github.com/yast/yast-storage/blob/db894eb83f9373f29570d6fa497eac8645... I'd give it a try :) Lukas -- Lukas Ocilka, Systems Management (Yast) Team Leader SLE Department, SUSE Linux -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (3)
-
jamesp@vicidial.com
-
Ladislav Slezak
-
Lukas Ocilka