Re: [PATCH] swap: warn when a swap area overflows the maximum size (resent)

Raymond Jennings
2013-07-07T12:01:31Z

...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