Re: Help recover from btrfs error

2021-04-19 Thread Chris Murphy
On Sat, Apr 17, 2021 at 4:03 PM Florian Franzeck wrote: > > Dear users, > > I need help to recover from a btrfs error after a power cut > > btrfs-progs v5.4.1 > > Linux banana 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC > 2021 x86_64 x86_64 x86_64

Help needed with read time tree block corruption on single disk mDUP drive

2021-04-19 Thread Fabian Otto
`btrfs rescue chunk-recover` Unfortunately I'm not well versed enough in btrfs to know what precisely that would do, or if it would help at all or just make it worse. I also don't know how to use that less corrupted DUPlicated version of the FStree to get the disk to be mountable again, w

Help recover from btrfs error

2021-04-17 Thread Florian Franzeck
Dear users, I need help to recover from a btrfs error after a power cut btrfs-progs v5.4.1 Linux banana 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux dmesg output: [ 30.330824] BTRFS info (device md1): disk space caching is enabled

Aw: Re: Re: Re: Help needed with filesystem errors: parent transid verify failed

2021-04-01 Thread B A
> Gesendet: Montag, 29. März 2021 um 13:36 Uhr > Von: "Josef Bacik" > An: "B A" , "Chris Murphy" , > "btrfs kernel mailing list" > Cc: "Qu Wenruo" > Betreff: Re: Aw: Re: Re: Help needed with filesystem errors: parent tr

Aw: Re: Re: Help needed with filesystem errors: parent transid verify failed

2021-04-01 Thread B A
Hi Chris, > Gesendet: Dienstag, 30. März 2021 um 20:17 Uhr > Von: "Chris Murphy" > > On Tue, Mar 30, 2021 at 2:44 AM B A wrote: > > > > > Gesendet: Dienstag, 30. März 2021 um 00:07 Uhr > > > Von: "Chris Murphy" > > > […] > > > EVO or PRO? And what does its /proc/mounts line look like? > > > > M

Re: help needed with raid 6 filesystem with errors

2021-03-30 Thread Zygo Blaxell
other disks are failing at that spot (given it's > > > raid6), correct? > > > > That's the general idea. > > > > > If so I would be comfortable giving that a shot. I do > > > expect that while doing a replace and reading the same LBA from the

Re: Re: Help needed with filesystem errors: parent transid verify failed

2021-03-30 Thread Chris Murphy
On Tue, Mar 30, 2021 at 2:44 AM B A wrote: > > > > Gesendet: Dienstag, 30. März 2021 um 00:07 Uhr > > Von: "Chris Murphy" > > An: "B A" > > Cc: "Btrfs BTRFS" > > Betreff: Re: Help needed with filesystem errors: parent tran

Re: help needed with raid 6 filesystem with errors

2021-03-30 Thread Bas Hulsken
27;s > > raid6), correct? > > That's the general idea. > > > If so I would be comfortable giving that a shot. I do > > expect that while doing a replace and reading the same LBA from the > > disk, it will just crash again and ruin my replace. > &

Re: help needed with raid 6 filesystem with errors

2021-03-30 Thread Zygo Blaxell
On Tue, Mar 30, 2021 at 03:01:57PM +0200, Bas Hulsken wrote: > I followed your advice, Zygo and Chris, and did both: > 1) smartctl -l scterc,70,70 /dev/sdX for all 4 drives in the array (the > drives do support this) > 2) echo 180 > /sys/block/sdX/device/timeout for all 4 drives > > with that I at

Aw: Re: Help needed with filesystem errors: parent transid verify failed

2021-03-30 Thread B A
> Gesendet: Dienstag, 30. März 2021 um 00:07 Uhr > Von: "Chris Murphy" > An: "B A" > Cc: "Btrfs BTRFS" > Betreff: Re: Help needed with filesystem errors: parent transid verify failed > > On Sun, Mar 28, 2021 at 9:41 AM B A wrote: >

Re: Help needed with filesystem errors: parent transid verify failed

2021-03-29 Thread Chris Murphy
On Sun, Mar 28, 2021 at 9:41 AM B A wrote: > > * Samsung 840 series SSD (SMART data looks fine) EVO or PRO? And what does its /proc/mounts line look like? Total_LBAs_Written? -- Chris Murphy

Re: help needed with raid 6 filesystem with errors

2021-03-29 Thread Zygo Blaxell
On Mon, Mar 29, 2021 at 02:03:06PM +0200, Bas Hulsken wrote: > Dear list, > due to a disk intermittently failing in my 4 disk array, I'm getting > "transid verify failed" errors on my btrfs filesystem (see attached > dmesg | grep -i btrfs dump in btrfs_dmesg.txt). Scary! But in this case, it lo

Re: help needed with raid 6 filesystem with errors

2021-03-29 Thread Chris Murphy
hen I run a scrub, the > bad disk (/dev/sdd) becomes unresponsive, so I'm hesitant to try that > again (happened 3 times now, and was the root cause of the transid > verify failed errors possibly, at least they did not show up earlier > than the failed scrub). Is the dmesg filtered? An

