Re: BTRFS scrub

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

 



On Jan 27, 2014, at 7:35 AM, Jorge Fábregas <jorge.fabregas@xxxxxxxxx> wrote:
> 
> I assume of course that checksums for data & metadata are enabled.  I
> created the filesystem simply with:
> 
> # mkfs.btrfs /dev/sdc1
> 
> I'm not sure if I had to specify some option at creation time or if I
> have to specify any at mount time (to enable the checksums).


Data and metadata checksums enabled with default mount options. They'd have to be explicitly disabled at mount time to not get them. With a single device, data uses the single profile so just one copy; metadata uses the DUP profile so two copies.

For scrubs that write corrections to disk, the volume needs to be mounted rw, and then:

btrfs scrub start /mnt

For read only scrubs you need -r flag to get useful information of what fixes would be done if they were enabled. This works whether the device is mounted ro or rw.

btrfs scrub start -r /mnt


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