Problem description
During the migration of an operating system, the "Deprecated XFS mount options present in FSTAB" error message is reported.
Cause
Deprecated XFS mount options exist in the fstab file of the operating system to be migrated. As a result, the operating system fails to be migrated because the XFS file system cannot be correctly mounted after migration.
Solution
Connect to the Elastic Compute Service (ECS) instance whose operating system you want to migrate. For more information, see Connect to a Linux instance by using a password or key.
Run the following command to open the
etc/fstab
file:vim /etc/fstab
Press the
I
key to enter the insert mode. Find the row at which the XFS file system is configured, and delete the deprecated XFS mount options in the fourth column or change the mount options todefaults
. For more information, see xfs(5) - Linux manual page.The following XFS mount options have been deprecated:
# removed from kernel in 4.0 'nodelaylog', 'delaylog', 'ihashsize', 'irixsgid', 'osyncisdsync', 'osyncisosync', # removed from kernel in 4.19 'nobarrier', 'barrier',
Press the
ESC
key, enter:wq
, and then press theENTER
key to save and close the file.Run the following command to mount the XFS file system:
mount -a
After the error is resolved, run the SMC client and retry the migration job. For more information, see Run the SMC client.