Re: Aw: Re: Re: Help needed with filesystem errors: parent transid verify failed

2021-03-29 Thread Josef Bacik
On 3/29/21 4:42 AM, B A wrote: Gesendet: Montag, 29. März 2021 um 08:09 Uhr Von: "Chris Murphy" An: "B A" , "Btrfs BTRFS" Cc: "Qu Wenruo" , "Josef Bacik" Betreff: Re: Re: Help needed with filesystem errors: parent transid verify failed […]

help needed with raid 6 filesystem with errors

2021-03-29 Thread Bas Hulsken
Dear list, due to a disk intermittently failing in my 4 disk array, I'm getting "transid verify failed" errors on my btrfs filesystem (see attached dmesg | grep -i btrfs dump in btrfs_dmesg.txt). When I run a scrub, the bad disk (/dev/sdd) becomes unresponsive, so I'm hesitant to try that again

Aw: Re: Re: Help needed with filesystem errors: parent transid verify failed

2021-03-29 Thread B A
> Gesendet: Montag, 29. März 2021 um 08:09 Uhr > Von: "Chris Murphy" > An: "B A" , "Btrfs BTRFS" > Cc: "Qu Wenruo" , "Josef Bacik" > Betreff: Re: Re: Help needed with filesystem errors: parent transid verify > failed >

Re: Re: Help needed with filesystem errors: parent transid verify failed

2021-03-29 Thread Chris Murphy
On Mon, Mar 29, 2021 at 1:34 AM B A wrote: > > This is a very old BTRFS filesystem created with Fedora *23* i.e. a linux > kernel and btrfs-progs around version 4.2. It was probably created 2015-10-31 > with Fedora 23 beta and kernel 4.2.4 or 4.2.5. > > I ran `btrfs scrub` about a month ago with

Aw: Re: Help needed with filesystem errors: parent transid verify failed

2021-03-29 Thread B A
> Gesendet: Montag, 29. März 2021 um 01:02 Uhr > Von: "Chris Murphy" > An: "B A" > Cc: "Btrfs BTRFS" > Betreff: Re: Help needed with filesystem errors: parent transid verify failed > > On Sun, Mar 28, 2021 at 9:41 AM B A wrote: > > >

Aw: Re: Help needed with filesystem errors: parent transid verify failed

2021-03-29 Thread B A
> Gesendet: Montag, 29. März 2021 um 01:02 Uhr > Von: "Chris Murphy" > An: "B A" > Cc: "Btrfs BTRFS" > Betreff: Re: Help needed with filesystem errors: parent transid verify failed > > On Sun, Mar 28, 2021 at 9:41 AM B A wrote: > > >

Re: Help needed with filesystem errors: parent transid verify failed

2021-03-28 Thread Chris Murphy
On Sun, Mar 28, 2021 at 7:02 PM Chris Murphy wrote: > > Can you post the output from both: > > btrfs insp dump-t -b 1144783093760 /dev/dm-0 > btrfs insp dump-t -b 1144881201152 /dev/dm-0 I'm not sure if those dumps will contain filenames, so check them. It's ok to remove filenames before posting

Re: Help needed with filesystem errors: parent transid verify failed

2021-03-28 Thread Chris Murphy
On Sun, Mar 28, 2021 at 9:41 AM B A wrote: > > Dear btrfs experts, > > > On my desktop PC, I have 1 btrfs partition on a single SSD device with 3 > subvolumes (/, /home, /var). Whenever I boot my PC, after logging in to > GNOME, the btrfs partition is being remounted as ro due to errors. This is

Help needed with filesystem errors: parent transid verify failed

2021-03-28 Thread B A
Dear btrfs experts, On my desktop PC, I have 1 btrfs partition on a single SSD device with 3 subvolumes (/, /home, /var). Whenever I boot my PC, after logging in to GNOME, the btrfs partition is being remounted as ro due to errors. This is the dmesg output at that time: > [ 616.155392] BTRFS

[PATCH v2] btrfs-progs: fix inspect-internal --help incomplete sentence

2021-03-19 Thread Anand Jain
btrfs inspect-internal --help show some incomplete sentenses. As shown below, btrfs inspect-internal --help btrfs inspect-internal min-dev-size [options] Get the minimum size the device can be shrunk to. The btrfs inspect-internal dump-tree [options] [ ..] This

[PATCH] btrfs-progs: fix inspect-internal --help incomplete sentence

2021-03-18 Thread Anand Jain
btrfs inspect-internal --help show some incomplete sentenses. As shown below, btrfs inspect-internal --help btrfs inspect-internal min-dev-size [options] Get the minimum size the device can be shrunk to. The btrfs inspect-internal dump-tree [options] [ ..] This

Re: Need help for my Unraid cache drive

