* BTRFS equivalent for tune2fs? @ 2014-12-02 5:54 MegaBrutal 2014-12-02 7:31 ` Brendan Hide 2014-12-02 8:20 ` Duncan 0 siblings, 2 replies; 5+ messages in thread From: MegaBrutal @ 2014-12-02 5:54 UTC (permalink / raw) To: linux-btrfs 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? ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BTRFS equivalent for tune2fs? 2014-12-02 5:54 BTRFS equivalent for tune2fs? MegaBrutal @ 2014-12-02 7:31 ` Brendan Hide 2014-12-02 7:39 ` Brendan Hide 2014-12-02 8:20 ` Duncan 1 sibling, 1 reply; 5+ messages in thread From: Brendan Hide @ 2014-12-02 7:31 UTC (permalink / raw) To: MegaBrutal; +Cc: linux-btrfs 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BTRFS equivalent for tune2fs? 2014-12-02 7:31 ` Brendan Hide @ 2014-12-02 7:39 ` Brendan Hide 2014-12-02 8:11 ` Satoru Takeuchi 0 siblings, 1 reply; 5+ messages in thread From: Brendan Hide @ 2014-12-02 7:39 UTC (permalink / raw) To: MegaBrutal; +Cc: linux-btrfs 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BTRFS equivalent for tune2fs? 2014-12-02 7:39 ` Brendan Hide @ 2014-12-02 8:11 ` Satoru Takeuchi 0 siblings, 0 replies; 5+ messages in thread From: Satoru Takeuchi @ 2014-12-02 8:11 UTC (permalink / raw) To: Brendan Hide, MegaBrutal; +Cc: linux-btrfs 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BTRFS equivalent for tune2fs? 2014-12-02 5:54 BTRFS equivalent for tune2fs? MegaBrutal 2014-12-02 7:31 ` Brendan Hide @ 2014-12-02 8:20 ` Duncan 1 sibling, 0 replies; 5+ messages in thread From: Duncan @ 2014-12-02 8:20 UTC (permalink / raw) To: linux-btrfs 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-02 8:21 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-12-02 5:54 BTRFS equivalent for tune2fs? MegaBrutal 2014-12-02 7:31 ` Brendan Hide 2014-12-02 7:39 ` Brendan Hide 2014-12-02 8:11 ` Satoru Takeuchi 2014-12-02 8:20 ` Duncan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox