Re: Ahh! did btrfs just explode on me?

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

 



Chris Murphy wrote:

> On Wed, Jan 21, 2015 at 12:04 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx>
> wrote:
> 
>> Next you should reboot from Fedora 21 live media, and 'dnf upgrade
>> btrfs-progs' so that you have btrfs-progs 3.18.1, which is stable. And
>> use 'btrfs check --repair' in case there are any missing files, this
>> should find it. After this, you'd update the backup again in case the
>> first one lacks the missing files.
> 
> Of course if this is not root, you can just unmount it to do the btrfs
> check. But if it's root, an alternative to usb booting is to do it
> from the initramfs. But you need to make sure the initramfs contains
> the right version. To do that, boot with parameter rd.break=cmdline
> and then:
> 
> # btrfs --version
> Btrfs v3.18.1
> 
> ## OK Good I can continue, even if this is the 3.17.8 kernel, it's fine.
> 
> # btrfs check --repair <dev>
> # reboot -f
> 
> 
> I did this with a regular initramfs, I didn't try the rescue initramfs
> which almost certainly will have an older version, probably 3.17.
> 

Nice tip.  Unfortunately, btrfs --version says 3.18.  I suppose that is not 
sufficient.

I like this procedure, it sounds simple.  Any way to fix it?  I guess the btrfs 
was from initramfs, and that installing a newer kernel would update initramfs 
and get me btrfs 3.18.1 when booted this way?

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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




[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