Re: Filesystem mounts fine but hangs on access

2018-11-04 Thread Sebastian Ochmann
On 04.11.18 19:31, Duncan wrote: [This mail was also posted to gmane.comp.file-systems.btrfs.] Sebastian Ochmann posted on Sun, 04 Nov 2018 14:15:55 +0100 as excerpted: Hello, I have a btrfs filesystem on a single encrypted (LUKS) 10 TB drive which stopped working correctly. Kernel

Re: Filesystem mounts fine but hangs on access

2018-11-04 Thread Sebastian Ochmann
Thank you very much for the quick reply. On 04.11.18 14:37, Qu Wenruo wrote: On 2018/11/4 下午9:15, Sebastian Ochmann wrote: Hello, I have a btrfs filesystem on a single encrypted (LUKS) 10 TB drive which stopped working correctly. The drive is used as a backup drive with zstd compression

Filesystem mounts fine but hangs on access

2018-11-04 Thread Sebastian Ochmann
Hello, I have a btrfs filesystem on a single encrypted (LUKS) 10 TB drive which stopped working correctly. The drive is used as a backup drive with zstd compression to which I regularly rsync and make daily snapshots. After I routinely removed a bunch of snapshots (about 20), I noticed later

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-22 Thread Sebastian Ochmann
with on a daily basis. :) Best regards Sebastian On 22.01.2018 20:08, Chris Mason wrote: On 01/22/2018 01:33 PM, Sebastian Ochmann wrote: [ skipping to the traces ;) ] 2866 ffmpeg-mux D [] btrfs_start_ordered_extent+0x101/0x130 [btrfs] [] lock_and_cleanup_extent_if_need+0x340/0x380 [btrfs

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-22 Thread Sebastian Ochmann
First off, thank you for all the responses! Let me reply to multiple suggestions at once in this mail. On 22.01.2018 01:39, Qu Wenruo wrote: Either such mount option has a bug, or some unrelated problem. As you mentioned the output is about 10~50MiB/s, 30s means 300~1500MiBs. Maybe it's

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-21 Thread Sebastian Ochmann
On 21.01.2018 23:04, Chris Murphy wrote: On Sun, Jan 21, 2018 at 8:27 AM, Sebastian Ochmann <ochm...@cs.uni-bonn.de> wrote: On 21.01.2018 11:04, Qu Wenruo wrote: The output of "mount" after setting 10 seconds commit interval: /dev/sdc1 on /mnt/rec type btrfs (rw,relatime,sp

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-21 Thread Sebastian Ochmann
On 21.01.2018 11:04, Qu Wenruo wrote: On 2018年01月20日 18:47, Sebastian Ochmann wrote: Hello, I would like to describe a real-world use case where btrfs does not perform well for me. I'm recording 60 fps, larger-than-1080p video using OBS Studio [1] where it is important that the video stream

Periodic frame losses when recording to btrfs volume with OBS

2018-01-20 Thread Sebastian Ochmann
Hello, I would like to describe a real-world use case where btrfs does not perform well for me. I'm recording 60 fps, larger-than-1080p video using OBS Studio [1] where it is important that the video stream is encoded and written out to disk in real-time for a prolonged period of time (2-5

Re: btrfs-freespace ever doing anything?

2017-07-31 Thread Sebastian Ochmann
On 31.07.2017 14:08, Austin S. Hemmelgarn wrote: On 2017-07-31 06:51, Sebastian Ochmann wrote: Hello, I have a quite simple and possibly stupid question. Since I'm occasionally seeing warnings about failed loading of free space cache, I wanted to clear and rebuild space cache. So I mounted

btrfs-freespace ever doing anything?

2017-07-31 Thread Sebastian Ochmann
Hello, I have a quite simple and possibly stupid question. Since I'm occasionally seeing warnings about failed loading of free space cache, I wanted to clear and rebuild space cache. So I mounted the filesystem(s) with -o clear_cache and subsequently with my regular options which includes

Mounting RAID1 degraded+rw only works once

2016-03-19 Thread Sebastian Ochmann
Hello, I'm trying to understand how to correctly handle and recover from degraded RAID1 setups in btrfs. In particular, I don't understand a behavior I'm seeing which somehow takes part of the advantage away from the idea of having a RAID for me. The main issue I have is as follows. I can

Re: Is it safe to mount subvolumes of already-mounted volumes (even with different options)?

2014-07-17 Thread Sebastian Ochmann
volume to some other mountpoint. Sorry for the confusion. Best regards Sebastian On 17.07.2014 01:18, Chris Murphy wrote: On Jul 16, 2014, at 4:18 PM, Sebastian Ochmann ochm...@informatik.uni-bonn.de wrote: Hello, I'm sharing a btrfs-formatted drive between multiple computers and each

Re: Why does btrfs defrag work worse than making a copy of a file?

2014-07-16 Thread Sebastian Ochmann
On 16.07.2014 09:53, Liu Bo wrote: On Tue, Jul 15, 2014 at 11:17:26PM +0200, Sebastian Ochmann wrote: Hello, I have a VirtualBox hard drive image which is quite fragmented even after very light use; it is 1.6 GB in size and has around 5000 fragments (I'm using filefrag to determine the number

Is it safe to mount subvolumes of already-mounted volumes (even with different options)?

2014-07-16 Thread Sebastian Ochmann
Hello, I'm sharing a btrfs-formatted drive between multiple computers and each of the machines has a separate home directory on that drive. The root of the drive is mounted at /mnt/tray and the home directory for machine {hostname} is under /mnt/tray/Homes/{hostname}. Up until now, I have

Why does btrfs defrag work worse than making a copy of a file?

2014-07-15 Thread Sebastian Ochmann
Hello, I have a VirtualBox hard drive image which is quite fragmented even after very light use; it is 1.6 GB in size and has around 5000 fragments (I'm using filefrag to determine the number of fragments). Doing a btrfs fi defrag -f image.vdi reduced the number of fragments to 3749. Even

Re: Meaning of \no_csum\ field when scrubbing with -R option

2014-02-20 Thread Sebastian Ochmann
Hello, Sebastian Ochmann posted on Wed, 19 Feb 2014 13:58:17 +0100 as excerpted: So my question is, why does scrub show a high (i.e. non-zero) value for no_csum? I never enabled nodatasum or a similar option. Did you enable nodatacow option? if nodatacow option

Meaning of no_csum field when scrubbing with -R option

2014-02-19 Thread Sebastian Ochmann
Hello everyone, I have a question: What exactly does the value for no_csum mean when doing a scrub with the -R option? Example output: sudo btrfs scrub start -BR / scrub done for ... ... csum_errors: 0 verify_errors: 0 no_csum: 70517 csum_discards: 87381 super_errors: 0 ...

Re: [PATCH v4 1/2] Btrfs: fix wrong super generation mismatch when scrubbing supers

2013-12-04 Thread Sebastian Ochmann
is finished.(after btrfs_scrub_continue() finished.) Reported-by: Sebastian Ochmann ochm...@informatik.uni-bonn.de Signed-off-by: Wang Shilong wangsl.f...@cn.fujitsu.com Reviewed-by: Miao Xie mi...@cn.fujitsu.com --- v3-v4: by checking @scrub_pause_req, block a scrubber if we

Re: 2 errors when scrubbing - but I don't know what they mean

2013-12-01 Thread Sebastian Ochmann
Hello, However, if you find such superblocks checksum mismatch very often during scrub, it maybe there are something wrong with disk! I'm sorry, but I don't think there's a problem with my disks because I was able to trigger the errors that increment the gen error counter during scrub on a

Re: 2 errors when scrubbing - but I don't know what they mean

2013-11-30 Thread Sebastian Ochmann
Hello, thank you for your input. I didn't know that btrfs keeps the error counters over mounts/reboots, but that's nice. I'm still trying to figure out how such a generation error may occur in the first place. One thing I noticed looking at the btrfs code is that the generation error

2 errors when scrubbing - but I don't know what they mean

2013-11-28 Thread Sebastian Ochmann
Hello everyone, when I scrubbed one of my btrfs volumes today, the result of the scrub was: total bytes scrubbed: 1.27TB with 2 errors error details: super=2 corrected errors: 0, uncorrectable errors: 0, unverified errors: 0 and dmesg said: btrfs: bdev /dev/mapper/tray errs: wr 0, rd 0, flush