Hi, A few days ago I started experiencing some major slowdowns in my main btrfs filesystem and when inspecting the errors I noticed an error during balance: btrfs: block rsv returned -28 After a while I started seeing worse and worse problems with the filesystem. Eventually I was forced to revert to a LiveCD to attempt a fix. I downloaded the latest version of btrfs-progs from git and ran btrfsck against the filesystem and btrfsck dies with a segfault after quite some time. The kernel I started seeing the problems is 3.6.0 and I was on 3.6.2 during the few final moments. I have backups of the filesystem, but I''m a bit curious what is causing this. I''ve seen mentions of other segfault causing problems, so if there is anything I can do to help debug the cause for the segfault, I''d be happy to help. Filesystem info: Label: none uuid: 6dab592a-72a2-41bd-a773-c16614c56f51 Total devices 2 FS bytes used 843.64GB devid 2 size 1.80TB used 1.32TB path /dev/sdb2 devid 1 size 1.80TB used 1.32TB path /dev/sda2 Data, RAID1: total=1.25TB, used=809.41GB System, RAID1: total=32.00MB, used=196.00KB System: total=4.00MB, used=0.00 Metadata, RAID1: total=74.00GB, used=34.23GB Regards, -- Sami Haahtinen Bad Wolf Oy +358443302775
On Tue, Oct 16, 2012 at 11:25 PM, Sami Haahtinen <sami@haahtinen.name> wrote:> The kernel I started seeing the problems is 3.6.0 and I was on 3.6.2 > during the few final moments. I have backups of the filesystem, but > I''m a bit curious what is causing this. I''ve seen mentions of other > segfault causing problems, so if there is anything I can do to help > debug the cause for the segfault, I''d be happy to help.After a bit of investigating I noticed that I was unable to delete some of the snapshots, so the problem is most likely related to snapshots. root@sysresccd /mnt/windows % btrfs sub del @apt-snap* Delete subvolume ''/mnt/windows/@apt-snapshot-2012-09-25_17:01:15'' ERROR: cannot delete ''/mnt/windows/@apt-snapshot-2012-09-25_17:01:15'' - Directory not empty Delete subvolume ''/mnt/windows/@apt-snapshot-2012-09-25_17:01:16'' ERROR: cannot delete ''/mnt/windows/@apt-snapshot-2012-09-25_17:01:16'' - Directory not empty [...] The unmount process after the deletion has now taken quite a while (over an hour) and I''m not really expecting it to complete. Regards, -- Sami Haahtinen Bad Wolf Oy +358443302775 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html