Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 YunQiang Su
遇到了同样的问题,可能是损坏了,但是似乎目前没有修复工具。

On Thu, Jun 9, 2011 at 1:13 PM, Kaka win.mi...@gmail.com wrote:
 于 2011年06月09日 13:04, henry cui 写道:

 gmail邮箱现在进来一趟很难呀

 使用Thunderbird吧,别总是使用网页

 found 16773324800 bytes used err is 1
 total csum bytes: 16136460
 total tree bytes: 236773376
 total fs tree bytes: 193306624
 btree space waste bytes: 67163803
 file data blocks allocated: 95068008448
  referenced 16252694528
 Btrfs Btrfs v0.19

 --
 ubuntu-zh mailing list
 ubuntu-zh@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh




-- 
YunQiang Su

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 YunQiang Su
你是什么版本的?有可能也是bug,换老版本内核试试,好像是 39内核的bug吧

2011/6/9 YunQiang Su wzss...@gmail.com:
 遇到了同样的问题,可能是损坏了,但是似乎目前没有修复工具。

 On Thu, Jun 9, 2011 at 1:13 PM, Kaka win.mi...@gmail.com wrote:
 于 2011年06月09日 13:04, henry cui 写道:

 gmail邮箱现在进来一趟很难呀

 使用Thunderbird吧,别总是使用网页

 found 16773324800 bytes used err is 1
 total csum bytes: 16136460
 total tree bytes: 236773376
 total fs tree bytes: 193306624
 btree space waste bytes: 67163803
 file data blocks allocated: 95068008448
  referenced 16252694528
 Btrfs Btrfs v0.19

 --
 ubuntu-zh mailing list
 ubuntu-zh@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh




 --
 YunQiang Su




-- 
YunQiang Su
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 henry cui
btrfs 0.19的,内核刚升到39.0 掉电后发生的,倒没有想过是39的bug

在 11-6-9,YunQiang Suwzss...@gmail.com 写道:
 你是什么版本的?有可能也是bug,换老版本内核试试,好像是 39内核的bug吧

 2011/6/9 YunQiang Su wzss...@gmail.com:
 遇到了同样的问题,可能是损坏了,但是似乎目前没有修复工具。

 On Thu, Jun 9, 2011 at 1:13 PM, Kaka win.mi...@gmail.com wrote:
 于 2011年06月09日 13:04, henry cui 写道:

 gmail邮箱现在进来一趟很难呀

 使用Thunderbird吧,别总是使用网页

 found 16773324800 bytes used err is 1
 total csum bytes: 16136460
 total tree bytes: 236773376
 total fs tree bytes: 193306624
 btree space waste bytes: 67163803
 file data blocks allocated: 95068008448
  referenced 16252694528
 Btrfs Btrfs v0.19

 --
 ubuntu-zh mailing list
 ubuntu-zh@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh




 --
 YunQiang Su




 --
 YunQiang Su
 --
 ubuntu-zh mailing list
 ubuntu-zh@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh



-- 
best,
henry cui
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 YunQiang Su
于 2011年06月09日 16:03, henry cui 写道:
 btrfs 0.19的,内核刚升到39.0 掉电后发生的,倒没有想过是39的bug
 
解决了:
1. 先进恢复模式,尝试只读挂载: mount -o ro,如果可以就备份文件
2. 尝试可写挂载:
   通过 find -iINODE_NUMBER 找到文件,比如 a.txt
   mv a.txt a.txt.bak
   mv a.txt.bak a.txt
   这样可能就能解决了
3. 如果还不行,绝招:
   自己去用git下载 btrfs-progs(就是 debian称为 btrfs-tools 的东西)
   安装编译依赖,
   编译 btrfs-zero-log :  make; make btrfs-zero-log
   debian带的 btrfs-tools 没有编译这个工具
   使用 btrfs-zero-log 清空log:
   btrfs-zero-log /dev/sdaX  (比如我是 /dev/sda4)

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 cuihenry

方法1、2不行,直接就mount不起来
现在想试试安装内核2.6.38看看
不行就装btrfs-zero-log 
下面是启动的报错,停在最后一行,提示要么跳过/home的mount,要么手工mount,
哪个高手看看该怎么整才行
 /dev/sda9对应的是   /home
 
