-------- Original Message --------
Subject: Re: general thoughts and questions + general and RAID5/6 stability?
From: Tobias Holst <to...@tobby.eu>
To: <linux-btrfs@vger.kernel.org>
Date: 2014年09月23日 22:24
If it is unknown, which of these options have been used at btrfs
creation time - is it possible to check the state of these options
afterwards on a mounted or unmounted filesystem?
For mounted fs, sysfs can be used to see the feature enabled:
/sys/fs/btrfs/<UUID>/features/

For unmounted fs, maybe not the best one, btrfs-show-super can show the incompat_flags in hex, and we can check <kernel tree>/fs/btrfs/ctree.h for BTRFS_FEATURE_INCOMPAT_## for the bits
and calculate by hand...
(Would it be better to add human readable output for btrfs-show-super?)

Thanks,
Qu


2014-09-23 15:38 GMT+02:00 Austin S Hemmelgarn <ahferro...@gmail.com>:
Well, running 'mkfs.btrfs -O list-all' with 3.16 btrfs-progs gives the 
following list of features:
mixed-bg                - mixed data and metadata block groups
extref                  - increased hard-link limit per file to 65536
raid56                  - raid56 extended format
skinny-metadata         - reduced size metadata extent refs
no-holes                - no explicit hole extents for files
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to