Re: [suse-sparc] RAID troubles

From: Brian Hazlehurst (brian@dcog.net)
Date: Sat Mar 02 2002 - 14:58:24 PST

  • Next message: nod: "Re: [suse-sparc] RAID troubles"

    Date: Sat, 2 Mar 2002 14:58:24 -0800 (PST)
    From: Brian Hazlehurst <brian@dcog.net>
    Message-ID: <Pine.LNX.4.30.0203021447490.6982-100000@kroeber.dcog.net>
    Subject: Re: [suse-sparc] RAID troubles
    

    > could you include your raidtab and I'll compare it with mine. Also you are
    > setting the partition type correctly using fdisk ?

    I believe the partitions are being set right. The first partition (Linux
    native) is being used on each disk. The only other partition is a third
    partition (whole disk) which is required by Sun (as I understand it).

    If I don't create the RAID (with mkraid), then the disks each maintain
    their partition tables on reboot. If I do make the RAID, then everything
    appears fine, but on reboot the partitions are hosed.

    Here is the raidtab file:

    raiddev /dev/md0
            raid-level 5
            nr-raid-disks 7
            nr-spare-disks 1
            persistent-superblock 1
            parity-algorithm left-symmetric
            chunk-size 32
            device /dev/sde1
                    raid-disk 0
            device /dev/sdf1
                    raid-disk 1
            device /dev/sdg1
                    raid-disk 2
            device /dev/sdh1
                    raid-disk 3
            device /dev/sdi1
                    raid-disk 4
            device /dev/sdj1
                    raid-disk 5
            device /dev/sdk1
                    raid-disk 6
            device /dev/sdl1
                    spare-disk 0

    On Sat, 2 Mar 2002, nod wrote:

    >
    > could you include your raidtab and I'll compare it with mine. Also you are
    > setting the partition type correctly using fdisk ?
    >
    > On Saturday 02 Mar 2002 2:07 am, Brian Hazlehurst wrote:
    > > Hi list,
    > >
    > > I make the raid device (mkraid, with a raidtab that specifies raid 5
    > > for 8 distinct drives, including one "spare").
    > >
    > > I create a file system (I've tried ext2 and reiser file systems).
    > >
    > > I reboot (sometimes, I've mounted the block device and successfully
    > > written to it first).
    > >
    > > Each time, on the reboot, the partition tables on most of the disks get
    > > "lost" (usually, the first and last disk seem to retain their partition
    > > tables), and the device is unusable.
    > >
    > > I'm not sure what's going on. Any suggestions? I'm running 7.3 and the
    > > raid is an array on a single scsi controller.
    > >
    > > -Brian
    > >
    > > brian@dcog.net
    >
    > --
    > To unsubscribe, e-mail: suse-sparc-unsubscribe@suse.com
    > For additional commands, e-mail: suse-sparc-help@suse.com
    >

    -- 
    To unsubscribe, e-mail: suse-sparc-unsubscribe@suse.com
    For additional commands, e-mail: suse-sparc-help@suse.com
    



    This archive was generated by hypermail 2.1.0 : Sat Mar 02 2002 - 15:49:24 PST