Re: Software RAID using Sarge Installer
hi ya
On Mon, 23 Aug 2004, John Fleming wrote:
fun stuff
> Would someone help me, preferably off-list if the question's too simple,
"off-list" would be too selfish as others can also benefit ??
if you check the debian archives ... this problem has been answered
google-plex different times and in different ways
the problem with this stuff is fixing 1 problem will lead you to the next
5 new problems ... and on and on ...
- you will probably need 3-5 passes to get it all properly worked out
and what to type at each prompt at different setups
> know exactly what choices to make using the new Sarge installer and RAID 1
> for mirroring? During the partitioning, there is a chance to set up RAID 1,
sarge installer makes raid too too complicated by adding lvm too early..
it'd be better if it and aall the other boot-installers would say:
- "FD" is the partition type needed for each of the partitions
- "FD" is the partition type needed for
- do NOT pass go until you have figured out "FD" vs "83" vs "82"
for partition type
------
after that, you need an installer that understands raid ...
you need to build the (sw) raid array
assembling /dev/hda1 + /dev/hdd1 into /dev/md0 for swap
assembling /dev/hda2 + /dev/hdd2 into /dev/md1 ( for / )
- do NOT pass go until you have figured out /dev/md0 and /dev/md1
( swap is optional ... you can always figure out 10 different
( solutions later ...and besides it'd be 10x easier to buid the
( raid the 2nd time around
after that you will need to know about lilo/grub and ramdisks ( initrd )
- another big ball or google-plex of simple but fun problems
-----
- if you are using hardware raid, you can skip both partition and
assembline steps
> but I don't fully understand exactly what partitions are required.
see above ...
"FD" is raid
"82" is what kind of partition type ?
"83" is what kind of partition type ?
- how do you change it ???
- w/ fdisk -> "number" -> "type" -> "FD"
and make sure "FD" is bootable for your / filesystem
> I just
> want a simple scheme with a root partition and a swap partition, plus
> whatever else is necessary for RAID 1.
"nothing(partition-wise) is necessary for raid1"
other than the app for raid1 ( mdadm, raidtools, etc )
"everything (partition-wise) is necessary for linux or debian or
foo-distro
> I have 2 identical HDDs.
good ... makes mirroring 100x simpler and less troublesome
> I know you need at least one (2?) partitions setup
> specificlaly for RAID.
no ..
you need one "FD" partition on each disk ... nothing more
you can run a system without swap for n-teen-years, until your
app decides to eat up all the system memory but you can fake
that around too by using a slow swap file instead of swap partition
- more homework ... what is the difference between the two
> I could use some newbie help with this,
others too
> and comments like RTFM or RTFA won't help.
that's probably true about RTFM ... you forgot to add "googling is NOT the
answer either" if you don't knwo what you're reading the first time
> I'm begging for some hand-holding here!
cool ... thats what the list is for
> It
> seems that you need to setup / and swap, and -then- RAID partition(s)...? I
> can't seem to get it right.
you're confused about "partition types" for / and swap
vs something unrelated as "raid partitions"
there is NO such thing as "raid partition"
there is something called partition type ...
- 82 for linux partitions
- 83 for swap partitions
- fd for raid partitions
- b for vfat ( win95 fat32 )
... 256 of um .. different partition types
---------
then there are the "dividing up the disk" into itty-bitty pieces
first 1-10 cylinders is partition-1
next 11-1000 cylinders is partition-2
next 1001 - 100,000 cylinders is partition-3
....
> I've Googled and looked through archives,
too much data ...
and to add to that tons of data
http://1u-raid5.net/HowTo
> but everything I find is too
> general, or too specific for another system etc.
basic raid1 understanding will work for ANY system .....
------------------------------------------------------
- its the same commands ...
- its the same partition problems ...
- its the same install and boot problems ..
-- and when you're braver ... work on LVM ...
than play with LVM with raid ...
-- keep it simple ... do the simple stuff first ...
- get it to boot
- add 1 level of complexity ... get it to boot
- add another level os what-the-$##@#$% and get it to boot
-- when raid1 is setup properly ..
- you should be able to boot ( hands off the system ) with
just one disk
- redo the boot teset with the other disk disconnected
- if it does NOT boot, you did NOT configure raid1 properly
===========================================================
c ya
alvin
Reply to: