Mkraid raid 1 mislukt :"( SUSE 8.0

Pagina: 1
Acties:

Onderwerpen


Acties:
  • 0 Henk 'm!

  • ThaDude
  • Registratie: December 2000
  • Laatst online: 08:57

ThaDude

Hang Loose

Topicstarter
Ik heb met de hand geprobeerd 2 raid 1 partities aan te maken. 1 schijf was al een bestaande, ik heb er een dezelfde schijf bij gezet, hierop parttities gemaakt als op hdda met de bedoeling een raid 1 te vormen.

Mijn raidtab ziet er als volgt uit:
# autogenerated /etc/raidtab by YaST2
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 4
device /dev/hda1
raid-disk 0
device /dev/hdd1
raid-disk 1

raiddev /dev/md1
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 4
device /dev/hda5
raid-disk 0
device /dev/hdd5
raid-disk 1

Hierna je ik mkraid uitgevoerd voor beide. De md0 was meteen correct. Helaas krijg ik bij het aanmaken van md1 de volgende foutmeldingen:

can not import hda5, has active inodes!
could not import hda5!
autostart hda5 failed!


Mijn boot.msg is:
<6>md: Autodetecting RAID arrays.
<6> [events: 00000000]
<3>md: invalid raid superblock magic on hdd5
<4>md: hdd5 has invalid sb, not importing!
<1>md: could not import hdd5!
<6>md: autorun ...
<6>md: ... autorun DONE.


Ik snap echt niet wat ik moet doen, ik heb al een keer fsck op beide hd*5 uitgevoerd, dit hielp ook niks want beide schijven zijn ok! :"(

We're machines just like everything else in nature. (gasloos sinds 01-10-2020, WP: SW75YAA/ERSD-VM2D, DJG WPS 300, 18 hp CPC, 8820 wp)


Acties:
  • 0 Henk 'm!

  • igmar
  • Registratie: April 2000
  • Laatst online: 03-09 22:58

igmar

ISO20022

ThaDude schreef op 30 december 2002 @ 21:26:
Ik heb met de hand geprobeerd 2 raid 1 partities aan te maken. 1 schijf was al een bestaande, ik heb er een dezelfde schijf bij gezet, hierop parttities gemaakt als op hdda met de bedoeling een raid 1 te vormen.

Mijn raidtab ziet er als volgt uit:
# autogenerated /etc/raidtab by YaST2
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 4
device /dev/hda1
raid-disk 0
device /dev/hdd1
raid-disk 1


<snip>

can not import hda5, has active inodes!
could not import hda5!
autostart hda5 failed!
Ziet er na uit dat je hda5 nog gemount hebt (cat /proc/mounts om dat zeker te weten). Unmounten en opnieuw proberen.

Acties:
  • 0 Henk 'm!

  • ThaDude
  • Registratie: December 2000
  • Laatst online: 08:57

ThaDude

Hang Loose

Topicstarter
Dat klopt opzich omdat ik even in linux moest zijn dus boot ik weer op de oude schijf.
Als ik inlog in rescue mode dan lukt het nog niet, ik blijf die error krijgen met hda5, h'as active inodes!'

We're machines just like everything else in nature. (gasloos sinds 01-10-2020, WP: SW75YAA/ERSD-VM2D, DJG WPS 300, 18 hp CPC, 8820 wp)


Acties:
  • 0 Henk 'm!

  • Papillon
  • Registratie: Januari 2000
  • Laatst online: 28-05 15:12

Papillon

Spring 's in the Air...

Wat voor partities heb je gemaakt? Ext3 of ext2 toevallig. Zo ja dan moet je de manual er nog eens op nalezen, daar staat dat je de partities met label fd moet aanmaken.

[root@Septunus] root$ fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 fd Linux raid autodetect
/dev/hda2 14 274 2096482+ fd Linux raid autodetect
/dev/hda3 275 290 128520 82 Linux swap
/dev/hda4 291 9729 75818767+ f Win95 Ext'd (LBA)
/dev/hda5 291 9729 75818736 fd Linux raid autodetect

