Re: Ahh! did btrfs just explode on me?

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

 



On Wed, Jan 21, 2015 at 12:28 PM, Neal Becker <ndbecker2@xxxxxxxxx> wrote:

>> You should do three things: if the fs is still mounted, update your
>> backup; then install kernel 3.18.3 from updates-testing repo; then use
>> btrfs check --repair using btrfs-progs 3.18.
>>
>
> This is on root fs, btrfs check --repair can't be used on a mounted fs, correct?

Correct. Btrfs won't even let you do a check (read only) on a mounted
fs. Both xfs and ext have options to repair an ro mounted file system,
both admonish this practice and consider it dangerous.

>
>> Since 3.17.8 didn't get this patch, and 3.17 is EOL, it won't ever get
>> it. Looks like the patch is in 3.18.3, and 3.14.29. And it's easier to
>> go with 3.18.3, which is in updates-testing.
>>
>> 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.
>>
>>
>
> So you're saying to run btrfs check --repair twice? Once after
> installing/rebooting 3.18.3, and then a 2nd time with live media?

Nope, just once is fine. I'm saying two (incremental) backups. One now
in case things go to hell with the repair, which it shouldn't at this
point. And one after the repair in case it recovers missing files.

The kernel update and btrfs check --repair order doesn't really
matter. I would probably reboot 3.17.8 with rd.break=cmdline and see
if that initramfs has btrfs v3.18.1 and if so then I'd go ahead and do
the repair now, reboot -f and keep using 3.17.8. Then upgrade the
kernel.

Of course if you have btrfs-progs 3.18.1 now, but it's not baked into
your 3.17.8 initramfs, then it's easier to just install 3.18.3 which
will cause a new initramfs to be created which will pull in whatever
btrfs-progs you have now, which ought to be 3.18.1 already since it's
stable.



-- 
Chris Murphy
-- 
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