scripts: lvresize-fs-helper.sh: logmsg and not fail if unable to get XFS mount option... 2044910813
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 17 Sep 2025 12:36:48 +0000 (14:36 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Wed, 17 Sep 2025 12:36:48 +0000 (14:36 +0200)
scripts/lvresize_fs_helper.sh

index 48b2234bea5502d5277009f5850f3a10241311ce..bc3c575e90b771c387a7425ff745543c62fe6037 100755 (executable)
@@ -246,7 +246,7 @@ fsextend() {
        # Not considered a command failure if this fails.
        if [[ $DO_UNMOUNT -eq 1 && $REMOUNT -eq 1 ]]; then
                if [[ "$FSTYPE" == "xfs" ]]; then
-                       detect_xfs_mount_options "$DEVPATH"
+                       detect_xfs_mount_options "$DEVPATH" || logmsg "not using XFS mount options"
                fi
 
                logmsg "remount ${DEVPATH} ${MOUNTDIR}"
This page took 0.07581 seconds and 5 git commands to generate.