2021-02-03 Thread Chris Murphy
d it with > unassigned devices.# > And then i realized the following error in my Unraid Cache Devices > > > > Unfortunately i cannot mount it again. > Can you please help me? I don't know anything about unraid. The attached dmesg contains: [ 3660.395013] BTRFS info (device

Need help for my Unraid cache drive

2021-01-30 Thread Patrick Bihlmayer
mount it again. Can you please help me? Thank you in advance Best Regards Patrick Attached are the information requested. root@JARVIS:/dev# uname -a Linux JARVIS 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64 Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz GenuineIntel GNU/Linux root

Need help for my Unraid cache drive

2021-01-29 Thread Patrick Bihlmayer
File System" Unfortunately I cannot mount it again. Can you please help me? Thank you in advance Best Regards Patrick Attached are the information requested. root@JARVIS:/dev# uname -a Linux JARVIS 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64 Intel(R) Core(TM) i5-9600K CPU

Re: tldr; no BTRFS on dev, after a forced shutdown, help

2021-01-04 Thread Chris Murphy
On Mon, Jan 4, 2021 at 11:09 AM André Isidro da Silva wrote: > > I'm sure it used to be one, but indeed it seems that a TYPE is missing > in /dev/sda10; gparted says it's unknown. > It seems there is no trace of the fs. I'm trying to recall any other > operations I might have done, but if it was s

Re: tldr; no BTRFS on dev, after a forced shutdown, help

2021-01-04 Thread André Isidro da Silva
I'm sure it used to be one, but indeed it seems that a TYPE is missing in /dev/sda10; gparted says it's unknown. It seems there is no trace of the fs. I'm trying to recall any other operations I might have done, but if it was something else I can't remember what could have been. I used cfdisk, t

Re: tldr; no BTRFS on dev, after a forced shutdown, help

2021-01-03 Thread Chris Murphy
; operations but mount/cp. This partition was my data partition, I thought > it was safe to use for this process, since I was just copying files from > it. I do have a backup, but it's old so I'll still lose a lot.. help. First, make no changes, attempt no repairs. Next save history

tldr; no BTRFS on dev, after a forced shutdown, help

2021-01-03 Thread André Isidro da Silva
files from it. I do have a backup, but it's old so I'll still lose a lot.. help. I ended up giving up on my system partition after this happens to my /home, I'm reinstalling in a ext4 for the time being, so I should have a system running to fill in logs missing from this mail written from my phone haha. Regards, André

[RFC PATCH 06/14] btrfs-progs: fix help, show long option in balance start and status

2019-10-21 Thread Anand Jain
btrfs balance start|status support both short and long option -v|--verbose however failed to show it in its --help. This patch fixes the --help. Signed-off-by: Anand Jain --- cmds/balance.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmds/balance.c b/cmds/balance.c

Re: help needed with unmountable btrfs-filesystem

2019-09-24 Thread Felix Koop
>>> backup_chunk_root: 22020096gen: 156 > >>> level: 1 > >>> backup_extent_root: 340721664 gen: 166 > >>> level: 2 > >>> backup_fs_root: 338608128

Re: help needed with unmountable btrfs-filesystem

2019-09-24 Thread Qu Wenruo
ot: 57311232gen: 167 >>> level: 1 >>> backup_chunk_root: 22020096gen: 156 >>> level: 1 >>> backup_extent_root: 69419008gen: 167 >>> level: 2 >>>

Re: help needed with unmountable btrfs-filesystem

2019-09-24 Thread Felix Koop
backup_num_devices: 1 > > > > backup 2: > > backup_tree_root: 340721664 gen: 168 > > level: 1 > > backup_chunk_root: 22020096gen: 156 > > level: 1 > >

Re: help needed with unmountable btrfs-filesystem

2019-09-24 Thread Qu Wenruo
sed: 243939692544 > backup_num_devices: 1 > > backup 3: > backup_tree_root: 57311232gen: 165 > level: 1 > backup_chunk_root: 22020096gen: 156 > level: 1 >

Re: help needed with unmountable btrfs-filesystem

2019-09-24 Thread Felix Koop
vel: 2 > backup_dev_root:345358336 gen: 168 > level: 1 > backup_csum_root: 353320960 gen: 168 > level: 2 > backup_total_bytes: 375567417344 > backup_bytes_used: 243939

Re: help needed with unmountable btrfs-filesystem

2019-09-24 Thread Felix Koop
um 11:50 > geschrieben: > > > > > On 2019/9/22 下午2:34, Felix Koop wrote: > > Hello, > > > > I need help accessing a btrfs-filesystem. When I try to mount the fs, I > > get the following error: > > > > # mount -t btrfs /dev/md/1 /mnt > > mount: /

Re: help needed with unmountable btrfs-filesystem

2019-09-22 Thread Qu Wenruo
On 2019/9/22 下午2:34, Felix Koop wrote: > Hello, > > I need help accessing a btrfs-filesystem. When I try to mount the fs, I > get the following error: > > # mount -t btrfs /dev/md/1 /mnt > mount: /mnt: wrong fs type, bad option, bad superblock on /dev/md1, > missing co

