[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] mdadmin og spares



Jon Bendtsen skrev:
On 04/01/2010, at 16.31, Leif Lende wrote:

Leif Lende skrev:
Leif Lende skrev:
Jon Bendtsen skrev:
On 04/01/2010, at 16.10, Leif Lende wrote:

Jon Bendtsen skrev:
On 04/01/2010, at 15.53, Leif Lende wrote:
Hej
har et kørende raid1
mdadm.conf:
ARRAY /dev/md0 level=raid1 devices=/dev/sdb1,/dev/sda1

Vil gerne tilføje sdc1 som spare til dette.
Kan nogen give mig en ganske klar og simpel måde at tilføje dette i mdadm?
har du prøvet følgende?
   mdadm --add /dev/md0 /dev/sdc1
JonB
Vil det ikke tilføje den som aktiv (og ikke som spare)?
Der er jo allerede 2 aktive.



Så vidt jeg veed kan man sagtens have flere end 2 aktive i raid1
?Leif


Men tak,
mdadm --add /dev/md0 /dev/sdc1
gjorde underværket.
Jeg ville bare gerne forstå inden jeg gjorde noget drastisk
Leif
Hvorfor kommer der så ikke til at stå noget i mdadm.conf om /dev/sdc1?

Fordi det er ikke der data gemmes.


Hvor skrives det ellers?

I partitionen et eller andet sted.

Se mdadm --examine /dev/sda1, sdb1, sdc1



Mamge tak for svarene!
Det ser sådan ud så:

RAID device options

Device file	/dev/md0
RAID level	Mirrored (RAID1)
Filesystem status	Mounted on /
Usable size	238171520 blocks (227.14 GB)
Persistent superblock?	Ja
Chunk size	Standart
RAID errors	1 disks have failed
RAID status	clean, degraded, recovering
Rebuilding progress	56 %
Partitions in RAID	SCSI device B partition 1
SCSI device A partition 1
Spare partitions	SCSI device C partition 1


Leif


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2010-02-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *