Hi
I need to change the FS type of some server where is installed SAP HANA and SAP Netweaver.
ext4 is not supported by SAP HANA.
I find a procedure that use “fstransform” to change the FS type.
The procedure details is something like this:
Step 1
Install fstransform (See https://software.opensuse.org/download.html?project=filesystems&package=fstransform)
Step 2
Check current setup for file system /myfs:
$ uname -a && sudo lsblk -f | awk '$NF=="/myfs" {print $NF,"is file system type",$2}'
Linux myhost.domain.dom 3.10.0-1160.25.1.el7.x86_64 #1 SMP Tue Apr 13 18:55:45 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
/myfs is file system type ext4
$ sudo mount | grep myfs
/dev/mapper/myvg-mylv on /myfs type ext4 (rw,noatime,data=ordered)
Step 3
Unmount file system /myfs and run the conversion:
$ sudo umount /myfs
$ sudo fstransform /dev/mapper/myvg-mylv xfs
Step 4
Change file system type in /etc/fstab and remount /myfs:
$ sudo sed -i -e "s#/myfs.*ext4#/myfs xfs#" /etc/fstab
$ sudo mount /myfs
$ uname -a && sudo lsblk -f | awk '$NF=="/myfs" {print $NF,"is file system type",$2}'
Linux myhost.domain.dom 3.10.0-1160.25.1.el7.x86_64 #1 SMP Tue Apr 13 18:55:45 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
/myfs is file system type xfs
--
Is this procedure still valid\supported for SLES 15.x ?
Does anybody used for SAP server ?
THX