help needed with unmountable btrfs-filesystem

2019-09-21 Thread Felix Koop
Hello, I need help accessing a btrfs-filesystem. When I try to mount the fs, I get the following error: # mount -t btrfs /dev/md/1 /mnt mount: /mnt: wrong fs type, bad option, bad superblock on /dev/md1, missing codepage or helper program, or other error. When I then try to check the fs, this

Re: Need help: super_total_bytes mismatch with fs_devices total_rw_bytes

2019-08-25 Thread Qu Wenruo
On 2019/8/25 下午2:41, Patrick Dijkgraaf wrote: > Hi Qu, > > At the end of my first initial post, I mentioned that I finally was > able to mount the volume using: > > mount -o usebackuproot,ro /dev/sdh2 /mnt/data > > The chunk tree and super blocks dumps were taken after that. > > Now I noticed

Re: Need help: super_total_bytes mismatch with fs_devices total_rw_bytes

2019-08-24 Thread Patrick Dijkgraaf
Hi Qu, At the end of my first initial post, I mentioned that I finally was able to mount the volume using: mount -o usebackuproot,ro /dev/sdh2 /mnt/data The chunk tree and super blocks dumps were taken after that. Now I noticed that I was able to mount the volume without special options (same k

Re: Need help: super_total_bytes mismatch with fs_devices total_rw_bytes

2019-08-24 Thread Qu Wenruo
On 2019/8/24 下午8:05, Patrick Dijkgraaf wrote: > Thanks for the quick reply! > See responses inline. > > On Sat, 2019-08-24 at 19:01 +0800, Qu Wenruo wrote: >> On 2019/8/24 下午2:48, Patrick Dijkgraaf wrote: >>> Hi all, >>> >>> My server hung this morning, and I had to hard-reset is. I did not >>>

Re: Need help: super_total_bytes mismatch with fs_devices total_rw_bytes

2019-08-24 Thread Patrick Dijkgraaf
oadable here: https://kwek.duckstad.net/tree.txt > And, have you tried to mount using different devices? If it's some > super > blocks get corrupted, using a different device to mount may help. > (With that said, it's better to call that dump-super for each device) Tried it

Re: Need help: super_total_bytes mismatch with fs_devices total_rw_bytes

2019-08-24 Thread Qu Wenruo
es? If it's some super blocks get corrupted, using a different device to mount may help. (With that said, it's better to call that dump-super for each device) > > FS config is shown below: > [root@cornelis ~]# btrfs fi show > Label: 'cornelis-btrfs' uuid: ac64351

Need help: super_total_bytes mismatch with fs_devices total_rw_bytes

2019-08-23 Thread Patrick Dijkgraaf
Hi all, My server hung this morning, and I had to hard-reset is. I did not apply any updates. After the reboot, my FS won't mount: [Sat Aug 24 08:16:31 2019] BTRFS error (device sde2): super_total_bytes 92017957797888 mismatch with fs_devices total_rw_bytes 184035915595776 [Sat Aug 24 08:16:31 20

Re: Need help with a lockdep splat, possibly perf related?

2019-07-26 Thread Chris Murphy
On Fri, Jul 26, 2019 at 10:56 AM Chris Murphy wrote: > > Looks like Fedora have run into this in automated testing, and think > it's causing OS installations to hang, which would be a release > blocking bug. Is this really a Btrfs bug or is it something else that > Btrfs merely is exposing? > http

Re: Need help with a lockdep splat, possibly perf related?

2019-07-26 Thread Chris Murphy
Looks like Fedora have run into this in automated testing, and think it's causing OS installations to hang, which would be a release blocking bug. Is this really a Btrfs bug or is it something else that Btrfs merely is exposing? https://bugzilla.redhat.com/show_bug.cgi?id=1733388 I've seen a varia

Re: Need help with a lockdep splat, possibly perf related?

2019-07-05 Thread Josef Bacik
On Wed, Jul 03, 2019 at 11:12:10PM +0200, Peter Zijlstra wrote: > On Wed, Jul 03, 2019 at 09:54:06AM -0400, Josef Bacik wrote: > > Hello, > > > > I've been seeing a variation of the following splat recently and I have no > > earthly idea what it's trying to tell me. > > That you have a lock cycle

Re: Need help with a lockdep splat, possibly perf related?

2019-07-03 Thread Peter Zijlstra
b0 > ksys_mount+0x7e/0xd0 > __x64_sys_mount+0x21/0x30 > do_syscall_64+0x4a/0x1b0 > entry_SYSCALL_64_after_hwframe+0x49/0xbe > > -> #0 (&fs_info->reloc_mutex){+.+.}: > lock_acquire+0xb0/0x1a0 > __mutex_lock+0x81/0x8f0 >

Need help with a lockdep splat, possibly perf related?

