centos7

Unable to create swap file with error “swapon failed: Invalid argument”

Unable to create swap file with error “swapon failed: Invalid argument” Environment Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 7 XFS Issue swapon fails with error “swapon failed: Invalid argument” if swap file created using fallocate Resolution There are 3 resolutions : Create the swap file with dd instead of fallocate if using …

Unable to create swap file with error “swapon failed: Invalid argument” Read More »

Open chat