[  147.791319] device fsid 7448b663eebe3ed-b693e105990579bf devid 1 transid 
213504 /dev/sda9
[  154.388747] [ cut here ]
[  154.388770] kernel BUG at /build/buildd/linux-2.6.39/fs/btrfs/inode.c:4676!
[  154.388784] invalid opcode:  [#1] SMP 
[  154.388791] last sysfs file: /sys/devices/virtual/bdi/btrfs-2/uevent
[  154.388797] CPU 2 
[  154.388800] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek 
snd_hda_intel arc4 snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi 
iptable_nat nf_nat ath9k nf_conntrack_ipv4 snd_seq_midi_event nf_conntrack 
mac80211 nf_defrag_ipv4 iptable_mangle ath9k_common iptable_filter ath9k_hw 
snd_seq snd_timer nouveau ip_tables ttm drm_kms_helper x_tables snd_seq_device 
uvcvideo videodev drm ath v4l2_compat_ioctl32 snd i2c_algo_bit soundcore 
snd_page_alloc cfg80211 video psmouse joydev serio_raw lp intel_ips 
sparse_keymap parport usbhid hid ahci libahci tg3 btrfs zlib_deflate libcrc32c
[  154.388904] 
[  154.388908] Pid: 1091, comm: mount Tainted: P2.6.39-0-generic 
#5~20110427-Ubuntu AcerAspire /JE40_CP
[  154.388922] RIP: 0010:[a004abea]  [a004abea] 
btrfs_add_link+0x13a/0x1a0 [btrfs]
[  154.388947] RSP: 0018:880100e2f7a8  EFLAGS: 00010282
[  154.388953] RAX: ffef RBX: 880124d6a550 RCX: 14c9
[  154.388960] RDX: ffef RSI: 0001bf70 RDI: ea0004225a48
[  154.388965] RBP: 880100e2f818 R08: a001df2f R09: 0df5
[  154.388971] R10:  R11:  R12: 880124d6a948
[  154.388977] R13: 88012da5d800 R14: 000a R15: 880109f7c740
[  154.388983] FS:  7fa06e31a800() GS:880137d0() 
knlGS:
[  154.388990] CS:  0010 DS:  ES:  CR0: 8005003b
[  154.388995] CR2: 7f830f3f15a8 CR3: 000116a76000 CR4: 06e0
[  154.389001] DR0:  DR1:  DR2: 
[  154.389007] DR3:  DR6: 0ff0 DR7: 0400
[  154.389013] Process mount (pid: 1091, threadinfo 880100e2e000, task 
880130748000)
[  154.389019] Stack:
[  154.389022]  88010001 02e3 880100e2ffd8 
02e3
[  154.389032]  00274801 0001 1000 

[  154.389043]  88011a282000  007e 
880100e2faa8
[  154.389053] Call Trace:
[  154.389066]  [a0073ce3] add_inode_ref+0x2f3/0x3b0 [btrfs]
[  154.389079]  [a0075d5e] replay_one_buffer+0x27e/0x330 [btrfs]
[  154.389093]  [a0062bea] ? alloc_extent_buffer+0x7a/0x420 [btrfs]
[  154.389107]  [a0074879] walk_down_log_tree+0x339/0x480 [btrfs]
[  154.389120]  [a0074ab5] walk_log_tree+0xf5/0x240 [btrfs]
[  154.389134]  [a0077924] btrfs_recover_log_trees+0x224/0x320 [btrfs]
[  154.389149]  [a0075ae0] ? replay_one_extent+0x570/0x570 [btrfs]
[  154.389163]  [a003d4dc] open_ctree+0x127c/0x1620 [btrfs]
[  154.389172]  [812f3224] ? snprintf+0x34/0x40
[  154.389182]  [a0019728] btrfs_fill_super.clone.25+0x78/0x130 
[btrfs]
[  154.389190]  [811d4424] ? disk_name+0x64/0xc0
[  154.389197]  [812eff77] ? strlcpy+0x47/0x60
[  154.389207]  [a001b62f] btrfs_mount+0x3af/0x450 [btrfs]
[  154.389218]  [8116f637] mount_fs+0x47/0x1c0
[  154.389227]  [8118a233] vfs_kern_mount+0x63/0xd0
[  154.389233]  [8118aa74] do_kern_mount+0x54/0x110
[  154.389239]  [8118c5ca] do_mount+0x1ea/0x230
[  154.389245]  [8118c9f0] sys_mount+0x90/0xe0
[  154.389253]  [815e93c2] system_call_fastpath+0x16/0x1b
[  154.389535] Code: 4c 89 d2 44 89 f1 4c 89 ee 4c 89 1c 24 4c 89 55 a8 4c 89 
5d a0 e8 17 c8 fe ff 4c 8b 5d a0 4c 8b 55 a8 85 c0 75 b9 e9 2e ff ff ff 0f 0b 
48 8b b2 68 fe ff ff 48 8d 7d b0 b9 11 00 00 00 4d 89 d9 
[  154.390514] RIP  [a004abea] btrfs_add_link+0x13a/0x1a0 [btrfs]
[  154.390980]  RSP 880100e2f7a8
[  156.389759] ---[ end trace 02d7564e879105ca ]---


 
 Date: Thu, 9 Jun 2011 19:08:16 +0800
 From: wzss...@gmail.com
 To: ubuntu-zh@lists.ubuntu.com
 Subject: Re: [Ubuntu-zh] btrfs挂了
 
 于 2011年06月09日 16:03, henry cui 写道:
  btrfs 0.19的,内核刚升到39.0 掉电后发生的,倒没有想过是39的bug
  
 解决了:
 1. 先进恢复模式,尝试只读挂载: mount -o ro,如果可以就备份文件
 2. 尝试可写挂载:
 通过 find -iINODE_NUMBER 找到文件,比如 a.txt
 mv a.txt a.txt.bak
 mv a.txt.bak a.txt
 这样可能就能解决了
 3. 如果还不行,绝招:
 自己去用git下载 btrfs-progs(就是 debian称为 btrfs-tools 的东西)
 安装编译依赖,
 编译 btrfs-zero-log : make; make btrfs-zero-log
 debian带的 btrfs-tools 没有编译这个工具
 使用 btrfs-zero-log 清空log:
 btrfs-zero-log /dev/sdaX (比如我是 /dev/sda4)
 
 -- 
 ubuntu-zh mailing list
 ubuntu-zh@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh

Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 YunQiang Su
一模一样,btrfs-zero-log 似乎不用安装,编译好,直接跑就行了

On Thu, Jun 9, 2011 at 1:57 PM, cuihenry hhenry@hotmail.com wrote:

 方法1、2不行,直接就mount不起来
 现在想试试安装内核2.6.38看看
 不行就装btrfs-zero-log
 下面是启动的报错,停在最后一行,提示要么跳过/home的mount,要么手工mount,
 哪个高手看看该怎么整才行
  /dev/sda9对应的是   /home

 [  147.791319] device fsid 7448b663eebe3ed-b693e105990579bf devid 1 transid 
 213504 /dev/sda9
 [  154.388747] [ cut here ]
 [  154.388770] kernel BUG at /build/buildd/linux-2.6.39/fs/btrfs/inode.c:4676!
 [  154.388784] invalid opcode:  [#1] SMP
 [  154.388791] last sysfs file: /sys/devices/virtual/bdi/btrfs-2/uevent
 [  154.388797] CPU 2
 [  154.388800] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek 
 snd_hda_intel arc4 snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi 
 iptable_nat nf_nat ath9k nf_conntrack_ipv4 snd_seq_midi_event nf_conntrack 
 mac80211 nf_defrag_ipv4 iptable_mangle ath9k_common iptable_filter ath9k_hw 
 snd_seq snd_timer nouveau ip_tables ttm drm_kms_helper x_tables 
 snd_seq_device uvcvideo videodev drm ath v4l2_compat_ioctl32 snd i2c_algo_bit 
 soundcore snd_page_alloc cfg80211 video psmouse joydev serio_raw lp intel_ips 
 sparse_keymap parport usbhid hid ahci libahci tg3 btrfs zlib_deflate libcrc32c
 [  154.388904]
 [  154.388908] Pid: 1091, comm: mount Tainted: P2.6.39-0-generic 
 #5~20110427-Ubuntu AcerAspire /JE40_CP
 [  154.388922] RIP: 0010:[a004abea]  [a004abea] 
 btrfs_add_link+0x13a/0x1a0 [btrfs]
 [  154.388947] RSP: 0018:880100e2f7a8  EFLAGS: 00010282
 [  154.388953] RAX: ffef RBX: 880124d6a550 RCX: 
 14c9
 [  154.388960] RDX: ffef RSI: 0001bf70 RDI: 
 ea0004225a48
 [  154.388965] RBP: 880100e2f818 R08: a001df2f R09: 
 0df5
 [  154.388971] R10:  R11:  R12: 
 880124d6a948
 [  154.388977] R13: 88012da5d800 R14: 000a R15: 
 880109f7c740
 [  154.388983] FS:  7fa06e31a800() GS:880137d0() 
 knlGS:
 [  154.388990] CS:  0010 DS:  ES:  CR0: 8005003b
 [  154.388995] CR2: 7f830f3f15a8 CR3: 000116a76000 CR4: 
 06e0
 [  154.389001] DR0:  DR1:  DR2: 
 
 [  154.389007] DR3:  DR6: 0ff0 DR7: 
 0400
 [  154.389013] Process mount (pid: 1091, threadinfo 880100e2e000, task 
 880130748000)
 [  154.389019] Stack:
 [  154.389022]  88010001 02e3 880100e2ffd8 
 02e3
 [  154.389032]  00274801 0001 1000 
 
 [  154.389043]  88011a282000  007e 
 880100e2faa8
 [  154.389053] Call Trace:
 [  154.389066]  [a0073ce3] add_inode_ref+0x2f3/0x3b0 [btrfs]
 [  154.389079]  [a0075d5e] replay_one_buffer+0x27e/0x330 [btrfs]
 [  154.389093]  [a0062bea] ? alloc_extent_buffer+0x7a/0x420 [btrfs]
 [  154.389107]  [a0074879] walk_down_log_tree+0x339/0x480 [btrfs]
 [  154.389120]  [a0074ab5] walk_log_tree+0xf5/0x240 [btrfs]
 [  154.389134]  [a0077924] btrfs_recover_log_trees+0x224/0x320 
 [btrfs]
 [  154.389149]  [a0075ae0] ? replay_one_extent+0x570/0x570 [btrfs]
 [  154.389163]  [a003d4dc] open_ctree+0x127c/0x1620 [btrfs]
 [  154.389172]  [812f3224] ? snprintf+0x34/0x40
 [  154.389182]  [a0019728] btrfs_fill_super.clone.25+0x78/0x130 
 [btrfs]
 [  154.389190]  [811d4424] ? disk_name+0x64/0xc0
 [  154.389197]  [812eff77] ? strlcpy+0x47/0x60
 [  154.389207]  [a001b62f] btrfs_mount+0x3af/0x450 [btrfs]
 [  154.389218]  [8116f637] mount_fs+0x47/0x1c0
 [  154.389227]  [8118a233] vfs_kern_mount+0x63/0xd0
 [  154.389233]  [8118aa74] do_kern_mount+0x54/0x110
 [  154.389239]  [8118c5ca] do_mount+0x1ea/0x230
 [  154.389245]  [8118c9f0] sys_mount+0x90/0xe0
 [  154.389253]  [815e93c2] system_call_fastpath+0x16/0x1b
 [  154.389535] Code: 4c 89 d2 44 89 f1 4c 89 ee 4c 89 1c 24 4c 89 55 a8 4c 89 
 5d a0 e8 17 c8 fe ff 4c 8b 5d a0 4c 8b 55 a8 85 c0 75 b9 e9 2e ff ff ff 0f 
 0b 48 8b b2 68 fe ff ff 48 8d 7d b0 b9 11 00 00 00 4d 89 d9
 [  154.390514] RIP  [a004abea] btrfs_add_link+0x13a/0x1a0 [btrfs]
 [  154.390980]  RSP 880100e2f7a8
 [  156.389759] ---[ end trace 02d7564e879105ca ]---



 Date: Thu, 9 Jun 2011 19:08:16 +0800
 From: wzss...@gmail.com
 To: ubuntu-zh@lists.ubuntu.com
 Subject: Re: [Ubuntu-zh] btrfs挂了

 于 2011年06月09日 16:03, henry cui 写道:
  btrfs 0.19的,内核刚升到39.0 掉电后发生的,倒没有想过是39的bug
 
 解决了:
 1. 先进恢复模式,尝试只读挂载: mount -o ro,如果可以就备份文件
 2. 尝试可写挂载:
 通过 find -iINODE_NUMBER 找到文件,比如 a.txt
 mv a.txt a.txt.bak
 mv a.txt.bak a.txt
 这样可能就能解决了
 3. 如果还不行,绝招:
 自己去用git下载 btrfs-progs(就是 debian称为 btrfs-tools 的东西)
 安装编译依赖,
 编译 btrfs-zero-log : make; make btrfs-zero-log
 debian带的 btrfs-tools 没有编译这个工具
 使用 btrfs

Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 cuihenry

看到你这句话,我心里一下充满了阳光
 
 Date: Thu, 9 Jun 2011 14:34:55 +
 From: wzss...@gmail.com
 To: ubuntu-zh@lists.ubuntu.com
 Subject: Re: [Ubuntu-zh] btrfs挂了
 
 一模一样,btrfs-zero-log 似乎不用安装,编译好,直接跑就行了
 
 On Thu, Jun 9, 2011 at 1:57 PM, cuihenry hhenry@hotmail.com wrote:
 
  方法1、2不行,直接就mount不起来
  现在想试试安装内核2.6.38看看
  不行就装btrfs-zero-log
  下面是启动的报错,停在最后一行,提示要么跳过/home的mount,要么手工mount,
  哪个高手看看该怎么整才行
  /dev/sda9对应的是 /home
 
  [ 147.791319] device fsid 7448b663eebe3ed-b693e105990579bf devid 1 transid 
  213504 /dev/sda9
  [ 154.388747] [ cut here ]
  [ 154.388770] kernel BUG at 
  /build/buildd/linux-2.6.39/fs/btrfs/inode.c:4676!
  [ 154.388784] invalid opcode:  [#1] SMP
  [ 154.388791] last sysfs file: /sys/devices/virtual/bdi/btrfs-2/uevent
  [ 154.388797] CPU 2
  [ 154.388800] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek 
  snd_hda_intel arc4 snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi 
  iptable_nat nf_nat ath9k nf_conntrack_ipv4 snd_seq_midi_event nf_conntrack 
  mac80211 nf_defrag_ipv4 iptable_mangle ath9k_common iptable_filter ath9k_hw 
  snd_seq snd_timer nouveau ip_tables ttm drm_kms_helper x_tables 
  snd_seq_device uvcvideo videodev drm ath v4l2_compat_ioctl32 snd 
  i2c_algo_bit soundcore snd_page_alloc cfg80211 video psmouse joydev 
  serio_raw lp intel_ips sparse_keymap parport usbhid hid ahci libahci tg3 
  btrfs zlib_deflate libcrc32c
  [ 154.388904]
  [ 154.388908] Pid: 1091, comm: mount Tainted: P 2.6.39-0-generic 
  #5~20110427-Ubuntu Acer Aspire  /JE40_CP
  [ 154.388922] RIP: 0010:[a004abea] [a004abea] 
  btrfs_add_link+0x13a/0x1a0 [btrfs]
  [ 154.388947] RSP: 0018:880100e2f7a8 EFLAGS: 00010282
  [ 154.388953] RAX: ffef RBX: 880124d6a550 RCX: 
  14c9
  [ 154.388960] RDX: ffef RSI: 0001bf70 RDI: 
  ea0004225a48
  [ 154.388965] RBP: 880100e2f818 R08: a001df2f R09: 
  0df5
  [ 154.388971] R10:  R11:  R12: 
  880124d6a948
  [ 154.388977] R13: 88012da5d800 R14: 000a R15: 
  880109f7c740
  [ 154.388983] FS: 7fa06e31a800() GS:880137d0() 
  knlGS:
  [ 154.388990] CS: 0010 DS:  ES:  CR0: 8005003b
  [ 154.388995] CR2: 7f830f3f15a8 CR3: 000116a76000 CR4: 
  06e0
  [ 154.389001] DR0:  DR1:  DR2: 
  
  [ 154.389007] DR3:  DR6: 0ff0 DR7: 
  0400
  [ 154.389013] Process mount (pid: 1091, threadinfo 880100e2e000, task 
  880130748000)
  [ 154.389019] Stack:
  [ 154.389022] 88010001 02e3 880100e2ffd8 
  02e3
  [ 154.389032] 00274801 0001 1000 
  
  [ 154.389043] 88011a282000  007e 
  880100e2faa8
  [ 154.389053] Call Trace:
  [ 154.389066] [a0073ce3] add_inode_ref+0x2f3/0x3b0 [btrfs]
  [ 154.389079] [a0075d5e] replay_one_buffer+0x27e/0x330 [btrfs]
  [ 154.389093] [a0062bea] ? alloc_extent_buffer+0x7a/0x420 [btrfs]
  [ 154.389107] [a0074879] walk_down_log_tree+0x339/0x480 [btrfs]
  [ 154.389120] [a0074ab5] walk_log_tree+0xf5/0x240 [btrfs]
  [ 154.389134] [a0077924] btrfs_recover_log_trees+0x224/0x320 
  [btrfs]
  [ 154.389149] [a0075ae0] ? replay_one_extent+0x570/0x570 [btrfs]
  [ 154.389163] [a003d4dc] open_ctree+0x127c/0x1620 [btrfs]
  [ 154.389172] [812f3224] ? snprintf+0x34/0x40
  [ 154.389182] [a0019728] btrfs_fill_super.clone.25+0x78/0x130 
  [btrfs]
  [ 154.389190] [811d4424] ? disk_name+0x64/0xc0
  [ 154.389197] [812eff77] ? strlcpy+0x47/0x60
  [ 154.389207] [a001b62f] btrfs_mount+0x3af/0x450 [btrfs]
  [ 154.389218] [8116f637] mount_fs+0x47/0x1c0
  [ 154.389227] [8118a233] vfs_kern_mount+0x63/0xd0
  [ 154.389233] [8118aa74] do_kern_mount+0x54/0x110
  [ 154.389239] [8118c5ca] do_mount+0x1ea/0x230
  [ 154.389245] [8118c9f0] sys_mount+0x90/0xe0
  [ 154.389253] [815e93c2] system_call_fastpath+0x16/0x1b
  [ 154.389535] Code: 4c 89 d2 44 89 f1 4c 89 ee 4c 89 1c 24 4c 89 55 a8 4c 
  89 5d a0 e8 17 c8 fe ff 4c 8b 5d a0 4c 8b 55 a8 85 c0 75 b9 e9 2e ff ff ff 
  0f 0b 48 8b b2 68 fe ff ff 48 8d 7d b0 b9 11 00 00 00 4d 89 d9
  [ 154.390514] RIP [a004abea] btrfs_add_link+0x13a/0x1a0 [btrfs]
  [ 154.390980] RSP 880100e2f7a8
  [ 156.389759] ---[ end trace 02d7564e879105ca ]---
 
 
 
  Date: Thu, 9 Jun 2011 19:08:16 +0800
  From: wzss...@gmail.com
  To: ubuntu-zh@lists.ubuntu.com
  Subject: Re: [Ubuntu-zh] btrfs挂了
 
  于 2011年06月09日 16:03, henry cui 写道:
   btrfs 0.19的,内核刚升到39.0 掉电后发生的,倒没有想过是39的bug
  
  解决了:
  1. 先进恢复模式,尝试只读挂载: mount -o ro,如果可以就备份文件
  2. 尝试可写挂载:
  通过 find -iINODE_NUMBER 找到文件,比如 a.txt
  mv a.txt a.txt.bak
  mv a.txt.bak a.txt
  这样可能就能解决了
  3. 如果还不行,绝招:
  自己去

Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 cuihenry

屋漏偏冯连夜雨,我ubuntu 下编译btrfs-zero-log出错,你能不能把你的执行文件直接发给我,64位的,谢啦

 
 Date: Thu, 9 Jun 2011 14:34:55 +
 From: wzss...@gmail.com
 To: ubuntu-zh@lists.ubuntu.com
 Subject: Re: [Ubuntu-zh] btrfs挂了
 
 一模一样,btrfs-zero-log 似乎不用安装,编译好,直接跑就行了
 
 On Thu, Jun 9, 2011 at 1:57 PM, cuihenry hhenry@hotmail.com wrote:
 
  方法1、2不行,直接就mount不起来
  现在想试试安装内核2.6.38看看
  不行就装btrfs-zero-log
  下面是启动的报错,停在最后一行,提示要么跳过/home的mount,要么手工mount,
  哪个高手看看该怎么整才行
  /dev/sda9对应的是 /home
 
  [ 147.791319] device fsid 7448b663eebe3ed-b693e105990579bf devid 1 transid 
  213504 /dev/sda9
  [ 154.388747] [ cut here ]
  [ 154.388770] kernel BUG at 
  /build/buildd/linux-2.6.39/fs/btrfs/inode.c:4676!
  [ 154.388784] invalid opcode:  [#1] SMP
  [ 154.388791] last sysfs file: /sys/devices/virtual/bdi/btrfs-2/uevent
  [ 154.388797] CPU 2
  [ 154.388800] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek 
  snd_hda_intel arc4 snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi 
  iptable_nat nf_nat ath9k nf_conntrack_ipv4 snd_seq_midi_event nf_conntrack 
  mac80211 nf_defrag_ipv4 iptable_mangle ath9k_common iptable_filter ath9k_hw 
  snd_seq snd_timer nouveau ip_tables ttm drm_kms_helper x_tables 
  snd_seq_device uvcvideo videodev drm ath v4l2_compat_ioctl32 snd 
  i2c_algo_bit soundcore snd_page_alloc cfg80211 video psmouse joydev 
  serio_raw lp intel_ips sparse_keymap parport usbhid hid ahci libahci tg3 
  btrfs zlib_deflate libcrc32c
  [ 154.388904]
  [ 154.388908] Pid: 1091, comm: mount Tainted: P 2.6.39-0-generic 
  #5~20110427-Ubuntu Acer Aspire  /JE40_CP
  [ 154.388922] RIP: 0010:[a004abea] [a004abea] 
  btrfs_add_link+0x13a/0x1a0 [btrfs]
  [ 154.388947] RSP: 0018:880100e2f7a8 EFLAGS: 00010282
  [ 154.388953] RAX: ffef RBX: 880124d6a550 RCX: 
  14c9
  [ 154.388960] RDX: ffef RSI: 0001bf70 RDI: 
  ea0004225a48
  [ 154.388965] RBP: 880100e2f818 R08: a001df2f R09: 
  0df5
  [ 154.388971] R10:  R11:  R12: 
  880124d6a948
  [ 154.388977] R13: 88012da5d800 R14: 000a R15: 
  880109f7c740
  [ 154.388983] FS: 7fa06e31a800() GS:880137d0() 
  knlGS:
  [ 154.388990] CS: 0010 DS:  ES:  CR0: 8005003b
  [ 154.388995] CR2: 7f830f3f15a8 CR3: 000116a76000 CR4: 
  06e0
  [ 154.389001] DR0:  DR1:  DR2: 
  
  [ 154.389007] DR3:  DR6: 0ff0 DR7: 
  0400
  [ 154.389013] Process mount (pid: 1091, threadinfo 880100e2e000, task 
  880130748000)
  [ 154.389019] Stack:
  [ 154.389022] 88010001 02e3 880100e2ffd8 
  02e3
  [ 154.389032] 00274801 0001 1000 
  
  [ 154.389043] 88011a282000  007e 
  880100e2faa8
  [ 154.389053] Call Trace:
  [ 154.389066] [a0073ce3] add_inode_ref+0x2f3/0x3b0 [btrfs]
  [ 154.389079] [a0075d5e] replay_one_buffer+0x27e/0x330 [btrfs]
  [ 154.389093] [a0062bea] ? alloc_extent_buffer+0x7a/0x420 [btrfs]
  [ 154.389107] [a0074879] walk_down_log_tree+0x339/0x480 [btrfs]
  [ 154.389120] [a0074ab5] walk_log_tree+0xf5/0x240 [btrfs]
  [ 154.389134] [a0077924] btrfs_recover_log_trees+0x224/0x320 
  [btrfs]
  [ 154.389149] [a0075ae0] ? replay_one_extent+0x570/0x570 [btrfs]
  [ 154.389163] [a003d4dc] open_ctree+0x127c/0x1620 [btrfs]
  [ 154.389172] [812f3224] ? snprintf+0x34/0x40
  [ 154.389182] [a0019728] btrfs_fill_super.clone.25+0x78/0x130 
  [btrfs]
  [ 154.389190] [811d4424] ? disk_name+0x64/0xc0
  [ 154.389197] [812eff77] ? strlcpy+0x47/0x60
  [ 154.389207] [a001b62f] btrfs_mount+0x3af/0x450 [btrfs]
  [ 154.389218] [8116f637] mount_fs+0x47/0x1c0
  [ 154.389227] [8118a233] vfs_kern_mount+0x63/0xd0
  [ 154.389233] [8118aa74] do_kern_mount+0x54/0x110
  [ 154.389239] [8118c5ca] do_mount+0x1ea/0x230
  [ 154.389245] [8118c9f0] sys_mount+0x90/0xe0
  [ 154.389253] [815e93c2] system_call_fastpath+0x16/0x1b
  [ 154.389535] Code: 4c 89 d2 44 89 f1 4c 89 ee 4c 89 1c 24 4c 89 55 a8 4c 
  89 5d a0 e8 17 c8 fe ff 4c 8b 5d a0 4c 8b 55 a8 85 c0 75 b9 e9 2e ff ff ff 
  0f 0b 48 8b b2 68 fe ff ff 48 8d 7d b0 b9 11 00 00 00 4d 89 d9
  [ 154.390514] RIP [a004abea] btrfs_add_link+0x13a/0x1a0 [btrfs]
  [ 154.390980] RSP 880100e2f7a8
  [ 156.389759] ---[ end trace 02d7564e879105ca ]---
 
 
 
  Date: Thu, 9 Jun 2011 19:08:16 +0800
  From: wzss...@gmail.com
  To: ubuntu-zh@lists.ubuntu.com
  Subject: Re: [Ubuntu-zh] btrfs挂了
 
  于 2011年06月09日 16:03, henry cui 写道:
   btrfs 0.19的,内核刚升到39.0 掉电后发生的,倒没有想过是39的bug
  
  解决了:
  1. 先进恢复模式,尝试只读挂载: mount -o ro,如果可以就备份文件
  2. 尝试可写挂载:
  通过 find -iINODE_NUMBER 找到文件,比如 a.txt
  mv a.txt a.txt.bak
  mv

Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 YunQiang Su
这样不好吧,我会给你下木马的。。。

你没有安装好btrfs-tools 的编译依赖吧
-- 
YunQiang Su
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 YunQiang Su
e2fslibs-dev  libacl1-dev  uuid-dev  zlib1g-dev

http://packages.debian.org/source/experimental/btrfs-tools

2011/6/9 YunQiang Su wzss...@gmail.com:
 这样不好吧,我会给你下木马的。。。

 你没有安装好btrfs-tools 的编译依赖吧
 --
 YunQiang Su




-- 
YunQiang Su
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 cuihenry

问题很复杂,我在win下下载的提示编译错误
ubuntu下 只能用命令行连接无线,但是一直提示这个
ERROR: command 'iwconfig wlan0 essid chinanet  key s:password 
Error for wireless request Set Encode (8B2A) :
SET failed on device wlan0 ; Invalid argument.


 
 Date: Thu, 9 Jun 2011 15:45:04 +
 From: wzss...@gmail.com
 To: ubuntu-zh@lists.ubuntu.com
 Subject: Re: [Ubuntu-zh] btrfs挂了
 
 e2fslibs-dev libacl1-dev uuid-dev zlib1g-dev
 
 http://packages.debian.org/source/experimental/btrfs-tools
 
 2011/6/9 YunQiang Su wzss...@gmail.com:
  这样不好吧,我会给你下木马的。。。
 
  你没有安装好btrfs-tools 的编译依赖吧
  --
  YunQiang Su
 
 
 
 
 -- 
 YunQiang Su
 -- 
 ubuntu-zh mailing list
 ubuntu-zh@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
  
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110609/e9392584/attachment.html
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] btrfs挂了

2011-06-09 文章 YunQiang Su
安装编译依赖

e2fslibs-dev  libacl1-dev  uuid-dev  zlib1g-dev

http://packages.debian.org/source/experimental/btrfs-tools


不习惯命令行就用livecd吧

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] btrfs挂了

2011-06-08 文章 henry cui
使用btrfsck修复发现只提示有个400错误号,没有修复功能
网上一搜,更凉了,修复功能还没做出来
看来玩linux,没有非凡的耐心是不行滴

-- 
best,
henry cui
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110608/6e169023/attachment.html
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] btrfs挂了

2011-06-08 文章 镇曾
等到实用之前还是老老实实的ext吧= =~我之前也试用过btrfs= =不过没当成生产环境

在 2011年6月8日 下午5:54,henry cui hhenry@gmail.com写道:

 使用btrfsck修复发现只提示有个400错误号,没有修复功能
 网上一搜,更凉了,修复功能还没做出来
 看来玩linux,没有非凡的耐心是不行滴

 --
 best,
 henry cui
 -- 下一部分 --
 一个HTML附件被移除...
 URL: 
 https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110608/6e169023/attachment.html
 
 --
 ubuntu-zh mailing list
 ubuntu-zh@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh




-- 
ZZJIN@BUPT
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110608/29e94940/attachment.html
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] btrfs挂了

2011-06-08 文章 henry cui
gmail邮箱现在进来一趟很难呀

found 16773324800 bytes used err is 1
total csum bytes: 16136460
total tree bytes: 236773376
total fs tree bytes: 193306624
btree space waste bytes: 67163803
file data blocks allocated: 95068008448
 referenced 16252694528
Btrfs Btrfs v0.19


在 11-6-8,刘洋amankw...@gmail.com 写道:
 On Wed, Jun 08, 2011 at 05:54:35PM +0800, henry cui wrote:
 使用btrfsck修复发现只提示有个400错误号,没有修复功能
 网上一搜,更凉了,修复功能还没做出来
 看来玩linux,没有非凡的耐心是不行滴

 哪个版本啊?我目前用btrfs存了点东西,好像没有遇到什么问题啊?

 --
 ubuntu-zh mailing list
 ubuntu-zh@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh



-- 
best,
henry cui
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh