sm-grimoire AT lists.ibiblio.org
Subject: Discussion of Spells and Grimoire items
List archive
- From: Hamish Greig <hgreig AT bigpond.net.au>
- To: sm-grimoire AT lists.ibiblio.org
- Subject: Re: [SM-Grimoire] Mounting RAID
- Date: Wed, 21 Jan 2004 12:58:01 +1100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 21 Jan 2004 11:33, Eric Sandall wrote:
> I'm working on getting RAID to be mountable (as it used to be) in the
> mountall.sh script (someone removed it). I've added the following to the
> script:
>
I just made a IDE software raid array [1] to see what the installer needs to
properly support it. ANd I found if the partition type is fd (raid auto
detect) and you have made the array with persistent-superblocks then
raidstart isn't needed. The kernel initialises the array itself using the
superblock data.
This has only been tested on a linear array.
But If I understand the man pages it *should* work the same for raid 0 1 4/5.
The kernel also stops the array last thing before shutdown or reboot.
I am not sure how I would test this stuff for you Eric but if you think I
can,
just tell me how.
Hamish
[1]
For anyone interested, I simply used two small disks, partitioned them with a
seperate /boot and swap partition on one disk, marked the partitions for the
array as raid auto detect, then shelled out of the installer, modprobed md
module, wrote a config-file in /tmp (writable on the cd) and ran
mkraid --configfile /tmp/raidtab /dev/md/0
then mkdir /dev/discs/disc3
ln -s /dev/md/0 /dev/discs/disc3/part1
then reentered installer, mounted partitions, transfered sourcemage(and did
time and arch stuff), built a kernel (with raid static not as module),
configured lilo to use
boot=/dev/discs/disc0/disc
root=/dev/md/0
configured network
then shelled out and edited /mnt/root/etc/fstab so the / device was /dev/md/0
then rebooted
> ...
> required_executable /sbin/fsck
>
>
> + if [ -f /etc/raidtab ]; then
> + required_executable /sbin/raidstart
> + /sbin/raidstart --all --configfile /etc/raidtab
> + evaluate_retval
> + fi
> +
>
> if [ "$DEVICES" != "/dev" ] ; then
> ...
>
> However, I see in stop() that mountall.sh does nothing, only saying that
> simpleinit does the rest...does simpleinit stop the RAID devices as well?
> What about LVM once I get working on that (next, after RAID)?
>
> ...
> # Simpleinit handles umounting and stuff.
> stop()
> {
> exit 0
> }
> ...
>
> Anyone else with RAID care to help test/work on this? Any LVM/EVMS users?
>
> -sandalle
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFADdys8fSufZR6424RAmcjAJ4mm4SB04S3FvKLrqLZjxxh0GOQRgCeIbUq
+1DyMAU3hOveNpvS8BGILHQ=
=AG90
-----END PGP SIGNATURE-----
-
[SM-Grimoire] Mounting RAID,
Eric Sandall, 01/20/2004
- Re: [SM-Grimoire] Mounting RAID, Hamish Greig, 01/20/2004
Archive powered by MHonArc 2.6.24.