linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mount problem
@ 2014-09-23 12:06 Simone Ferretti
  2014-09-24 13:23 ` Duncan
  0 siblings, 1 reply; 8+ messages in thread
From: Simone Ferretti @ 2014-09-23 12:06 UTC (permalink / raw)
  To: Majordomo

Hi all,

we're testing BTRFS on our Debian server.  After a lot of operations
simulating a RAID1 failure, every time I mount my BTRFS RAID1 volume
the kernel logs these messages:

[73894.436173] BTRFS: bdev /dev/etherd/e30.20 errs: wr 33036, rd 0, flush 0, corrupt 2806, gen 0
[73894.436181] BTRFS: bdev /dev/etherd/e60.28 errs: wr 244165, rd 0, flush 0, corrupt 1, gen 4

Everything seems to work nice but I'm courious to know what these
messages mean (in particular what do "gen" and "corrupt" mean?).

# uname -a
Linux dub 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86_64 GNU/Linux

# btrfs --version
Btrfs v3.16

# btrfs fi show
Label: 'btrfs_multiappliance'  uuid: 3452ffdd-c09b-43dd-9adb-cffde8518a72
        Total devices 2 FS bytes used 20.03GiB
        devid    1 size 1.82TiB used 24.03GiB path /dev/etherd/e30.20
        devid    2 size 3.64TiB used 24.03GiB path /dev/etherd/e60.28

# btrfs fi df /media/multiapp
Data, RAID1: total=22.00GiB, used=20.01GiB
System, RAID1: total=32.00MiB, used=16.00KiB
Metadata, RAID1: total=2.00GiB, used=21.23MiB
unknown, single: total=16.00MiB, used=0.00

# dmesg
[82932.655078] BTRFS info (device etherd/e30.20): disk space caching is enabled
[82932.678380] BTRFS: bdev /dev/etherd/e30.20 errs: wr 33036, rd 0, flush 0, corrupt 2806, gen 0
[82932.678388] BTRFS: bdev /dev/etherd/e60.28 errs: wr 244165, rd 0, flush 0, corrupt 1, gen 4


-- 
Thanks in advance,
Simone Ferretti

^ permalink raw reply	[flat|nested] 8+ messages in thread
* mount problem
@ 2011-01-12  0:25 Leonidas Spyropoulos
  2011-01-12  0:48 ` Tsutomu Itoh
  0 siblings, 1 reply; 8+ messages in thread
From: Leonidas Spyropoulos @ 2011-01-12  0:25 UTC (permalink / raw)
  To: linux-btrfs

Hey all,

I have a weird error with my RAID 0 btrfs partition.
Information for the partitions follow:

# btrfs filesystem show
failed to read /dev/sr0
Label: none  uuid: 1882b025-58e4-4287-98a3-9b772af0ad76
	Total devices 2 FS bytes used 108.16GB
	devid    2 size 74.53GB used 55.26GB path /dev/sdd2
	devid    3 size 74.53GB used 55.26GB path /dev/sde2

Btrfs v0.19-35-g1b444cd

# btrfs device scan
Scanning for Btrfs filesystems
failed to read /dev/sr0

# cat /etc/fstab | grep btrfs
/dev/disk/by-uuid/1882b025-58e4-4287-98a3-9b772af0ad76 	/media/data
	btrfs 	rw,user 0 0

# blkid
/dev/sdd2: UUID="1882b025-58e4-4287-98a3-9b772af0ad76"
UUID_SUB="468b49fa-a0b6-4e11-a312-ef0cafd2890a" TYPE="btrfs"
/dev/sde2: UUID="1882b025-58e4-4287-98a3-9b772af0ad76"
UUID_SUB="cf534558-a317-4259-808b-d950a155fb5d" TYPE="btrfs"

Although I have the config within fstab it doesn't mount on bootup with error:
mount: wrong fs type, bad option, bad superblock on /dev/sde2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Kernel messages:
device fsid 8742e45825b08218-76adf02a779ba398 devid 3 transid 4778 /dev/sde2
btrfs: failed to read the system array on sde2

No matter how many times I try with sudo mount -a or sudo mount
/media/data I got the same error.

Now the weird stuff:
If I do a blkid and fdisk -l I can then mount normally the partition.
Any ideas?

Kernel info: Linux woofy 2.6.36-ARCH #1 SMP PREEMPT Sat Jan 8 14:15:27
CET 2011 x86_64 Dual Core AMD Opteron(tm) Processor 165 AuthenticAMD
GNU/Linux
btrfs-progs: Latest from git
I don't know which revision/patch Arch stock kernel has of btrfs.


Thanks,
Leonidas



-- 
Caution: breathing may be hazardous to your health.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-09-25  5:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 12:06 mount problem Simone Ferretti
2014-09-24 13:23 ` Duncan
2014-09-24 14:28   ` Simone Ferretti
2014-09-25  5:34     ` Duncan
  -- strict thread matches above, loose matches on Subject: below --
2011-01-12  0:25 Leonidas Spyropoulos
2011-01-12  0:48 ` Tsutomu Itoh
2011-01-12  0:58   ` Leonidas Spyropoulos
2011-01-12  1:38     ` Leonidas Spyropoulos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).