managing the swap space size on fedora

Angelo Moreschini mrangelo.fedora at gmail.com
Sat Jun 27 13:38:56 UTC 2015


in order to grow the swap partition, I made this:

============
resize2fs -p /dev/mapper/fedora_localhost-home
resize2fs -p /dev/mapper/localhost-home 700G
lvresize --size 651G /dev/fedoralocalhost-home
----------- the command pvscan gave me this output:
PvV /dev/sda2   VG  fedora_localhost   lvm2[


On Fri, Jun 26, 2015 at 7:58 AM, Ed Greshko <ed.greshko at greshko.com> wrote:

> On 06/26/15 12:57, Angelo Moreschini wrote:
> > # lvresize --size 651G /dev/fedora_localhost/home    worked fine..
> >
> >
> > And now pvscan give me 220 G free .
> >
> > --------------------
> > But now I have also problem growing  the swap partition:
> >
> > The command
> > pvresize --size 20G /dev/fedora_localhost-swap
> >
> > give me another error :
> > "prvresize unrecognized option --size"
> >
> > What is wrong there ?
>
> man prvresize  will show an example.
>
> --
> Sorta what I want to say when folks habitually complain about Fedora -
> https://youtu.be/ZArl8fTfub4
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20150627/4ce04632/attachment.html>


More information about the users mailing list