On Wed, Apr 27, 2011 at 1:20 PM, Brian Parma <freecode@xxxxxxx> wrote: > I have a 1.5 TB (1,475,720,773,632) partition that I wanted to convert from > ext4 to btrfs. ÂIt is currently used as / for ubuntu 10.10. > > I booted into 11.04 beta2 and tried a 'btrfs-convert /dev/sdc1', but after > about 20 minutes it segfaulted. > > I performed a: > > sck.ext4 -cDfty -C 0 /dev/sdc1 > > > After everything was clean, I downloaded the debugging symbols for > btrfs-convert and tried again. ÂBelow is the 'bt full' output. ÂI don't have > enough free space to copy all the data off, create a fresh btrfs partition, > and copy everything back on (I have backups of important stuff). ÂIs there > something else I can try to get this to work? > > Brian > The crash was caused by the hard links per directory limit in btrfs. In short, your ext4 is not convertible. > at: http://pastebin.com/NEwJNzuP > > > #0 Â0x00007ffff7444d05 in raise () from /lib/x86_64-linux-gnu/libc.so.6 > No symbol table info available. > #1 Â0x00007ffff7448ab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6 > No symbol table info available. > #2 Â0x000000000040502c in btrfs_extend_item (trans=<value optimized out>, > root=0x633920, path=<value optimized out>, data_size=27) at ctree.c:2525 > Â Â Â Âslot =<value optimized out> > Â Â Â Âslot_orig =<value optimized out> > Â Â Â Âleaf = 0x1955250 > Â Â Â Ânritems = 1 > Â Â Â Âdata_end =<value optimized out> > Â Â Â Âold_data =<value optimized out> > Â Â Â Âi =<value optimized out> > Â Â Â Â__PRETTY_FUNCTION__ = "btrfs_extend_item" > #3 Â0x000000000040e32d in btrfs_insert_inode_ref (trans=0xc9ef10, > root=0x633920, name=0xcfa314 "gtfntf.f.svn-base", name_len=17, > Â Âinode_objectid=<value optimized out>, ref_objectid=<value optimized out>, > index=150) at inode-item.c:135 > Â Â Â Âold_size = 3945 > Â Â Â Âpath = 0x1639aa0 > Â Â Â Âkey = {objectid = 37361107, type = 12 'f', offset = 37359706} > Â Â Â Âref =<value optimized out> > Â Â Â Âptr =<value optimized out> > Â Â Â Âret =<value optimized out> > Â Â Â Âins_len = 27 > Â Â Â Â__PRETTY_FUNCTION__ = "btrfs_insert_inode_ref" > #4 Â0x0000000000413fff in dir_iterate_proc (dir=<value optimized out>, > entry=<value optimized out>, old=0xcfa30c, offset=<value optimized out>, > Â Âblocksize=<value optimized out>, buf=<value optimized out>, > priv_data=0x7fffffffe370) at convert.c:289 > Â Â Â Âret =<value optimized out> > Â Â Â Âfile_type =<value optimized out> > Â Â Â Âobjectid = 37361107 > Â Â Â Âdotdot = ".." > Â Â Â Âlocation = {objectid = 37361107, type = 1 '', offset = 0} > Â Â Â Âdirent = 0xcfa30c > Â Â Â Âidata = 0x7fffffffe370 > Â Â Â Â__PRETTY_FUNCTION__ = "dir_iterate_proc" > #5 Â0x00007ffff7bbdc13 in ext2fs_process_dir_block () from > /lib/x86_64-linux-gnu/libext2fs.so.2 > No symbol table info available. > #6 Â0x00007ffff7bbac02 in ext2fs_block_iterate2 () from > /lib/x86_64-linux-gnu/libext2fs.so.2 > No symbol table info available. > #7 Â0x00007ffff7bbdfb8 in ext2fs_dir_iterate2 () from > /lib/x86_64-linux-gnu/libext2fs.so.2 > No symbol table info available. > #8 Â0x000000000041689d in create_dir_entries (devname=0x7fffffffe897 > "/dev/sdc1", datacsum=1, packing=1, noxattr=0) at convert.c:322 > Â Â Â Âerr =<value optimized out> > Â Â Â Âdata = {trans = 0xc9ef10, root = 0x633920, inode = 0x7fffffffe1c0, > objectid = 37359706, index_cnt = 150, parent = 37359705, errcode = 0} > Â Â Â Âret =<value optimized out> > #9 Âcopy_single_inode (devname=0x7fffffffe897 "/dev/sdc1", datacsum=1, > packing=1, noxattr=0) at convert.c:1072 > Â Â Â Âret =<value optimized out> > Â Â Â Âbtrfs_inode = {generation = 1, transid = 140737354044640, size = > 4994, nbytes = 0, block_group = 0, nlink = 1, uid = 1000, gid = 1000, mode = > 16877, > Â Â Â Â Ârdev = 0, flags = 0, sequence = 140737351933932, reserved = {0, > 140737354040256, 140733193388033, 0}, atime = {sec = 1303466526, nsec = 0}, > ctime = { > Â Â Â Â Â Âsec = 1296464377, nsec = 0}, mtime = {sec = 1296464377, nsec = > 0}, otime = {sec = 0, nsec = 0}} > #10 copy_inodes (devname=0x7fffffffe897 "/dev/sdc1", datacsum=1, packing=1, > noxattr=0) at convert.c:1154 > Â Â Â Âret =<value optimized out> > Â Â Â Âerr =<value optimized out> > Â Â Â Âext2_scan = 0xce2300 > Â Â Â Âext2_ino = 37359452 > Â Â Â Âobjectid = 37359706 > Â Â Â Âext2_inode = {i_mode = 16877, i_uid = 1000, i_size = 16384, i_atime = > 1303466526, i_ctime = 1296464377, i_mtime = 1296464377, i_dtime = 0, i_gid = > 1000, > Â Â Â Â Âi_links_count = 2, i_blocks = 32, i_flags = 528384, osd1 = {linux1 > = {l_i_version = 1981}, hurd1 = {h_i_translator = 1981}}, i_block = {193290, > 4, 0, > Â Â Â Â Â Â0, 1, 149430439, 1, 3, 149430464, 0, 0, 0, 0, 0, 0}, i_generation > = 2854948622, i_file_acl = 0, i_dir_acl = 0, i_faddr = 0, osd2 = {linux2 = { > Â Â Â Â Â Â Âl_i_blocks_hi = 0, l_i_file_acl_high = 0, l_i_uid_high = 0, > l_i_gid_high = 0, l_i_reserved2 = 0}, hurd2 = {h_i_frag = 0 'ï', > Â Â Â Â Â Â Âh_i_fsize = 0 'ï', h_i_mode_high = 0, h_i_uid_high = 0, > h_i_gid_high = 0, h_i_author = 0}}} > Â Â Â Âtrans = 0xc9ef10 > #11 do_convert (devname=0x7fffffffe897 "/dev/sdc1", datacsum=1, packing=1, > noxattr=0) at convert.c:2411 > Â Â Â Âi =<value optimized out> > Â Â Â Âfd = 6 > Â Â Â Âret =<value optimized out> > Â Â Â Âblocksize = 4096 > Â Â Â Âblocks = {9258, 9259, 9260, 9261, 9284, 9285, 9286} > Â Â Â Âtotal_bytes =<value optimized out> > Â Â Â Âsuper_bytenr = 37920768 > Â Â Â Âext2_fs = 0x622010 > Â Â Â Âroot = 0x633920 > Â Â Â Âext2_root =<value optimized out> > #12 0x0000000000418333 in main (argc=<value optimized out>, argv=<value > optimized out>) at convert.c:2867 > Â Â Â Âret =<value optimized out> > Â Â Â Âpacking = 1 > Â Â Â Ânoxattr = 0 > Â Â Â Âdatacsum = 1 > Â Â Â Ârollback = 0 > Â Â Â Âfile = 0x7fffffffe897 "/dev/sdc1" > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
