"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

Software raid verbunde verschwinden immer nach dem neustart...

semteX 15.08.2008 - 12:46 837 2
Posts

semteX

Risen from the banned
Avatar
Registered: Oct 2002
Location: Pre
Posts: 14350
ich hab folgendes problem: mein raid verbund scheint sich nach dem neustart immer wieder zu vertschüssen...

fdisk -l /dev/hda sieht so aus:

Code:
root@ubuntu:/dev# fdisk -l /dev/sda

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         262     2104514+  fd  Linux raid autodetect
/dev/sda2             263        2221    15735667+  fd  Linux raid autodetect
/dev/sda3            2222        2247      208845   fd  Linux raid autodetect
/dev/sda4            2248       60801   470335005    5  Extended
/dev/sda5            2248       32272   241175781   fd  Linux raid autodetect
/dev/sda6           32273       60801   229159161   fd  Linux raid autodetect

Code:
root@server:/dev# fdisk -l /dev/sdb

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         262     2104514+  fd  Linux raid autodetect
/dev/sdb2             263        2221    15735667+  fd  Linux raid autodetect
/dev/sdb3            2222        2247      208845   fd  Linux raid autodetect
/dev/sdb4            2248       60801   470335005    5  Extended
/dev/sdb5            2248       32272   241175781   fd  Linux raid autodetect
/dev/sdb6           32273       60801   229159161   fd  Linux raid autodetect
ich hab anschließend das raid mit folgenden befehlen erstellt:

mdadm --create --verbose /dev/md3 --auto=yes --level=1 --raid-devices=2 /dev/sda5 /dev/sdb5

+

mdadm --create --verbose /dev/md4 --auto=yes --level=1 --raid-devices=2 /dev/sda6 /dev/sdb6

md3 + md4 waren danach auch korrekt unter /dev/md(3/4) zu finden und ließen sich auch mounten...

ein neustart und alles ist aber wieder weg...

Code:
root@server:/dev# mdadm --detail --scan
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=f8450bcf:f8defc80:906ef9d0:0c182672
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=4e25921a:49f77079:ef6c774d:de506de2
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=a6c4961d:cb44f783:159867f8:d18f34d5

hilfe?

os ist ubuntu 8.04lts auf nem a64 5600+ oder so

Marcellus

OC Addicted
Avatar
Registered: Mar 2005
Location: ~
Posts: 1755
Zitat
http://gentoo-wiki.com/HOWTO_Gentoo...n_Software_RAID
mdadm --detail --scan >> /etc/mdadm.conf

Wär per google sicher nicht zu lösen gewesen.

Im übrigen wärs meines erachtens sinnvoller, wenn du ein raid device machen würdest und das dann partitionierst, als mehrere auf einzelpartitionen zu machen.

semteX

Risen from the banned
Avatar
Registered: Oct 2002
Location: Pre
Posts: 14350
nein, ich habs via google ehrlich ned gefunden und im wiki von ubuntuusers war keine rede davon.

so, ich legs grad wieder neu an, simma mal gespannt...

danke schomal

edit: die antwort war nicht ganz korrekt, /etc/mdadm/mdadm.conf ist der name der datei.
Bearbeitet von semteX am 15.08.2008, 16:29
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz