All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alessio Palmero Aprosio <alessio@apnetwork.it>
To: linux-raid@vger.kernel.org
Subject: Problem
Date: Sun, 21 Jan 2007 03:05:22 +0100	[thread overview]
Message-ID: <45B2CA62.7050000@apnetwork.it> (raw)

Hi to all!

I have a strange problem with Raid. I admit I'm quite a newbie in RAID, 
because I usually used it but never had problems. Now I had one.

I have a server with a RAID1, in particular two 80gb SATA disks 
(/dev/sda and /dev/sdb). In each of them there are two partitions: a 
500mb swap partition and a 79 gb raid partition. I create /dev/md0 from 
the two and I have now the array working well. I had a problem with one 
of them (/dev/sda) and I decide to leave sdb alone during the time I 
need to change sda. So I installed grub in sdb (as in 
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID#Installing_Grub_onto_both_MBRs) 
and I put it alone. All works perfectly. After some time, I noticed that 
sdb too has the problem, and then I discovered that the problem wasn't 
in the disks, but in another place, and I solved it. I put sda again and 
I rebuild the array. Now, whenever I reboot the computer I have to 
rebuild the array. I tried 3 times and all the times the Raid only found 
a disk and I have to execute

mdadm --manage /dev/md0 -a /dev/sdb2

and then all works.

This is my mdadm -D /dev/md0
-----------------------------------------------------------
/dev/md0:
        Version : 00.90.01
  Creation Time : Thu Oct 20 19:07:57 2005
     Raid Level : raid1
     Array Size : 79505600 (75.82 GiB 81.41 GB)
    Device Size : 79505600 (75.82 GiB 81.41 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sun Jan 21 03:03:27 2007
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : 224a5dd6:1f81f7c4:d8c8c9f1:08088420
         Events : 0.20140867

    Number   Major   Minor   RaidDevice State
       0       8       18        0      active sync   /dev/sdb2
       1       8        2        1      active sync   /dev/sda2
-----------------------------------------------------------

and my /proc/mdstat
-----------------------------------------------------------
Personalities : [raid0] [raid1] [raid5]
md0 : active raid1 sdb2[0] sda2[1]
      79505600 blocks [2/2] [UU]

unused devices: <none>
-----------------------------------------------------------

How can I solve the problem?
Thans very much

Alessio Palmero (from Italy)

             reply	other threads:[~2007-01-21  2:05 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-21  2:05 Alessio Palmero Aprosio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-27 22:38 Problem Michael Salman
2024-07-29 21:52 ` Problem brian m. carlson
2015-02-20  0:10 Problem Jeffrey O'Hara
2014-07-13  2:39 PROBLEM Michael P
2011-01-11 10:58 Problem Marco Sarzi Madidini
2011-01-11 13:37 ` Problem solarflow99
2011-01-11 15:38 ` Problem Frank Cox
2009-01-21 13:50 problem Csaba Dobo
2007-04-27  1:35 PROBLEM Thomas Kayser
2006-02-03 12:02 PROBLEM Badri Pillai
2004-12-24  4:22 PROBLEM Scott Mollica
2004-12-27  3:28 ` PROBLEM Adrian Bunk
2004-12-20 12:10 problem nikolai
2004-12-20 12:45 ` problem Jesper Lund
2004-06-17 17:16 problem Admin
2003-12-19 18:10 PROBLEM Federico Freire
2003-12-19 18:25 ` PROBLEM Jean-Philippe Woot de Trixhe
2003-12-19 19:29   ` PROBLEM Jose Luis Domingo Lopez
2003-11-30  4:07 PROBLEM Mike Morrell
2003-11-30  6:05 ` PROBLEM Chris Ernst
2003-11-10  3:13 problem cemal
2003-11-10  3:17 ` problem Justin Zygmont
2003-10-21 13:39 PROBLEM laurent.miaille
2003-06-12 14:12 Problem Hector M Sanchez M
2003-05-09  1:26 problem useless
2003-03-17 21:07 Problem Pontus Falk
2003-03-17 21:43 ` Problem pa3gcu
2003-03-17 22:09   ` Problem Pontus Falk
2003-03-17 23:12     ` Problem Shane Deering
2003-03-18 15:50     ` Problem pa3gcu
2003-03-25  6:41       ` Problem Henk Remijn
2003-03-25 16:42         ` Problem bernard pidoux
2003-03-25 17:25           ` Problem Jarmo
2003-03-27 12:01             ` Problem bernard pidoux
2003-03-25 20:45           ` Problem pa3gcu
2003-03-26  0:46           ` Problem M Taylor
2003-03-13 21:40 Problem Smiler
2003-03-09 11:49 PROBLEM Kósa Ferenc
2003-03-09 12:55 ` PROBLEM John Bradford
2003-01-26  0:07 problem Mark Ryan
2003-01-26  1:41 ` problem Arnt Karlsen
2002-12-31 16:19 Problem Amar Lior
2002-12-31 17:38 ` Problem Hugh Dickins
2002-12-31 16:18 PROBLEM Amar Lior
2002-08-29 19:55 Problem Ryan White
2002-08-14 14:20 PROBLEM Bob Kruger
2001-09-11 23:16 Problem George Lloyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45B2CA62.7050000@apnetwork.it \
    --to=alessio@apnetwork.it \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.