linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: 3 questions...
@ 2002-09-29 22:57 Shaw, Marco
  2002-09-29 23:19 ` Michael Tokarev
  0 siblings, 1 reply; 7+ messages in thread
From: Shaw, Marco @ 2002-09-29 22:57 UTC (permalink / raw)
  To: 'linux-raid@vger.kernel.org'


> > tell kernel which devices to use for your root filesystem (if your 
> > root is on raid device), by using something like
> >   append="md=2,/dev/hda1,/dev/hdb1"
> 
> I have some partitions with the fd type in raid arrays but 
> would like to switch to the manual method you just described. 
> These partitions hold data I care about. Is it safe to change 
> the partition type:
>    - while the array is not active?
>    - while the array is active?

I would recommend to umount the array and stop it if you can.  The fd or default 83 (IIRC), is just a label on the disk, and won't destroy data.  I've more experience with labels on Solaris, and have done those "on-the-fly" with no affects though.

Remember (with RedHat Advanced Server anyway), you'd have to actually disable autodetection.  I'm still working on how it works because I'm still unclear whether this is a kernel feature, or just a result of init scripts.  An older RedHat reference:
http://www.redhat.com/support/resources/tips/raid/RAID-4.html

Marco

^ permalink raw reply	[flat|nested] 7+ messages in thread
* 3 questions...
@ 2002-09-27 23:51 Shaw, Marco
  2002-09-29 21:57 ` Michael Tokarev
  0 siblings, 1 reply; 7+ messages in thread
From: Shaw, Marco @ 2002-09-27 23:51 UTC (permalink / raw)
  To: 'linux-raid@vger.kernel.org'

1. When using fdisk, is it really required (or a "good idea") to create the partitions as type "fd"?  I've typically just created a regular Linux partition, and would let mkraid to it's thing.  (As a result, it seems strange that I ran into #2 below since I didn't do this step of changing the type.)

2. I can't seem to find a document describing how software RAID really works technically.  (Yes, I could read the source, but I'm not the most proficient C person, nor do I want to work all weekend looking at the source either.)  I had a problem the other day, where I had a md0 device that the system was not able to mount (logical disks mounted from a SAN).  Because the system could not mount the disks, it would fail to boot at the section where the system would attempt to auto-detect md0 and would drop me to single-user mode type prompt.

Taking the directory out of fstab, and tried to find something in /etc/rc.d/init.d that was trying to do stuff with the md devices at boot but couldn't find anything.  Ended up being a problem with an old modular driver, and had to create a new initrd with an updated driver, but I was stuck for a second (well more than a second really).

3. Is "persistent-superblock" supported with Linear and RAID0?  I think chunk-size is only supported in RAID0 and higher, but Linear will just skip the configuration with an informational warning at boot.

Marco

PS Basing some of my assumptions/statements above from the Software-RAID HOWTO v. 0.90.7.

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

end of thread, other threads:[~2002-09-30 19:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-29 22:57 3 questions Shaw, Marco
2002-09-29 23:19 ` Michael Tokarev
  -- strict thread matches above, loose matches on Subject: below --
2002-09-27 23:51 Shaw, Marco
2002-09-29 21:57 ` Michael Tokarev
2002-09-29 22:23   ` Florent Rougon
2002-09-29 23:15     ` Michael Tokarev
2002-09-30 19:09       ` Florent Rougon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).