AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[reiserfs](server)

Martin Hope
DaDaDom
Asked: 2010-02-03 22:20:37 +0800 CST

lvm上的reiserfsck

  • 2

似乎我的文件系统在上次重新启动服务器时以某种方式损坏了。我不能再fsck有一些逻辑卷了。设置:

root@rescue ~ # cat /mnt/rescue/etc/fstab 
proc /proc proc defaults 0 0
/dev/md0 /boot ext3 defaults 0 2
/dev/md1 / ext3 defaults,errors=remount-ro 0 1

/dev/systemlvm/home /home reiserfs defaults 0 0
/dev/systemlvm/usr /usr reiserfs defaults   0 0
/dev/systemlvm/var /var reiserfs defaults   0 0
/dev/systemlvm/tmp /tmp reiserfs noexec,nosuid 0 2

/dev/sda5 none swap defaults,pri=1 0 0
/dev/sdb5 none swap defaults,pri=1 0 0

[更新] 第一个问题:我应该检查哪些“部分”是否有坏块?逻辑卷,底层/dev/md还是/dev/sdx下面?做我正在做的事情是正确的吗? [/UPDATE] 检查 /dev/systemlvm/usr 时的错误信息:

root@rescue ~ # reiserfsck /dev/systemlvm/usr 
reiserfsck 3.6.19 (2003 www.namesys.com)
[...]
Will read-only check consistency of the filesystem on /dev/systemlvm/usr
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Wed Feb  3 07:10:55 2010
###########
Replaying journal..
Reiserfs journal '/dev/systemlvm/usr' in blocks [18..8211]: 0 transactions replayed
Checking internal tree..

Bad root block 0. (--rebuild-tree did not complete)

Aborted

到目前为止,让我们尝试一下--rebuild-tree:

root@rescue ~ # reiserfsck --rebuild-tree /dev/systemlvm/usr 
reiserfsck 3.6.19 (2003 www.namesys.com)

[...]

Will rebuild the filesystem (/dev/systemlvm/usr) tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
Replaying journal..
Reiserfs journal '/dev/systemlvm/usr' in blocks [18..8211]: 0 transactions replayed
###########
reiserfsck --rebuild-tree started at Wed Feb  3 07:12:27 2010
###########
Pass 0:
####### Pass 0 #######
Loading on-disk bitmap .. ok, 269716 blocks marked used
Skipping 8250 blocks (super block, journal, bitmaps) 261466 blocks will be read
0%....20%....40%....60%....80%....100%                       left 0, 11368 /sec
52919 directory entries were hashed with "r5" hash.
        "r5" hash is selected
Flushing..finished
        Read blocks (but not data blocks) 261466
                Leaves among those 13086
                Objectids found 53697

Pass 1 (will try to insert 13086 leaves):
####### Pass 1 #######
Looking for allocable blocks .. finished
0%                                                           left 12675, 0 /sec
The problem has occurred looks like a hardware problem (perhaps
memory). Send us the bug report only if the second run dies at
the same place with the same block number.

mark_block_used: (39508) used already
Aborted

坏的。但是,让我们再做一次,如前所述:

[...]
Flushing..finished
        Read blocks (but not data blocks) 261466
                Leaves among those 13085
                Objectids found 54305

Pass 1 (will try to insert 13085 leaves):
####### Pass 1 #######
Looking for allocable blocks .. finished
0%...                                                      left 12127, 958 /sec
The problem has occurred looks like a hardware problem (perhaps
memory). Send us the bug report only if the second run dies at
the same place with the same block number.

build_the_tree: Nothing but leaves are expected. Block 196736 - internal

Aborted

每次都会发生同样的情况,只有实际的错误消息会发生变化。有时我得到mark_block_used: (somenumber) used already,其他时候块号改变。好像有些东西真的坏了。我有没有机会让分区再次工作?这是我无法直接物理访问的服务器(托管服务器)。

提前致谢!

lvm reiserfs
  • 1 个回答
  • 1170 Views
Martin Hope
Luca Martinetti
Asked: 2009-07-01 02:31:28 +0800 CST

如何将 reiserfs 分区转换为 ext3?

  • 5

是否有将 reiserfs 分区转换为 ext3 的工具?

linux filesystems ext3 reiserfs
  • 5 个回答
  • 7255 Views
Martin Hope
Justin Love
Asked: 2009-06-12 07:44:06 +0800 CST

我可以根据失败的 LVM 卷调整 reiserfs 的大小吗?

  • 2

不久前,我拿出了一些备件来为 backuppc 设置测试。两个较大的硬盘驱动器被合并到一个带有 LVM 的卷中。几个月后,似乎第二个驱动器正在/变坏了。最后我检查了一下,如果我能说服文件系统调整大小,我的数据就可以放在第一个驱动器上。

我将文件系统设置为 reiserfs,在一些报告称它对 backuppc 运行良好之后。我开始使用 resierfsck 来查看损坏的范围,包括尝试--rebuild-tree使用 badblock 列表(来自 badblocks 程序)。但是每次我运行时,它都会发现一个新的坏块并停止,所以看起来磁盘是一个丢失的原因。

resize_resierfs告诉我我需要先运行reiserfsck --check,即使使用-f. 这反过来又告诉我它由于不完整而无法运行--rebuild-tree。

至少数据只是备份,所以重新开始不会丢失任何重要的东西,只是需要大量时间下载初始备份。

hard-drive lvm reiserfs
  • 5 个回答
  • 611 Views
Martin Hope
Andrea Ambu
Asked: 2009-05-22 00:48:22 +0800 CST

ext3、ext4、ReiserFS 之间有什么区别?

  • 15

为什么我应该选择一个而不是另一个?

filesystems ext3 ext4 reiserfs
  • 6 个回答
  • 30692 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve