Re: How to fsck on reboot?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/16/20 3:07 PM, Paul Smith wrote:
On Fri, Oct 16, 2020 at 10:57 PM Samuel Sieb <samuel@xxxxxxxx> wrote:

I would like to run

fsck /dev/mapper/fedora_localhost--live-home

on reboot. How can I accomplish this?

Is that the home partition on a live boot?

You can try running:
tune2fs -E force_fsck /dev/mapper/fedora_localhost--live-home

Thanks, Samuel. No, it is not a home partition on a live boot.

Then how did you get a volume with that name?  What is it?

Will the command you suggested to me be permanent, in the sense that a
fsck will be executed on every boot? Or will the fsck be executed only
on one boot?

I believe it should only be for one boot. It basically flags the filesystem to need repair which will force an fsck which should clear the flag. I assumed that was what you wanted, do you want it forced every time? If so, then why?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux