linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* test btrfs scrubbing/get system's total capacity
@ 2017-11-20 16:50 ST
  2017-11-20 19:22 ` Chris Murphy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ST @ 2017-11-20 16:50 UTC (permalink / raw)
  To: linux-btrfs

Hello,

1. is there a tool that I can use to test btrfs scrubbing? Namely I need
to "damage" a file, i.e. change it without changing its meta
information, so I can see how scrubbing performs... Is there something
like this?


2. I want to use Ansible to set btrfs quota on a /home subvolume as say
0.8*TotalCapacityOfRoot and then assign to it individual users'
subvolumes with certain (smaller) quatos.
2.1 Is it OK to rely on ansible_facts? Does it has correct information
about btrfs-based "/" total capacity?
2.2 If not, is there a raw command to get TotalCapacityOfRoot in -TB so
I can set it? Is there something like btrfs filesystem usage / -t
--device_size? to get only the total Device Size information?

Thank you!
ST


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-21  1:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-20 16:50 test btrfs scrubbing/get system's total capacity ST
2017-11-20 19:22 ` Chris Murphy
2017-11-20 22:57 ` Duncan
2017-11-21  1:22 ` Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).