search for: open_ctree

Displaying 20 results from an estimated 89 matches for "open_ctree".

2009 Nov 14
2
[PATCH] btrfs-progs: Check mount status of multidevice filesystems
...<lists-receive@programmierforen.de> --- diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c index a109c6a..1e0ef9f 100644 --- a/btrfs-map-logical.c +++ b/btrfs-map-logical.c @@ -169,7 +169,7 @@ int main(int ac, char **av) radix_tree_init(); cache_tree_init(&root_cache); - root = open_ctree(dev, 0, 0); + root = open_ctree(dev, 0, 0, 0); if (!root) { fprintf(stderr, "Open ctree failed\n"); exit(1); diff --git a/btrfsck.c b/btrfsck.c index 73f1836..1434791 100644 --- a/btrfsck.c +++ b/btrfsck.c @@ -2821,7 +2821,7 @@ int main(int ac, char **av) radix_tree_init();...
2012 Jul 27
2
[PATCH] btrfs-progs: btrfs-image.c: Added NULL pointer check.
Check for the return value of ''open_ctree()'' before dereferencing it. Signed-off-by: Nageswara R Sastry <nasastry@in.ibm.com> --- btrfs-image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/btrfs-image.c b/btrfs-image.c index f2bbcc8..2a33a55 100644 --- a/btrfs-image.c +++ b/btrfs-image.c @@ -491,6 +491,7 @@ static i...
2012 Jan 22
1
Trying to mount RAID1 degraded with removed disk -> open_ctree failed
...448316575744 wanted 2427 found 2425 [ 2156.770769] parent transid verify failed on 448316575744 wanted 2427 found 2425 [ 2156.770774] parent transid verify failed on 448316575744 wanted 2427 found 2425 [ 2156.784722] btrfs warning page private not zero on page 448229711872 [ 2156.784842] btrfs: open_ctree failed # mount -o recovery /r1b [ 2286.282041] device label btrfs-r1b devid 3 transid 2441 /dev/sdc1 [ 2286.282664] btrfs: enabling auto recovery [ 2286.284709] btrfs: failed to read chunk tree on sda2 [ 2286.285045] btrfs: open_ctree failed # find-root /dev/sda2 warning devid 1 not found alrea...
2008 Mar 15
1
btrfs-0.13 breaks boot on reiserfs-3.6
Hi, I recompiled my kernel today, and when the btrfs-0.13 option is enabled (CONFIG_BTR_FS=y) I cannot boot on my reiserfs-3.6 partition any more. The kernel says that is cannot mount /dev/sdc6. I can boot the kernel when I recompile it with the same options and CONFIG_BTR_FS=n, and with the same boot options as well. Everything is amd64 on my system (kernel + programs). Here is a screenshot of
2013 Jun 07
2
How do I safely terminate COW on pre-existing files?
I want to eliminate the COW feature on all of my OS files. It is a nice feature for user files, but I don''t see a clear benefit for the actual OS files. And I suspect that COW induced fragmentation is causing or aggravating problems with my system including the boot open_ctree problem. I had planned to recursively chattr these files to "nodatacow" status but then I ran into this cryptic warning on the chattr man page: (Note: For btrfs, the ''C'' flag should be set on new or empty files. If it is set on a file which already has data blocks,...
2011 Nov 09
6
[PATCH 0/5] Btrfs: mount error handling fixes
...uring mount sequence. This is on top of for-linus + slyfox''s double-free fix. Thanks, Ilya Ilya Dryomov (5): Btrfs: fix memory leak in btrfs_parse_early_options() Btrfs: fix subvol_name leak on error in btrfs_mount() Btrfs: avoid null dereference and leaks when bailing from open_ctree() Btrfs: close devices on all error paths in open_ctree() Btrfs: rework error handling in btrfs_mount() fs/btrfs/disk-io.c | 42 ++++++++++++++++++------------------------ fs/btrfs/super.c | 47 +++++++++++++++++++++++++---------------------- 2 files changed, 43 insertions(+), 46 deleti...
2013 Jan 17
2
btrfs: could not do orphan cleanup -22
...2k [ 7.008342] device label testfs1 devid 1 transid 4141 /dev/sdb1 [ 7.011071] btrfs: disk space caching is enabled >> [ 7.165692] btrfs: Error removing orphan entry, stopping orphan cleanup >> [ 7.165696] btrfs: could not do orphan cleanup -22 >> [ 8.910980] btrfs: open_ctree failed [ 8.944598] systemd-journald[292]: Received SIGTERM [ 70.616949] systemd-modules-load[453]: Module ''uinput'' is already loaded [ 70.676072] systemd-udevd[457]: starting version 197 [ 70.937319] microcode: AMD CPU family 0x6 not supported [ 71.598671] btrfs: disk s...
2010 Dec 10
0
compress-force option problem
...n /dev/mapper/vg0_terminator-test, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so # dmesg |tail [509234.944346] btrfs: unrecognized mount option ''compress=zlib'' [509234.944762] btrfs: open_ctree failed [509295.321244] device fsid d44c18f154fc7778-4f5d69fd40c5a1ba devid 1 transid 446 /dev/mapper/vg0_terminator-test [509295.322282] btrfs: unrecognized mount option ''compress=lzo'' [509295.322681] btrfs: open_ctree failed [509543.213575] device fsid d44c18f154fc7778-4f5d69fd40...
2013 Mar 29
8
minimum kernel version for btrfsprogs.0.20?
.... It can be mounted by kernel 3.8.4. I haven''t tested any other 3.8, or any 3.7 kernels. Is this expected? dmesg reports: [ 300.014764] btrfs: disk space caching is enabled [ 300.024137] BTRFS: couldn''t mount because of unsupported optional features (40). [ 300.034148] btrfs: open_ctree failed Chris Murphy-- 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
2012 Jul 17
1
Unmountable btrfs filesystem
...(usb cable pulled out) buy my 8 months old daughter. Here''s the output from dmesg: [ 299.699543] parent transid verify failed on 528952573952 wanted 22726 found 22728 [ 299.700947] btrfs read error corrected: ino 1 off 528952573952 (dev /dev/sdb6 sector 585319392) [ 299.701224] btrfs: open_ctree failed I then run "btrfsck /dev/sdb6" with not much more success at all. The output is as follows: Ignoring transid failure leaf parent key incorrect 528969142272 parent transid verify failed on 528969142272 wanted 22728 found 22726 Ignoring transid failure leaf parent key inc...
2013 Oct 27
2
Error from Trying to Mount Btrfs
I have the attached error from trying to mount btrfs on external hard drive. The F.S. was my primary system, then I dd''d it to an external and reinstalled Fedora. I tried to follow https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#Filesystem_can.27t_be_mounted_by_label. I used "# btrfs device scan --all-devices" before attempting to mount.   What should I do?
2012 Apr 03
3
[PATCH] Btrfs: do not mount when we have a sectorsize unequal to PAGE_SIZE
...ned-off-by: Liu Bo <liubo2009@cn.fujitsu.com> --- fs/btrfs/disk-io.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 20196f4..b9866f2 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -2254,9 +2254,9 @@ int open_ctree(struct super_block *sb, goto fail_sb_buffer; } - if (sectorsize < PAGE_SIZE) { - printk(KERN_WARNING "btrfs: Incompatible sector size " - "found on %s\n", sb->s_id); + if (sectorsize != PAGE_SIZE) { + printk(KERN_WARNING "btrfs: Incompatible sector si...
2012 Jan 11
5
Warning: bad fsid on block 20971520
...fsid on block 20971520 [420367.376239] btrfs bad fsid on block 20971520 [420367.381836] btrfs bad fsid on block 20971520 [420367.467332] btrfs bad fsid on block 20971520 [420367.473249] btrfs bad fsid on block 20971520 [420367.478649] btrfs: failed to read chunk root on sda9 [420367.487810] btrfs: open_ctree failed and mount fails. /proc/partitions: 8 9 10485760 sda9 10485760*1024 bytes, which is 2621440 4k blocks. The number 20971520 is not a block number, rather byte offset, so the message might be confusing first. Real block number is 20971520 / 4096 = 20480 used blocks on a freshly...
2011 Oct 28
4
Unable to mount btrfs partition
...transid 84229 /dev/dm-0 parent transid verify failed on 77078528 wanted 83774 found 84226 parent transid verify failed on 77078528 wanted 83774 found 84226 parent transid verify failed on 77078528 wanted 83774 found 84226 parent transid verify failed on 77078528 wanted 83774 found 84226 btrfs: open_ctree failed The boot process drops to the initramfs shell with no btrfsck available. I tried to boot with both the "new" 3.0.0-13 kernel and the old 3.0.0-12 and 3.0.0-11 kernels -- no success. I''m running a live cd right now with 3.0.0-12 and I get the above error no matter w...
2011 Dec 07
7
FS won't mount, open_ctree failed, Assertion !(path->slots[0] == 0) failed
.../md2 [26423.860966] parent transid verify failed on 25487586828288 wanted 1268960 found 1246404 [26423.860974] parent transid verify failed on 25487586828288 wanted 1268960 found 1246404 [26423.860979] parent transid verify failed on 25487586828288 wanted 1268960 found 1246404 [26423.872936] btrfs: open_ctree failed # ./btrfsck /dev/md2 parent transid verify failed on 25487586828288 wanted 1268960 found 1246404 parent transid verify failed on 25487586828288 wanted 1268960 found 1246404 parent transid verify failed on 25487586828288 wanted 1268960 found 1246404 parent transid verify failed on 2548758682...
2011 Nov 02
2
what does "scrub" mean?
Hallo, I''d like to get some explanations ... # btrfs filesystem show Label: ''MMedia'' uuid: 120b036a-883f-46aa-bd9a-cb6a1897c8d2 Total devices 3 FS bytes used 3.80TB devid 1 size 1.82TB used 1.29TB path /dev/sdg1 devid 3 size 1.81TB used 1.29TB path /dev/sdc1 devid 2 size 1.81TB used 1.28TB path /dev/sdb1 Btrfs Btrfs v0.19 # btrfs filesystem df /srv/MM
2011 Aug 14
1
btrfs: failed to read chunk root
...a reboot kernel panicked (no access to error log since it is my root volume that failed). I get this using a rescue cd (2.6.38, btrfs v 0.19) and then trying to mount : [  752.129118] btrfs bad tree block start 0 131072 [  752.129152] btrfs: failed to read chunk root on sda5 [  752.132190] btrfs: open_ctree failed [ 1132.984600] device label deux devid 1 transid 86 /dev/sdb3 [ 1171.796682] device fsid 9d42de57e2bebde7-4824b05acb3c538d devid 1 transid 346 /dev/sda5 Trying btrfsck: btrfsck: disk-io.c:721: open_ctree_fd: Assertion `!(!chunk_root->node)'' failed. It had worked alright during...
2013 Aug 29
2
bug
...2.713953] bio: create slab <bio-1> at 1 [ 192.716230] Btrfs loaded [ 192.717177] device fsid a0dff7ea-9354-43fd-8516-0e17f370991d devid 1 transid 6 /dev/sdb [ 192.717712] btrfs: disk space caching is enabled [ 192.720572] btrfs: failed to read the system array on sdb [ 192.723398] btrfs: open_ctree failed linux md raid5 have resync , the test seems btrfs raid5 have not resync,how fix the bug? -- 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-in...
2011 Nov 30
1
[PATCH] Canonicalise BTRFS: and Btrfs: to btrfs:
...rg> --- fs/btrfs/disk-io.c | 4 ++-- fs/btrfs/inode.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 94abc25..f4d419b 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -2106,7 +2106,7 @@ struct btrfs_root *open_ctree(struct super_block *sb, features = btrfs_super_incompat_flags(disk_super) & ~BTRFS_FEATURE_INCOMPAT_SUPP; if (features) { - printk(KERN_ERR "BTRFS: couldn''t mount because of " + printk(KERN_ERR "btrfs: couldn''t mount because of " "un...
2012 Jul 14
2
bug: raid10 filesystem has suddenly ceased to mount
...failed on 2363592273920 wanted 31596 found 25250 [77848.659455] parent transid verify failed on 2363592273920 wanted 31596 found 25250 [77848.659459] parent transid verify failed on 2363592273920 wanted 31596 found 25250 [77848.659464] btrfs: failed to read chunk tree on sdc1 [77848.661376] btrfs: open_ctree failed Linux kernel: 3.3.0-3-grml-amd64 Distribution: Debian (mix of stable and testing branches with grml kernel). S.M.A.R.T. of all drives is good. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More major...