From ArchWiki
Jump to: navigation, search

Swapfile on XFS

There is evidence (my box, this discussion [1]) which suggests that using "fallocate" to create a swapfile on an XFS partition will give a somehow invalid swapfile ("swapon -v" isn't terribly specific, but it doesn't succeed), but using the "dd" method gives the desired result. Perhaps this warrants a warning in the appropriate section Swap#Swapfile? Tslil (talk) 08:50, 23 June 2015 (UTC)

From the discussion linked above, the issue is caused by old version of xfs. This version was old 2 years ago on Ubuntu, so how is this relevant for Arch? -- Lahwaacz (talk) 16:05, 23 June 2015 (UTC)
Thank you for your message, and my apologies about the delay in response. Well, at the bottom of the discussion you'll note that there is a post dating to Nov 2014 which links to a discussion on a the redhat bugtracker where, in particular, they note what I have discovered and suggest amending their fallocate(1) man page [2] appropriately. Tslil (talk) 20:48, 28 June 2015 (UTC)