Re: BTRFS equivalent for tune2fs?

2014-12-02 Thread Satoru Takeuchi

Hi,

(2014/12/02 16:39), Brendan Hide wrote:

On 2014/12/02 09:31, Brendan Hide wrote:

On 2014/12/02 07:54, MegaBrutal wrote:

Hi all,

I know there is a btrfstune, but it doesn't provide all the
functionality I'm thinking of.

For ext2/3/4 file systems I can get a bunch of useful data with
tune2fs -l. How can I retrieve the same type of information about a
BTRFS file system? (E.g., last mount time, last checked time, blocks
reserved for superuser*, etc.)

* Anyway, does BTRFS even have an option to reserve X% for the superuser?

Btrfs does not yet have this option. I'm certain that specific feature is in 
mind for the future however.

As regards other equivalents, the same/similar answer applies. There simply aren't a lot 
of tuneables available right now.


Almost forgot about this: btrfs property (get|set)

Again, there are a lot of features still to be added.



Just FYI. There are some description about this topic.

https://btrfs.wiki.kernel.org/index.php/Project_ideas#Set_mount_options_permanently
https://btrfs.wiki.kernel.org/index.php/Project_ideas#Extend_btrfstune_to_be_able_to_tune_more_parameters
https://btrfs.wiki.kernel.org/index.php/Project_ideas#Filesystem_object_properties

Thanks,
Satoru

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


Re: BTRFS equivalent for tune2fs?

2014-12-02 Thread Duncan
MegaBrutal posted on Tue, 02 Dec 2014 06:54:47 +0100 as excerpted:

 Hi all,
 
 I know there is a btrfstune, but it doesn't provide all the
 functionality I'm thinking of.
 
 For ext2/3/4 file systems I can get a bunch of useful data with tune2fs
 -l. How can I retrieve the same type of information about a BTRFS file
 system? (E.g., last mount time, last checked time, blocks reserved for
 superuser*, etc.)
 
 * Anyway, does BTRFS even have an option to reserve X% for the
 superuser?

btrfs-show-super, btrfs filesystem show, and btrfs filesystem df, show 
various btrfs-specifics of the filesystem.  Last check time doesn't 
really apply, as the kernel automatically does a lot of checks 
dynamically at mount and btrfs check isn't designed to be run routinely, 
only to repair a broken filesystem when mounting with the recovery 
option, etc, fails.

As for reserving a percentage for superuser, btrfs doesn't do that 
directly.  There is the GlobalReserve space (as shown by btrfs fi df) for 
use by the filesystem itself.  Other than that, btrfs quotas could I 
think be (ab)used to reserve superuser space, but they're definitely 
optional, and I always recommend not using them if you can avoid it due 
to the additional complexity/overhead/bugs they add.

There's also btrfs property get/set/list, for some of what tune2fs would 
do plus a lot more btrfs specific stuff and not just on the filesystem 
but on devices, subvolumes and individual files too, but while the 
property infrastructure and some basics are there, I think there's more 
planned that has yet to be implemented.

-- 
Duncan - List replies preferred.   No HTML msgs.
Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman

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


Re: BTRFS equivalent for tune2fs?

2014-12-01 Thread Brendan Hide

On 2014/12/02 07:54, MegaBrutal wrote:

Hi all,

I know there is a btrfstune, but it doesn't provide all the
functionality I'm thinking of.

For ext2/3/4 file systems I can get a bunch of useful data with
tune2fs -l. How can I retrieve the same type of information about a
BTRFS file system? (E.g., last mount time, last checked time, blocks
reserved for superuser*, etc.)

* Anyway, does BTRFS even have an option to reserve X% for the superuser?
Btrfs does not yet have this option. I'm certain that specific feature 
is in mind for the future however.


As regards other equivalents, the same/similar answer applies. There 
simply aren't a lot of tuneables available right now.


--
__
Brendan Hide
http://swiftspirit.co.za/
http://www.webafrica.co.za/?AFF1E97

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


Re: BTRFS equivalent for tune2fs?

2014-12-01 Thread Brendan Hide

On 2014/12/02 09:31, Brendan Hide wrote:

On 2014/12/02 07:54, MegaBrutal wrote:

Hi all,

I know there is a btrfstune, but it doesn't provide all the
functionality I'm thinking of.

For ext2/3/4 file systems I can get a bunch of useful data with
tune2fs -l. How can I retrieve the same type of information about a
BTRFS file system? (E.g., last mount time, last checked time, blocks
reserved for superuser*, etc.)

* Anyway, does BTRFS even have an option to reserve X% for the 
superuser?
Btrfs does not yet have this option. I'm certain that specific feature 
is in mind for the future however.


As regards other equivalents, the same/similar answer applies. There 
simply aren't a lot of tuneables available right now.



Almost forgot about this: btrfs property (get|set)

Again, there are a lot of features still to be added.

--
__
Brendan Hide
http://swiftspirit.co.za/
http://www.webafrica.co.za/?AFF1E97

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