All of lore.kernel.org
 help / color / mirror / Atom feed
From: GrantC <grant_nospam@dodo.com.au>
To: Clemens Eisserer <linuxhippy@web.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: Autodetection using RAID1 on externa USB2-HDs
Date: Wed, 16 Feb 2005 18:20:57 +1100	[thread overview]
Message-ID: <rms5115dginq7etbe2sdhdlnfpgohningh@4ax.com> (raw)
In-Reply-To: <1061567322@web.de>

On Wed, 16 Feb 2005 07:54:26 +0100, you wrote:

>Hello!
>
>I am trying to use my external USB2.0 hd for  raid1 in my laptop, however autodetection does not work and I do not really know - but I have at least a theory.
>
>What i did till now:
>1.) set the partition-type of both partitiuons from 83 (Linux) to fd (Linux Raid Autodetection)
>2.) mdadm --create /dev/md0 --level=raid1 --reaid-devices=2 /dev/hda2 /dev/sda1
>
>This works great on creation, I can watch with /proc/mdstat the syncing process, but if I reboot the autodetection does not work. I can see that linux-raid discovers an raid (on /dev/hda2) but something returns "-22" (have forgotten what exactly) - it seems that my usb-disc (/dev/sda1) is simply not known at raid-discovery-time.
>Some seconds later I can see that the kernel disvcovers my usb-drive - so I think my theory could be right?
>
>Is there a way to tell the kernel after boot where to find raid-arrays and howto handle them. Is that maybe possible with only a /boot partition and the reast on a mirrored "/" (root) partition.
>
>Please help, I don't know any further :(

If you really want to do this, I'd suggest stopping the RAID1 
prior to shutdown, and then starting the RAID1 from rc.local, 
then your RAID1 wil be recognised and resynced.

Consider what will happen when you turn on laptop without 
USB RAID1 partner HD plugged in?

If you are trying for easy way to backup data, I would suggest 
rsync.

Cheers,
Grant.


      parent reply	other threads:[~2005-02-16  7:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-16  6:54 Autodetection using RAID1 on externa USB2-HDs Clemens Eisserer
2005-02-16  7:14 ` Daniel Pittman
2005-02-16  7:20 ` GrantC [this message]

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=rms5115dginq7etbe2sdhdlnfpgohningh@4ax.com \
    --to=grant_nospam@dodo.com.au \
    --cc=linux-raid@vger.kernel.org \
    --cc=linuxhippy@web.de \
    /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.