2019-07-03 Thread Josef Bacik
0x81/0x8f0 btrfs_record_root_in_trans+0x3c/0x70 start_transaction+0xaa/0x510 btrfs_dirty_inode+0x49/0xe0 file_update_time+0xc7/0x110 btrfs_page_mkwrite+0x152/0x4f0 do_page_mkwrite+0x2b/0x70 do_wp_page+0x4b1/0x5e0 __handle_mm_fault+0x6b8/0x10e0

Re: Can't mount or recover! Help! ERROR: cannot read chunk root ERROR: cannot open file system

2019-06-21 Thread tyomix
[root@TYOMIX tyomix]# btrfs restore -D /dev/sda3 /dev/null checksum verify failed on 1048576 found E4E3BDB6 wanted checksum verify failed on 1048576 found E4E3BDB6 wanted bad tree block 1048576, bytenr mismatch, want=1048576, have=0 ERROR: cannot read chunk root Could not open r

Re: help request for an unmountable raid1 filesystem

2019-04-05 Thread Glenn Trigg
Hi Chris, On Fri, 5 Apr 2019 at 17:45, Chris Murphy wrote: > > On Thu, Apr 4, 2019 at 11:51 PM Glenn Trigg wrote: > > > > Hi Chris, > > > > Thanks for spending the time and energy to help me look into this. > > > > btrfs restore isn't very hap

Re: help request for an unmountable raid1 filesystem

2019-04-04 Thread Chris Murphy
On Thu, Apr 4, 2019 at 11:51 PM Glenn Trigg wrote: > > Hi Chris, > > Thanks for spending the time and energy to help me look into this. > > btrfs restore isn't very happy either, so I guess I'll wait until > btrfs-progs v5.0 comes out and see if that helps. > &

Re: help request for an unmountable raid1 filesystem

2019-04-04 Thread Glenn Trigg
Hi Chris, Thanks for spending the time and energy to help me look into this. btrfs restore isn't very happy either, so I guess I'll wait until btrfs-progs v5.0 comes out and see if that helps. btrfs restore says... % ./btrfs restore -v -D /dev/sda1 /data2 This is a dry-run, no files

Re: help request for an unmountable raid1 filesystem

2019-04-01 Thread Chris Murphy
On Sun, Mar 31, 2019 at 11:48 PM Glenn Trigg wrote: > > Hi Chris, > > After booting the fedora usb stick (running rc2), I got the same results. > > On Mon, 1 Apr 2019 at 08:35, Chris Murphy wrote: > > > > On Sat, Mar 30, 2019 at 5:43 PM Glenn Trigg wrote: > ... > > > > I'm confused because "can'

Re: help request for an unmountable raid1 filesystem

2019-03-31 Thread Glenn Trigg
Hi Chris, After booting the fedora usb stick (running rc2), I got the same results. On Mon, 1 Apr 2019 at 08:35, Chris Murphy wrote: > > On Sat, Mar 30, 2019 at 5:43 PM Glenn Trigg wrote: ... > > I'm confused because "can't read superblock" isn't found in fs/btrfs. > I'm only finding it in fs/g

Re: help request for an unmountable raid1 filesystem

2019-03-31 Thread Chris Murphy
On Sat, Mar 30, 2019 at 5:43 PM Glenn Trigg wrote: > > Hi Chris, > > Thanks for replying. > > On Fri, 29 Mar 2019 at 13:27, Chris Murphy wrote: > ... > > Seem in conflict. I don't really understand how the kernel complains > > about a bad super and yet user space tools say they're all OK. What >

Re: help request for an unmountable raid1 filesystem

2019-03-30 Thread Glenn Trigg
; That's usually bad. > > > > Other system information is: > > % uname -a > > Linux izen 4.18.0-16-generic #17-Ubuntu SMP Fri Feb 8 00:06:57 UTC > > 2019 x86_64 x86_64 x86_64 GNU/Linux > > It looks like extent tree corruption so I don't think it'll he

Re: help request for an unmountable raid1 filesystem

2019-03-28 Thread Chris Murphy
On Thu, Mar 28, 2019 at 8:27 PM Chris Murphy wrote: >>So I suggest 5.0.4, or 4.19.32, or you can be brave and > download this, image it to a USB stick (dd if=file of=/dev/ bs=1M > oflag=direct) which of course will erase everything on the stick. > > https://kojipkgs.fedoraproject.org/compose/rawhi

Re: help request for an unmountable raid1 filesystem

2019-03-28 Thread Chris Murphy
168376320 wanted 37601 found 37700 That's usually bad. > Other system information is: > % uname -a > Linux izen 4.18.0-16-generic #17-Ubuntu SMP Fri Feb 8 00:06:57 UTC > 2019 x86_64 x86_64 x86_64 GNU/Linux It looks like extent tree corruption so I don't think it'll hel

Re: help request for an unmountable raid1 filesystem

