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!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Witam
Mam komputerek co chodzi na softwerowym raid1.
Do tej pory pracował na kernelu 2.6.26.6
Postanowiłem zmienić kernel przy okacji dokompilowania nowych potrzebnych mi modułów - a brakujących w starym kernelu
Na nowym kernelu 2.6.31.2 (zauważyłe że od wersji 2.6.28 tak jest) w czasie startu pojawia się komunikat:
md0: unknown partition table
md1: unknown partition table
Ale komputer pracuje poprawnie
Dane raid z dmesg:
sd 0:0:3:0: [sdb] Attached SCSI disk
sd 0:0:1:0: [sda] Attached SCSI disk
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 6 and added 6 devices.
md: autorun ...
md: considering sda3 ...
md: adding sda3 ...
md: sda2 has different UUID to sda3
md: sda1 has different UUID to sda3
md: adding sdb3 ...
md: sdb2 has different UUID to sda3
md: sdb1 has different UUID to sda3
md: created md2
md: bind<sdb3>
md: bind<sda3>
md: running: <sda3><sdb3>
raid1: raid set md2 active with 2 out of 2 mirrors
md2: detected capacity change from 0 to 542769152
md: considering sda2 ...
md: adding sda2 ...
md: sda1 has different UUID to sda2
md: adding sdb2 ...
md: sdb1 has different UUID to sda2
md: created md1
md: bind<sdb2>
md: bind<sda2>
md: running: <sda2><sdb2>
raid1: raid set md1 active with 2 out of 2 mirrors
md1: detected capacity change from 0 to 55997628416
md: considering sda1 ...
md: adding sda1 ...
md: adding sdb1 ...
md: created md0
md: bind<sdb1>
md: bind<sda1>
md: running: <sda1><sdb1>
raid1: raid set md0 active with 2 out of 2 mirrors
md0: detected capacity change from 0 to 17001545728
md: ... autorun DONE.
md0: unknown partition table
XFS mounting filesystem md0
Ending clean XFS mount for filesystem: md0
VFS: Mounted root (xfs filesystem) readonly on device 9:0.
Dane z mdadm
# mdadm --misc --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Fri May 26 23:06:49 2006
Raid Level : raid1
Array Size : 16603072 (15.83 GiB 17.00 GB)
Used Dev Size : 16603072 (15.83 GiB 17.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Thu Oct 29 07:47:19 2009
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : e4ef543a:72667ad8:66a89283:ebe919d5
Events : 0.8422470
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
# mdadm --misc --detail /dev/md1
/dev/md1:
Version : 00.90
Creation Time : Fri May 26 23:07:04 2006
Raid Level : raid1
Array Size : 54685184 (52.15 GiB 56.00 GB)
Used Dev Size : 54685184 (52.15 GiB 56.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Thu Oct 29 07:46:24 2009
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 40099555:a5251183:16cc1790:a7c484de
Events : 0.1215230
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2
z# mdadm --misc --detail /dev/md2
/dev/md2:
Version : 00.90
Creation Time : Mon Apr 20 12:02:29 2009
Raid Level : raid1
Array Size : 530048 (517.71 MiB 542.77 MB)
Used Dev Size : 530048 (517.71 MiB 542.77 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 2
Persistence : Superblock is persistent
Update Time : Thu Oct 29 07:33:52 2009
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : c2505d65:b3005881:fe049310:8d7b17b6
Events : 0.28
Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
1 8 19 1 active sync /dev/sdb3
Dane z proc/mdstat
# cat /proc/mdstat
Personalities : [raid1] [multipath]
md1 : active raid1 sda2[0] sdb2[1]
54685184 blocks [2/2] [UU]
md2 : active raid1 sda3[0] sdb3[1]
530048 blocks [2/2] [UU]
md0 : active raid1 sda1[0] sdb1[1]
16603072 blocks [2/2] [UU]
unused devices: <none>
Partycje rozkładają się następująco:
# fdisk -l /dev/sda
Disk /dev/sda: 73.5 GB, 73543163904 bytes
255 heads, 63 sectors/track, 8941 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x57c45b19
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2067 16603146 fd Linux raid autodetect
/dev/sda2 2068 8875 54685260 fd Linux raid autodetect
/dev/sda3 8876 8941 530145 fd Linux raid autodetect
# fdisk -l /dev/sdb
Disk /dev/sdb: 73.5 GB, 73543163904 bytes
255 heads, 63 sectors/track, 8941 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x19842a96
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2067 16603146 fd Linux raid autodetect
/dev/sdb2 2068 8875 54685260 fd Linux raid autodetect
/dev/sdb3 8876 8941 530145 fd Linux raid autodetect
Urządzenia md0 i md1 są sformatowane na system plików xfs
Urządzenie md2 to swap
Czy to normalny komunikat. Czy powinienem się czymś przejąć.
Trochę testowałem komunikat pojawia się dopiero od kernelu 2.6.28
Mam sie czym przejmować ?
Nie wiem czy dobrze myślę ale
ponieważ od razu przeformatowałem md0 na xfs (to jest jakby sda a nie np. sda1 czyli tablica nie jest utworzona)
to wszystko jest ok. i że to normalny komunikat mówiący że na urządzeniu md0 nie ma żadnej tablicy partycji.
Ostatnio edytowany przez rpc (2009-10-29 08:57:22)
Offline
Nie masz się czym przejmować, znaczy to tylko tyle że na /dev/md0 nie ma tablicy partycji (system traktuje macierz raid jak dysk a nie jak partycje).
Offline
Strony: 1
Time (s) | Query |
---|---|
0.00016 | SET CHARSET latin2 |
0.00005 | SET NAMES latin2 |
0.00134 | 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.119.248.214' WHERE u.id=1 |
0.00107 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.119.248.214', 1732319795) |
0.00068 | SELECT * FROM punbb_online WHERE logged<1732319495 |
0.00095 | DELETE FROM punbb_online WHERE ident='85.208.96.212' |
0.00050 | SELECT topic_id FROM punbb_posts WHERE id=131813 |
0.00091 | SELECT id FROM punbb_posts WHERE topic_id=15340 ORDER BY posted |
0.00072 | 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=15340 AND t.moved_to IS NULL |
0.00007 | SELECT search_for, replace_with FROM punbb_censoring |
0.00089 | 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=15340 ORDER BY p.id LIMIT 0,25 |
0.00075 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=15340 |
Total query time: 0.00809 s |