All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: dm-devel@redhat.com, ataraid-list@redhat.com
Subject: Re: - info about dm
Date: Mon, 12 Nov 2007 16:15:56 -0500	[thread overview]
Message-ID: <4738C28C.1090300@cfl.rr.com> (raw)
In-Reply-To: <20071109163746.GB15775@percy.comedia.it>

Luca Berra wrote:
>> Anyway, I found a little problematic configuring it manually: I tried to
>> install SL5 on a node which was misconfigured: instead of seeing one
>> device, it was managing the 2 HD (/dev/sda and /dev/sdb) as 2 separate

This is as expected.  The hardware is just a sata controller with two 
disks attached, so that is what the kernel sees.  dmraid is used to 
recognize the bios information on the disk and configure the device 
mapper driver to create a raid virtual device.

>> devices an if I tried to configure them (at install time, via CD or
>> network boot) with  DM, I got many errors about the RAID table (“ERROR:
>> asr: Invalid RAID config table checksum on /dev/sda” or even “asr:
>> Invalid magic number in RAID table; saw 0x0 expected…”). I tried to
>> reconfigure the RAID card first via BIOS and then trying again to
>> configure it via Linux (“dmsetup create …”) but even if it seemed

dmsetup create creates a new dm device.  Generally this command is for 
debugging and testing, so you should not use it.  It has nothing to do 
with dmraid other than they are both clients of the device mapper kernel 
driver.

>> working (exit code 0), then querying the device asr_ (i.e. “dmraid –r”)
>> resulted in errors as reported above…or better, dmraid commands (-r,
>> -ay, -tay,…) reported errors, while dmsetup commands  (status, ls,…)

What where the exact commands and errors the generated?

I am also confused because the first thing you said was that the system 
DID correctly recognize the raid array as /dev/mapper/asr_xxxx.

>> 2) Managing disks
>> I configured disks in RAID 1 (mirror) but I wonder how to manage this
>> RAID; in particular, how can I do for:
>> - stopping a device (disk) and put it offline/and viceversa? - 
>> reconfiguring/rebuilding it (due to broken/faulting HD)?
>> At the moment I should change a couple of disks (SMARTD warnings
>> reported), but I’m scared about the “RAID table error”…

Currently the only way is to do so in the bios.  Some systems the bios 
will begin rebuilding when you tell it to, and you need to wait for it 
to finish.  On others, it only marks the disk as needing rebuilt and 
relies on the windows driver to do the rebuilding.  Currently dmraid 
does not perform rebuilding.

  reply	other threads:[~2007-11-12 21:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07 13:51 - info about dm Vega Forneris
2007-11-09 16:37 ` [dm-devel] " Luca Berra
2007-11-12 21:15   ` Phillip Susi [this message]
2007-11-13 15:52     ` R: " Vega Forneris
2007-11-13 18:22       ` R: [dm-devel] " Phillip Susi
2007-11-14 10:57         ` R: R: " Vega Forneris
  -- strict thread matches above, loose matches on Subject: below --
2007-10-23 16:06 Vega Forneris

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=4738C28C.1090300@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=ataraid-list@redhat.com \
    --cc=dm-devel@redhat.com \
    /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.