2019-03-28 Thread Glenn Trigg
I wonder why this is not getting any replies? On Sat, 23 Mar 2019 at 11:45, Glenn Trigg wrote: > > Hi, > > Since mailing this I have tried using the more recent utils - version > btrfs-progs v4.20.2. > > I still have not had any success in getting the filesystem to a > mountable state and I have

Re: parent transid verify failed / FS wont mount / help please!

2019-03-25 Thread Andrei Borzenkov
26.03.2019 1:26, berodual_xyz пишет: > Dear all, > > on a large btrfs based filesystem (multi-device raid0 - all devices okay, > nodatacow,nodatasum...) I experienced severe filesystem corruption, most > likely due to a hard reset with inflight data. > The system cannot mount (also not with "ro,

Re: parent transid verify failed / FS wont mount / help please!

2019-03-25 Thread berodual_xyz
): has skinny extents > > [33814.361708] BTRFS error (device sdd): parent transid verify failed on > > 1048576 wanted 60234 found 60230 > > [33814.361764] BTRFS error (device sdd): failed to read chunk root > > [33814.373140] BTRFS error (device sdd): open_ctree failed &

Re: parent transid verify failed / FS wont mount / help please!

2019-03-25 Thread Hugo Mills
BTRFS error (device sdd): failed to read chunk root > [33814.373140] BTRFS error (device sdd): open_ctree failed > ## > > > Again, thank you very much for all help! > > > > Sent with ProtonMail Secure Email. > > ‐‐‐ Original Message ‐‐‐ > On M

Re: parent transid verify failed / FS wont mount / help please!

2019-03-25 Thread Hugo Mills
t;tree dump". Do you mean btrfs-debug-tree? Or btrfs-image? Or something else? In any case, none of those are likely to help all that much. The metadata is corrupted in a way that shouldn't ever happen, and where it's really hard to work out how to fix it, even with an actual human ex

Re: parent transid verify failed / FS wont mount / help please!

2019-03-25 Thread berodual_xyz
6 wanted 60234 found 60230 [33814.361764] BTRFS error (device sdd): failed to read chunk root [33814.373140] BTRFS error (device sdd): open_ctree failed ## Again, thank you very much for all help! Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Monday, March 25, 2019 11

Re: parent transid verify failed / FS wont mount / help please!

2019-03-25 Thread Hugo Mills
On Mon, Mar 25, 2019 at 10:26:29PM +, berodual_xyz wrote: > Dear all, > > on a large btrfs based filesystem (multi-device raid0 - all devices okay, > nodatacow,nodatasum...) Ouch. I think the only thing you could have done to make the FS more fragile is mounting with nobarrier(*). Frankl

parent transid verify failed / FS wont mount / help please!

2019-03-25 Thread berodual_xyz
the net say to run "btrfs check --init-extent-tree" but I would like to reach out first. btrfs progs version is 4.20.2 and kernel is 4.20.17 Thank you for any help! Much appreciated! Marcel Sent with ProtonMail Secure Email.

Re: help request for an unmountable raid1 filesystem

2019-03-22 Thread Glenn Trigg
Hi, Since mailing this I have tried using the more recent utils - version btrfs-progs v4.20.2. I still have not had any success in getting the filesystem to a mountable state and I have now also tried recovering files with btrfs restore, also with no success. The restore output is: % ./btrfs res

help request for an unmountable raid1 filesystem

2019-03-09 Thread Glenn Trigg
Hello, I had some random machine freezing events which I suspected was due to issues with a raid1 filesystem and kernel module crashes. I attempted to use the information available to get the filesystem into a good state where "btrfs check" and "btrfs scrub" would not have any errors, however I fe

Re: Help needed, server is unresponsive after btrfs balance

2019-02-05 Thread Qu Wenruo
On 2019/2/5 下午7:45, Moritz M wrote: > > > Am 2019-02-04 14:55, schrieb Qu Wenruo: >> On 2019/2/4 下午8:49, Moritz M wrote: You're using qgroups, it's known to cause huge performance overhead for balance. We have upcoming patches to solve it, but it not going to mainline >

Re: Help needed, server is unresponsive after btrfs balance

2019-02-05 Thread Moritz M
Am 2019-02-04 14:55, schrieb Qu Wenruo: On 2019/2/4 下午8:49, Moritz M wrote: You're using qgroups, it's known to cause huge performance overhead for balance. We have upcoming patches to solve it, but it not going to mainline before v5.1 kernel. So please disable qgroups if you're not usin

Re: Help needed, server is unresponsive after btrfs balance

2019-02-04 Thread Moritz M
You're using qgroups, it's known to cause huge performance overhead for balance. We have upcoming patches to solve it, but it not going to mainline before v5.1 kernel. So please disable qgroups if you're not using it actively. Thanks, was not aware that I turned it on. Is btrfs quota disabl

Re: Help needed, server is unresponsive after btrfs balance

