[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Software RAID1 - ReiserFS - problemy z superblockiem



Witam Wszystkich

Próbuje uruchomić softwerowego raida1 (mirroring) na dwóch dyskach
IDE. Robiłem to według tego opisu:

"Migrating To RAID1 Mirror on Sarge (Updated)"
http://www.debian-administration.org/users/philcore/weblog/4

Ogólnie chodzi o to aby dodać do urządzeń mdX dyski hdaX oraz hdbX.
Według opisu najpierw trzeba przenieść cały system na urządzenia mdX
(faktycznie to hdbX) i z tego wystartować a następnie dodać dyski hda.

Jednak podczas pierwszego startu system nie może zamontować urządzeń
od md1  w górę, md0 montuje. Robiłem to kilka krotonie również na ext3
i ciągle problem z superblockiem na tych urządzeniach (wcześniej przed
restartem można je było "ręcznie" zamontować).

Strat systemu:

...
md: md0 stopped.
md: bind<hdb1>
raid1: raid set md0 active with 1 out of 2 mirrors
mdadm: /dev/md0 has been started with 1 drive (out of 2).
VFS: Can't find ext3 filesystem on dev md0.
VFS: Can't find ext2 filesystem on dev md0.
ReiserFS: md0: found reiserfs format "3.6" with standard journal
ReiserFS: md0: using ordered data mode
ReiserFS: md0: journal params: device md0, size 8192, journal first block 18, m
x trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: md0: checking transaction log (md0)
ReiserFS: md0: Using r5 hash to sort names
INIT: version 2.86 booting
assuming iso-8859-2 eogonek
.....
Checking all file systems...
fsck 1.37 (21-Mar-2005)
bread: Cannot read the block (2): (Invalid argument).
reiserfs_open: bread failed reading block 2
bread: Cannot read the block (16): (Invalid argument).
reiserfs_open: bread failed reading block 16

reiserfs_open: the reiserfs superblock cannot be found on /dev/md5.
Failed to open the filesystem.

If the partition table has not been changed, and the partition is
valid  and  it really  contains  a reiserfs  partition,  then the
superblock  is corrupted and you need to run this utility with
--rebuild-sb.

itd. dla pozostałych urzadzeń md4, md3(nie dotyczy bo to swap), md2, md1
...

fsck failed.  Please repair manually.

CONTROL-D will exit from this shell and continue system startup.

Give root password for maintenance
(or type Control-D to continue):

Można wystartować przez Control-D, ale podmontowana jest tylko
partycja "/" (czyli tak naprawdę hdb1). Czytałem różne opisy aby użyć
dla ext3 e2fsck oraz resize2fs, jednak to nic nie zmienia
(http://www.tldp.org/HOWTO/Software-RAID-HOWTO-7.html)

Jeżeli komuś udało się uruchomić softwerowego raida na reiserfs według
opisu z Debian-Administration, proszę o poradę, gdzie mogłem popełnić
błąd.

Dzięki

--
Pozdrawiam

Reply to: