Re: [PATCH] swap: warn when a swap area overflows the maximum size(resent)
From: Raymond Jennings
Date: Sun Jul 07 2013 - 08:01:52 EST
...I hate you gmail...
On Sun, 2013-07-07 at 04:52 -0700, Raymond Jennings wrote:
> # lvresize /dev/system/swap --size 16G
Typo in the second test.
The first line should read:
# lvresize /dev/system/swap --size 64G
First ever serious patch, got excited and burned the copypasta.
> # mkswap /dev/system/swap
> # swapon /dev/system/swap
>
> Jul 7 04:27:22 warfang kernel: Truncating oversized swap area, only
> using 33554432k out of 67108860k
> Jul 7 04:27:22 warfang kernel: Adding 33554428k swap
> on /dev/mapper/system-swap. Priority:-1 extents:1 across:33554428k
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/