All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] raid 1 destroyed!
@ 2002-08-29 14:54 Alexander Lazarevich
  2002-08-29 15:04 ` Steven Dake
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Lazarevich @ 2002-08-29 14:54 UTC (permalink / raw)
  To: Linux LVM Sistina

i was testing out software raid on linux 7.3 with sistina LVM installed. i
had a raid 1 mirror with two drives, and one of the drives failed (i
pulled the power on it), then i pluged it back in, rebooted, ran fdisk -l
to make sure linux could see the drive (it did), then tried running fdisk
again to create the partitions on the drive, then rebooted, then ran
'raidhotadd /dev/md0 /dev/sdb', rebooted, then my entire system was gone,
both drives had corrupted filesystem.

my question is this: since there is no man pages for raidhotadd (stupid),
how the heck do i read about how this software raid works so i dont blow
away a "real" system!

also, if i add my system drives to the LVM, can it still be in a raid 1?

thanks in adavance,

alex
---                                                        ---
   Alex Lazarevich | Systems | Imaging Technology Group
   alazarev@itg.uiuc.edu | (217)244-1565 | www.itg.uiuc.edu
---                                                        ---

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] raid 1 destroyed!
  2002-08-29 14:54 [linux-lvm] raid 1 destroyed! Alexander Lazarevich
@ 2002-08-29 15:04 ` Steven Dake
  2002-08-29 17:16   ` Goetz Bock
  2002-08-30 10:03   ` Alexander Lazarevich
  0 siblings, 2 replies; 4+ messages in thread
From: Steven Dake @ 2002-08-29 15:04 UTC (permalink / raw)
  To: linux-lvm

One place you may have gone wrong is hotadding /dev/sdb.  You would want 
to add a partition such as /dev/sdb1 not /dev/sdb

Thanks
-steve

Alexander Lazarevich wrote:

>i was testing out software raid on linux 7.3 with sistina LVM installed. i
>had a raid 1 mirror with two drives, and one of the drives failed (i
>pulled the power on it), then i pluged it back in, rebooted, ran fdisk -l
>to make sure linux could see the drive (it did), then tried running fdisk
>again to create the partitions on the drive, then rebooted, then ran
>'raidhotadd /dev/md0 /dev/sdb', rebooted, then my entire system was gone,
>both drives had corrupted filesystem.
>
>my question is this: since there is no man pages for raidhotadd (stupid),
>how the heck do i read about how this software raid works so i dont blow
>away a "real" system!
>
>also, if i add my system drives to the LVM, can it still be in a raid 1?
>
>thanks in adavance,
>
>alex
>---                                                        ---
>   Alex Lazarevich | Systems | Imaging Technology Group
>   alazarev@itg.uiuc.edu | (217)244-1565 | www.itg.uiuc.edu
>---                                                        ---
>
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
>  
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] raid 1 destroyed!
  2002-08-29 15:04 ` Steven Dake
@ 2002-08-29 17:16   ` Goetz Bock
  2002-08-30 10:03   ` Alexander Lazarevich
  1 sibling, 0 replies; 4+ messages in thread
From: Goetz Bock @ 2002-08-29 17:16 UTC (permalink / raw)
  To: linux-lvm

On Thu, Aug 29 '02 at 13:05, Steven Dake wrote:
> > [ ... ] 'raidhotadd /dev/md0 /dev/sdb', [ ... ]
> One place you may have gone wrong is hotadding /dev/sdb.  You would want 
> to add a partition such as /dev/sdb1 not /dev/sdb
And you might want to try mdadm instead of raidtools. it's more up to
date, supporte and comes with --help and a mailing list.

(look at: http://www.cse.unsw.edu.au/~neilb/source/mdadm/)
-- 
Goetz Bock       (c) 2002 as     blacknet.de - Munich - Germany   /"\
IT Consultant    GNU FDL 1.1    secure mobile Linux everNETting   \ /
                                                                   X
 ASCII Ribbon Campaign against HTML email & microsoft attachments / \

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] raid 1 destroyed!
  2002-08-29 15:04 ` Steven Dake
  2002-08-29 17:16   ` Goetz Bock
@ 2002-08-30 10:03   ` Alexander Lazarevich
  1 sibling, 0 replies; 4+ messages in thread
From: Alexander Lazarevich @ 2002-08-30 10:03 UTC (permalink / raw)
  To: linux-lvm

ah, yes, that is probably what i did wrong. so software raid mirrors
partitions, not drives? this is fine and all, but what about some
documentation for radihotadd? any ideas?

thanks,

alex
---                                                        ---
   Alex Lazarevich | Systems | Imaging Technology Group
   alazarev@itg.uiuc.edu | (217)244-1565 | www.itg.uiuc.edu
---                                                        ---


On Thu, 29 Aug 2002, Steven Dake wrote:

> One place you may have gone wrong is hotadding /dev/sdb.  You would want
> to add a partition such as /dev/sdb1 not /dev/sdb
>
> Thanks
> -steve
>
> Alexander Lazarevich wrote:
>
> >i was testing out software raid on linux 7.3 with sistina LVM installed. i
> >had a raid 1 mirror with two drives, and one of the drives failed (i
> >pulled the power on it), then i pluged it back in, rebooted, ran fdisk -l
> >to make sure linux could see the drive (it did), then tried running fdisk
> >again to create the partitions on the drive, then rebooted, then ran
> >'raidhotadd /dev/md0 /dev/sdb', rebooted, then my entire system was gone,
> >both drives had corrupted filesystem.
> >
> >my question is this: since there is no man pages for raidhotadd (stupid),
> >how the heck do i read about how this software raid works so i dont blow
> >away a "real" system!
> >
> >also, if i add my system drives to the LVM, can it still be in a raid 1?
> >
> >thanks in adavance,
> >
> >alex
> >---                                                        ---
> >   Alex Lazarevich | Systems | Imaging Technology Group
> >   alazarev@itg.uiuc.edu | (217)244-1565 | www.itg.uiuc.edu
> >---                                                        ---
> >
> >
> >
> >_______________________________________________
> >linux-lvm mailing list
> >linux-lvm@sistina.com
> >http://lists.sistina.com/mailman/listinfo/linux-lvm
> >read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> >
> >
> >
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-08-30 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-29 14:54 [linux-lvm] raid 1 destroyed! Alexander Lazarevich
2002-08-29 15:04 ` Steven Dake
2002-08-29 17:16   ` Goetz Bock
2002-08-30 10:03   ` Alexander Lazarevich

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.