[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RAID 1 (Again)



On Tue, 04 Jan 2005 09:22:56 +0800, Stephen R. Darragh <srd@it.net.au> wrote:
> Are you rebooting after creating the partition table on hdd?  If not,
> try that.  Besides that, what partitioning program are you using?

Yes. I made those partitions during the instalation and reboot many
times before I configured RAID. I'm using fdisk
 
> Beware the 0th cylinder.  For compatibility with some boot loaders (not
> sure about Openboot), your first partition should start in the second
> track of the disk (e.g. the 64th sector, number 63 counting from zero,
> if the disk has 63 sectors per track).  fdisk and cfdisk will get this
> right by themselves because they assume DOS compatibility, but sfdisk
> will instead default to using the second sector of the disk (because
> LILO, etc. are happy with this).


My first partition starts at the 0th cylinder and 0th sector.


 
> On Mon, 2005-01-03 at 13:19 -0200, Eduardo Gonçalves wrote:
> > Hi people,
> >
> > I'm still trying to set up a system with a mirrored root partition
> > (including /boot). My set up is like that:
> >
> > hda, a  20GB disk
> > hda1 -> 19GB, to use as raid-disk 0
> > hda2 -> a temp and misc partition
> > hda4 -> swap
> >
> > hdd, a 40GB disk
> > hdd1 -> 19GB, as raid-disk 1
> > hdd2 -> 21GB to mount /var and /home (maybe I use lvm here, but that's
> > not the problem)
> >
> > The problem I have is when I issue a mkraid. The mirror works fine,
> > but I lost the partition table of  hdd and it becames identical hda's
> > table
> >
> > I've heard something about to start the first partition at cylinder 1,
> > not 0, but when a try this, openboot can't boot the system anymore. It
> > can't find the image.
> >
> > My raidtab is like that:
> > raiddev /dev/md0
> >         raid-level      1
> >         nr-raid-disks   2
> >         nr-spare-disks  0
> >         persistent-superblock 1
> >         device          /dev/hda1
> >         raid-disk       0
> >         device          /dev/hdd1
> >         raid-disk       1
> >
> > Could anyone help?
> >
> > thanks in advance
> > --
> > Eduardo Gonçvalves
> > 
> --
> Stephen Darragh
> Technical Director
> Informed Technology
> Ph: +61 8 9380 4244  Fax: +61 8 9380 4354
> 
>



Reply to: