Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2009-05-20 11:25:53

  Phrozen^Tux - Członek DUG

Phrozen^Tux
Członek DUG
Skąd: DC - District Cracovia :)
Zarejestrowany: 2005-10-14

[SOLVED] mdadm + debian 5.01 + SUN XFire 2200 - problem z montowaniem

Witam


Czy ktos z szan. forumowiczow mial moze dosiwadczenia z serwerkami SUNa ?
OD paru dni walcze z glupim (jak mi sie wydaje) problemem - mianowicie
na nowym SUNie XFire 2200 M2 (AMD Opteron Quad x2 w SMP)
po zainstalowaniu softowej macierzy mdadm i poprawnym utworzeniu macierzy typu RAID1
na dwoch partycjach logicznych (utworzeniu na nich systemu plikow ext3)
przy kazdej probie ich podmontowania do systemu
zwiesza mi sie wszystko - tzn nawet konsole - i jedynym rozwiazaniem jest twardy reset ..

Przed zamontowaniem - wszystko wyglada poprawnie :

Kod:

wierzba20:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active (auto-read-only) raid1 sda5[0] sdb5[1]
      390628352 blocks [2/2] [UU]
        resync=PENDING

unused devices: <none>

Kod:

wierzba20:~# mdadm --detail /dev/md2
/dev/md2:
        Version : 00.90
  Creation Time : Mon May 18 17:29:24 2009
     Raid Level : raid1
     Array Size : 390628352 (372.53 GiB 400.00 GB)
  Used Dev Size : 390628352 (372.53 GiB 400.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 2
    Persistence : Superblock is persistent

    Update Time : Tue May 19 15:25:10 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : 6efee4b6:c6e50352:245cf1cb:a7b985dd
         Events : 0.3

    Number   Major   Minor   RaidDevice State
       0       8        5        0      active sync   /dev/sda5
       1       8       21        1      active sync   /dev/sdb5

jadro to :

Kod:

wierzba20:~# uname -a
Linux wierzba20 2.6.26-2-amd64 #1 SMP Fri Mar 27 04:02:59 UTC 2009 x86_64 GNU/Linux

Zastanawiam sie czy moze to byc problem w zwiazku z architektura i specyfika SUNow
cyz moze raczej spotykany juz jest na tym jadrze na innych systemach ...
Poprzednio robilem podobne macierze ale na starszych jadrach .
Bylbym wdzieczny za jakiekolwiek sugestie :)

Pozdrawiam

Ostatnio edytowany przez Phrozen^Tux (2009-05-22 01:28:55)


gg: 1640760  Linux Registered User: #289621
[img]http://markooff.net/obrazki/avatars/runningslack.gif[/img]  [img]http://markooff.net/obrazki/avatars/debian.jpg[/img] [img]http://markooff.net/obrazki/avatars/powerlogo.gif[/img]

Offline

 

#2  2009-05-22 01:27:27

  Phrozen^Tux - Członek DUG

Phrozen^Tux
Członek DUG
Skąd: DC - District Cracovia :)
Zarejestrowany: 2005-10-14

Re: [SOLVED] mdadm + debian 5.01 + SUN XFire 2200 - problem z montowaniem

OK  , dzisiaj rozwiazalem wreszcie ten palacy problem :) a rozwiazanie okazalo sie byc (jak domniemywalem ) mimo wszystko dosc banalne ...
Podaje za serwisem - http://linux.derkeiler.com/Newsgroups/comp.os.linux.misc/2007-11/msg00009.html

Yan Seiner staggered into the Black Sun and said:

    cat /proc/mdstat
    md10 : active(auto-read-only) raid1 sdc1[0] sdd1[1]
    390708736 blocks [2/2] [UU]
    resync=PENDING
    apparently auto-read-only prevents the array from being rebuilt; it's
    been pending for hours.


Try "mdadm --readwrite /dev/md10"

....maybe. There are only 2 matches for keyword "read-only" in the man
page for mdadm 2.6.2, and --readwrite is the thing that looks the most
like it might help. I don't know for sure; I haven't seen this with the
softRAID things that I have. HTH anyway,

--
I will rule you all with my iron fist. YOU! Obey the fist!
--Invader Zim
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see[/quote]
Mnie w kazdym razie pomoglo :) po recznym przelaczeniu  w tryb rw
i pomyslnym zresync'owaniu macierzy (trwalo to dobre z pol godziny)
oraz wydaniu komendy "mount ...." wszystko ruszylo z kopyta :)

Pozdrawiam

Ostatnio edytowany przez Phrozen^Tux (2009-05-22 11:37:13)


gg: 1640760  Linux Registered User: #289621
[img]http://markooff.net/obrazki/avatars/runningslack.gif[/img]  [img]http://markooff.net/obrazki/avatars/debian.jpg[/img] [img]http://markooff.net/obrazki/avatars/powerlogo.gif[/img]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.025 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00014 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00110 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.224.44.100' WHERE u.id=1
0.00163 UPDATE punbb_online SET logged=1716115300 WHERE ident='18.224.44.100'
0.00088 SELECT * FROM punbb_online WHERE logged<1716115000
0.00212 DELETE FROM punbb_online WHERE ident='54.36.148.177'
0.00177 DELETE FROM punbb_online WHERE ident='54.36.149.6'
0.00568 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=14184 AND t.moved_to IS NULL
0.00015 SELECT search_for, replace_with FROM punbb_censoring
0.00757 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=14184 ORDER BY p.id LIMIT 0,25
0.00151 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=14184
Total query time: 0.02259 s