2019-02-04 Thread Qu Wenruo
On 2019/2/4 下午7:47, Moritz M wrote: > Hi, > > I'm running a Ubuntu server with a btrfs RAID1 consisting of three HDDs. > > I do balancing daily via > >> btrfs balance start -dusage=50 -dlimit=2 -musage=50 -mlimit=4 / > > It usually takes between 1 - 10 minutes. > > But today the server was u

Help needed, server is unresponsive after btrfs balance

2019-02-04 Thread Moritz M
Hi, I'm running a Ubuntu server with a btrfs RAID1 consisting of three HDDs. I do balancing daily via btrfs balance start -dusage=50 -dlimit=2 -musage=50 -mlimit=4 / It usually takes between 1 - 10 minutes. But today the server was unresponsive (no ssh connect possible, no direct login via

Re: Need help with potential ~45TB dataloss

2018-12-09 Thread Patrick Dijkgraaf
So, does anyone have any suggestion on how I might recover some of the data? If not, I'll cut my losses and create a new array... Thanks! -- Groet / Cheers, Patrick Dijkgraaf On Tue, 2018-12-04 at 10:58 +0100, Patrick Dijkgraaf wrote: > Hi, thanks again. > Please see answers inline. > >

Re: Need help with potential ~45TB dataloss

2018-12-09 Thread Patrick Dijkgraaf
Hi Chris, they're SATA. smartctl -x gives: SCT Error Recovery Control command not supported So seems like we can't do enything with it. -- Groet / Cheers, Patrick Dijkgraaf On Tue, 2018-12-04 at 12:38 -0700, Chris Murphy wrote: > On Tue, Dec 4, 2018 at 3:09 AM Patrick Dijkgraaf > < > bolder

Urgently need money? We can help you!

2018-12-07 Thread Mr. Muller Dieter
Urgently need money? We can help you! Are you by the current situation in trouble or threatens you in trouble? In this way, we give you the ability to take a new development. As a rich person I feel obliged to assist people who are struggling to give them a chance. Everyone deserved a second

Re: HELP unmountable partition after btrfs balance to RAID0

2018-12-07 Thread Duncan
Thomas Mohr posted on Thu, 06 Dec 2018 12:31:15 +0100 as excerpted: > We wanted to convert a file system to a RAID0 with two partitions. > Unfortunately we had to reboot the server during the balance operation > before it could complete. > > Now following happens: > > A mount attempt of the arra

HELP unmountable partition after btrfs balance to RAID0

2018-12-06 Thread Thomas Mohr
30523392ERROR: failed to repair root items: Operation not permitted Any ideas what is going on or how to recover the file system ? I would greatly appreciate your help !!! best, Thomas uname -a: Linux server2 4.19.5-1-default #1 SMP PREEMPT Tue Nov 27 19:56:09 UTC 2018 (6210279) x86_64

Re: Need help with potential ~45TB dataloss

2018-12-04 Thread Chris Murphy
On Tue, Dec 4, 2018 at 3:09 AM Patrick Dijkgraaf wrote: > > Hi Chris, > > See the output below. Any suggestions based on it? If they're SATA drives, they may not support SCT ERC; and if they're SAS, depending on what controller they're behind, smartctl might need a hint to properly ask the drive

Re: Need help with potential ~45TB dataloss

2018-12-04 Thread Patrick Dijkgraaf
Hi Chris, See the output below. Any suggestions based on it? Thanks! -- Groet / Cheers, Patrick Dijkgraaf On Mon, 2018-12-03 at 20:16 -0700, Chris Murphy wrote: > Also useful information for autopsy, perhaps not for fixing, is to > know whether the SCT ERC value for every drive is less than t

Re: Need help with potential ~45TB dataloss

2018-12-04 Thread Patrick Dijkgraaf
gt; I have been a happy BTRFS user for quite some time. But now I'm > > > > facing > > > > a potential ~45TB dataloss... :-( > > > > I hope someone can help! > > > > > > > > I have Server A and Server B. Both having a 20-devices BTRFS >

Re: Need help with potential ~45TB dataloss

2018-12-03 Thread Chris Murphy
Also useful information for autopsy, perhaps not for fixing, is to know whether the SCT ERC value for every drive is less than the kernel's SCSI driver block device command timeout value. It's super important that the drive reports an explicit read failure before the read command is considered fail

Re: Need help with potential ~45TB dataloss

2018-12-02 Thread Qu Wenruo
On 2018/12/3 上午4:30, Andrei Borzenkov wrote: > 02.12.2018 23:14, Patrick Dijkgraaf пишет: >> I have some additional info. >> >> I found the reason the FS got corrupted. It was a single failing drive, >> which caused the entire cabinet (containing 7 drives) to reset. So the >> FS suddenly lost 7 d

Re: Need help with potential ~45TB dataloss

2018-12-02 Thread Qu Wenruo
;> On Sat, 2018-12-01 at 07:57 +0800, Qu Wenruo wrote: >>> On 2018/11/30 下午9:53, Patrick Dijkgraaf wrote: >>>> Hi all, >>>> >>>> I have been a happy BTRFS user for quite some time. But now I'm >>>> facing >>>> a potential

