Re: btrfs snapshots

2023-03-20 Thread Stefan G. Weichinger

Am 20.03.23 um 07:38 schrieb Kees Meijs | Nefos:

Hi there,

On 19-03-2023 18:37, Stefan G. Weichinger wrote:


Do / did you run fileservers on btrfs? 


Yes. There's a back up server (runnning something other then AMANDA) 
with a 40-something TB volume with btrfs. Quite often (like every other 
month) we notice btrfs driver issues. Mostly this is a kernel oops, then 
a reboot (watchdog) and then minutes and minutes of remounting after the 
machine was rebooted. Then a timeout since the mount took to long, and 
then manual intervention.


What OS / distribution is that? What type of btrfs pool ("raid level")?

Insofar I can tell no loss yet in terms of data at rest, but obviously 
all state and running back-ups are effected.


The oops'es seen mostly are in the context of cache or CoW related. Just 
disabling free block cache and such, or other btrfs features, didn't 
really help. It's noteworthy there are snapshots involved; 75 ~ 90 of them.


In general, we decided to move away from btrfs. Some systems are 
migrated to ext4 (sometimes with LVM), some to ZFS.


Hm, I see. I am currently considering using btrfs for a new file server, 
so that is interesting to me. That box will be smaller, maybe 8 TB or 
so, running Debian 11.x (whatever is stable in a few months).


btrfs gets quite some development lately, but that is with latest 
kernels: debian stable won't come with 6.2 or something.


thanks for that information



Re: btrfs snapshots

2023-03-19 Thread Stefan G. Weichinger

Am 17.03.23 um 09:20 schrieb Kees Meijs | Nefos:

Hi Stefan,

I'd recommend against btrfs and go for ZFS instead (also on Linux). 
Although I was a (really) great fan of btrfs; it just seemed to have too 
much bugs, sometimes even resulting in loss of data.


My experience is different, my btrfs-pools didn't lose any data for years.

Do / did you run fileservers on btrfs?


btrfs snapshots

2023-03-16 Thread Stefan G. Weichinger



Does anyone successfully use btrfs snapshots with amanda?

Like in doing LVM snapshots pre-amdump etc ?


Re: Backup of Btrfs snapshots

2017-01-18 Thread Jean-Louis Martineau

On 18/01/17 05:43 AM, Jonas Hagen wrote:

Hi

We have an amanda server / client setup. Now one client has the root
directory on a btrfs filesytem and we would like to back it up with
the following procedure:
1) make a btrfs snapshot
2) mount this snapshot
3) make a backup of the snapshot using amanda

Since the snapshot and mount command needs to be executed before
amanda runs on this client, where can I place these commands?


It should be an amanda script, something similar to amzfs-snapshot which 
do exacly that for ZFS.
The script output the directory where the snapshot is mounted and amgtar 
backup that directory.

See the amzfs-snapshot script and the man page.

Jean-Louis

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been 
automatically archived by Mimecast Ltd, an innovator in Software as a Service 
(SaaS) for business. Providing a safer and more useful place for your human 
generated data. Specializing in; Security, archiving and compliance. To find 
out more visit the Mimecast website.


Backup of Btrfs snapshots

2017-01-18 Thread Jonas Hagen

Hi

We have an amanda server / client setup. Now one client has the root
directory on a btrfs filesytem and we would like to back it up with
the following procedure:
1) make a btrfs snapshot
2) mount this snapshot
3) make a backup of the snapshot using amanda

Since the snapshot and mount command needs to be executed before
amanda runs on this client, where can I place these commands?

Best regards
Jonas