Re: exclusive subvolume space missing

2017-12-02 Thread Tomasz Pala
OK, I seriously need to address that, as during the night I lost 3 GB again: On Sat, Dec 02, 2017 at 10:35:12 +0800, Qu Wenruo wrote: >> # btrfs fi sh / >> Label: none uuid: 17a3de25-6e26-4b0b-9665-ac267f6f6c4a >> Total devices 2 FS bytes used 44.10GiB Total devices 2 FS byte

snaprotate

2017-12-02 Thread Ulli Horlacher
Being a Netapp user for a long time, I have always missed btrfs snapshots the way Netapp creates them. I have now written snaprotate: http://fex.belwue.de/snaprotate.html snaprotate creates and manages btrfs readonly snapshots similar to Netapp. Snapshots have names like hourly, daily, weekly, s

Re: snaprotate

2017-12-02 Thread Ulli Horlacher
On Sat 2017-12-02 (13:53), Ulli Horlacher wrote: > Being a Netapp user for a long time, I have always missed btrfs snapshots > the way Netapp creates them. > > I have now written snaprotate: > > http://fex.belwue.de/snaprotate.html Uuuppps.. just found, I have posted this 2017-09-09 already! Sor

Re: exclusive subvolume space missing

2017-12-02 Thread Tomasz Pala
On Fri, 01 Dec 2017 18:57:08 -0800, Duncan wrote: > OK, is this supposed to be raid1 or single data, because the above shows > metadata as all raid1, while some data is single tho most is raid1, and > while old mkfs used to create unused single chunks on raid1 that had to > be removed manually via

Re: exclusive subvolume space missing

2017-12-02 Thread Tomasz Pala
On Sat, Dec 02, 2017 at 17:28:12 +0100, Tomasz Pala wrote: >> Suppose you start with a 100 MiB file (I'm adjusting the sizes down from > [...] >> Now make various small changes to the file, say under 16 KiB each. These >> will each be COWed elsewhere as one might expect. by default 16 KiB at >> a

Re: btrfs-transacti hammering the system

2017-12-02 Thread Andrei Borzenkov
01.12.2017 21:04, Austin S. Hemmelgarn пишет: > On 2017-12-01 12:13, Andrei Borzenkov wrote: >> 01.12.2017 20:06, Hans van Kranenburg пишет: >>> >>> Additional tips (forgot to ask for your /proc/mounts before): >>> * Use the noatime mount option, so that only accessing files does not >>> lead to ch

Re: exclusive subvolume space missing

2017-12-02 Thread Duncan
Tomasz Pala posted on Sat, 02 Dec 2017 18:18:19 +0100 as excerpted: > On Sat, Dec 02, 2017 at 17:28:12 +0100, Tomasz Pala wrote: > >>> Suppose you start with a 100 MiB file (I'm adjusting the sizes down from >> [...] >>> Now make various small changes to the file, say under 16 KiB each. These >>