[root@Septunus] root$ cat /proc/mdstat
Personalities : [raid1] [raid5]
read_ahead 1024 sectors
md1 : active raid5 hda2[0] hde3[1] hdg2[2]
4192768 blocks level 5, 64k chunk, algorithm 0 [3/3] [UUU]

md2 : active raid5 hda5[0] hde2[1] hdg1[2]
151637248 blocks level 5, 64k chunk, algorithm 0 [3/3] [UUU]

md0 : active raid1 hda1[0] hde1[1]
104320 blocks [2/2] [UU]

unused devices: <none>

F u cn rd ths, u mght hv a gd jb n cmptr prgmmng.


Acties:
  • 0 Henk 'm!

  • ThaDude
  • Registratie: December 2000
  • Laatst online: 08:57

ThaDude

Hang Loose

Topicstarter
Savello:~ # fdisk -l /dev/hda

Disk /dev/hda: 128 heads, 63 sectors, 781 cylinders
Units = cylinders of 8064 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 66 266080+ 82 Linux swap
/dev/hda2 67 781 2882880 5 Extended
/dev/hda5 67 781 2882848+ 83 Linux
Savello:~ # fdisk -l /dev/hdd

Disk /dev/hdd: 128 heads, 63 sectors, 781 cylinders
Units = cylinders of 8064 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 66 266080+ 82 Linux swap
/dev/hdd2 67 781 2882880 5 Extended
/dev/hdd5 67 781 2882848+ fd Linux raid autodetect
Savello:~ #

Zoals eerder gezegt lukt md0 wel:
Savello:~ # cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 hdd1[1] hda1[0]
265984 blocks [2/2] [UU]

unused devices: <none>
Savello:~ #

[ Voor 14% gewijzigd door ThaDude op 31-12-2002 15:12 . Reden: toevoeging ]

We're machines just like everything else in nature. (gasloos sinds 01-10-2020, WP: SW75YAA/ERSD-VM2D, DJG WPS 300, 18 hp CPC, 8820 wp)


Acties:
  • 0 Henk 'm!

  • Illegal_Alien
  • Registratie: December 2001
  • Niet online

Illegal_Alien

PanzerAirlines.nl Rulezzzz

[Reparatiemode]
ThaDude schreef op 31 december 2002 @ 15:11:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Savello:~ # fdisk -l /dev/hda

Disk /dev/hda: 128 heads, 63 sectors, 781 cylinders
Units = cylinders of 8064 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1        66    266080+  82  Linux swap
/dev/hda2            67       781   2882880    5  Extended
/dev/hda5            67       781   2882848+  83  Linux
Savello:~ # fdisk -l /dev/hdd

Disk /dev/hdd: 128 heads, 63 sectors, 781 cylinders
Units = cylinders of 8064 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdd1             1        66    266080+  82  Linux swap
/dev/hdd2            67       781   2882880    5  Extended
/dev/hdd5            67       781   2882848+  fd  Linux raid autodetect
Savello:~ #


Zoals eerder gezegt lukt md0 wel:

code:
1
2
3
4
5
6
7
8
Savello:~ # cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 hdd1[1] hda1[0]
      265984 blocks [2/2] [UU]

unused devices: <none>
Savello:~ #
Zo ff de :~ smilies voor je weggehaald :)

[/reparatiemode]

[ Voor 11% gewijzigd door Illegal_Alien op 31-12-2002 15:32 ]

Mijn bescheiden aantal systeempies!
More ways to die. More reasons to live.
Officieel AchtbaanFreak ©2004
#boeiend.Illegal_Alien | #got-et & #boeiend @ Qnet


Acties:
  • 0 Henk 'm!

  • ThaDude
  • Registratie: December 2000
  • Laatst online: 08:57

ThaDude

Hang Loose

Topicstarter
Iemand hier nog een oplossing voor? Het is me nog steeds niet gelukt helaas

We're machines just like everything else in nature. (gasloos sinds 01-10-2020, WP: SW75YAA/ERSD-VM2D, DJG WPS 300, 18 hp CPC, 8820 wp)

Pagina: 1