(the previous message is not good - ....it started because of my error... )
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: PV /dev/sda2 VG fedora_localhost lvm2 931 GB 227 GB free ============ After I gained the space, ...I had to resize the sawp partition, to finish my job ... ...but instead I restarted the computer. At the boot the computer started in emergency mode, and in the file journalctl I learned that fsck failed and the /home directory wasn't mounted... I used e2fsck to check the file system and got this message : ***** FILE SYSTEM WAS MODIFIED ***** /dev/sda: xxx/yyy files (0.3% non-contiguous), zzzz/wwww blocks I know what mean file not contiguous but : why this could happen ? Can I do something to repair this file system and to get the computer to boot ? Thank you On Sat, Jun 27, 2015 at 4:38 PM, Angelo Moreschini < mrangelo.fed...@gmail.com> wrote: > 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.gres...@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@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 >> > >
-- users mailing list users@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