Re: Need help with potential ~45TB dataloss

2018-12-02 Thread Qu Wenruo
53, Patrick Dijkgraaf wrote: >>> Hi all, >>> >>> I have been a happy BTRFS user for quite some time. But now I'm >>> facing >>> a potential ~45TB dataloss... :-( >>> I hope someone can help! >>> >>> I have Server A and Server

Re: Need help with potential ~45TB dataloss

2018-12-02 Thread Andrei Borzenkov
02.12.2018 23:14, Patrick Dijkgraaf пишет: > I have some additional info. > > I found the reason the FS got corrupted. It was a single failing drive, > which caused the entire cabinet (containing 7 drives) to reset. So the > FS suddenly lost 7 drives. > This remains mystery for me. btrfs is mark

Re: Need help with potential ~45TB dataloss

2018-12-02 Thread Patrick Dijkgraaf
57 +0800, Qu Wenruo wrote: > > On 2018/11/30 下午9:53, Patrick Dijkgraaf wrote: > > > Hi all, > > > > > > I have been a happy BTRFS user for quite some time. But now I'm > > > facing > > > a potential ~45TB dataloss... :-( > > >

Re: Need help with potential ~45TB dataloss

2018-12-02 Thread Patrick Dijkgraaf
ome time. But now I'm > > facing > > a potential ~45TB dataloss... :-( > > I hope someone can help! > > > > I have Server A and Server B. Both having a 20-devices BTRFS RAID6 > > filesystem. Because of known RAID5/6 risks, Server B was a backup > > of >

Re: Need help with potential ~45TB dataloss

2018-11-30 Thread Qu Wenruo
On 2018/11/30 下午9:53, Patrick Dijkgraaf wrote: > Hi all, > > I have been a happy BTRFS user for quite some time. But now I'm facing > a potential ~45TB dataloss... :-( > I hope someone can help! > > I have Server A and Server B. Both having a 20-devices BTRFS RAID

Need help with potential ~45TB dataloss

2018-11-30 Thread Patrick Dijkgraaf
Hi all, I have been a happy BTRFS user for quite some time. But now I'm facing a potential ~45TB dataloss... :-( I hope someone can help! I have Server A and Server B. Both having a 20-devices BTRFS RAID6 filesystem. Because of known RAID5/6 risks, Server B was a backup of Server A.

[PATCH v2 15/20] btrfs-progs: sub list: Update help message of -d option

2018-06-18 Thread Misono Tomohiro
Explicitly states that -d requires root privileges. Also, update some option handling with regard to -d option. Signed-off-by: Misono Tomohiro --- Documentation/btrfs-subvolume.asciidoc | 3 ++- cmds-subvolume.c | 8 2 files changed, 10 insertions(+), 1 deletion(-)

[PATCH v2 14/20] btrfs-progs: sub list: Update help message of -o option

2018-06-18 Thread Misono Tomohiro
Currently "sub list -o" lists only child subvolumes of the specified path. So, update help message and variable name more appropriately. Signed-off-by: Misono Tomohiro --- Documentation/btrfs-subvolume.asciidoc | 2 +- cmds-subvolume.c | 10 +- 2 files

[PATCH 10/18] btrfs-progs: reorder placement of help declarations for send/receive

2018-05-16 Thread jeffm
From: Jeff Mahoney The usage definitions for send and receive follow the command definitions, which use them. This works because we declare them in commands.h. When we move to using cmd_struct as the entry point, these declarations will be removed, breaking the commands. Since that would be an

[PATCH 09/18] btrfs-progs: help: convert ints used as bools to bool

2018-05-16 Thread jeffm
nt argc, char **argv) { - int has_help = 0; - int has_full = 0; + bool has_help = false; + bool has_full = false; int i; for (i = 0; i < shift; i++) { if (strcmp(argv[i], "--help") == 0) - has_

Help

2018-04-29 Thread Sg Swanson Denniss
Dear Sir/Madam, I am Sgt Swanson Dennis, I have a good business proposal for you. There are no risks involved and it is easy. Please reply for briefs and procedures. Best regards, Sgt Swanson Dennis -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message

Re: [PATCH 10/20] btrfs-progs: help: convert ints used as bools to bool

2018-03-07 Thread Qu Wenruo
l = 0; > + bool has_help = false; > + bool has_full = false; > int i; > > for (i = 0; i < shift; i++) { > if (strcmp(argv[i], "--help") == 0) > - has_help = 1; > + has_help = true; >

[PATCH 11/20] btrfs-progs: reorder placement of help declarations for send/receive

2018-03-07 Thread jeffm
From: Jeff Mahoney The usage definitions for send and receive follow the command definitions, which use them. This works because we declare them in commands.h. When we move to using cmd_struct as the entry point, these declarations will be removed, breaking the commands. Since that would be an

  1   2   3   4   5   6   7   >