[LUNI] oh oh, my raid it having problems
Mike Scott
luni at pyewacket.org
Sun Aug 5 20:37:59 CDT 2007
Make sure the jumpers on the new drive are set correctly.
Some controllers require the drive be configured as a master or slave
while others use the Cable Select (CS) jumper.
- Mike Scott
> -------- Original Message --------
> Subject: Re: [LUNI] oh oh, my raid it having problems
> From: "Jay Strauss" <me at heyjay.com>
> Date: Sun, August 05, 2007 5:28 pm
> To: "Linux Users Of Northern Illinois - Technical Discussion"
> <luni at luni.org>
>
> (top posting for your enjoyment :)
>
> I now believe it is not my disk, but instead my IDE controller. I
> plugged a new drive in and the machine still does not see /dev/hdb, as
> in:
>
> login as: root
> Using keyboard-interactive authentication.
> Password:
> iron:~# fdisk /dev/hdb
>
> Unable to open /dev/hdb
> iron:~#
>
> Unless I'm wrong, which is a greater possibility than my being right,
> I guess I'll have to buy a new machine.
>
> thanks
> Jay
>
> On 8/2/07, Craig Van Tassle <craig at codestorm.org> wrote:
> > Ugg bottom posters..
> >
> > No it looks like hda is the drive that is working.
> >
> > > md0 : active raid1 hda1[0]
> > Notice it does not say anything about hdb.
> > > 1951744 blocks [2/1] [U_]
> > Also notice it says 2/1 That means 2 drives configured and one drive failed. the U_ means that the first drive of the
> > array is good (Up), and the second one failed.
> >
> > As for copying the partision table once you get the new drive installed dd if=/dev/hda of=/dev/hdb bs=512 count=1024.
> >
> > That will copy your MBR and your partision table. If you dont have hot-swap drives you have to power down the box.
> > To read the partision table use fdisk. Man fdisk will help out there.
> >
> > Remember IDE is NOT hot-swap! If you don't know if you have hotswap drives then you don't.
> >
> > To check for RMA you need to look at the drive. Go to the makers website and look up warranty status.
> > RMA == Return Material Authorization.
> >
> > The SMART checks and badblocks can be done on the current system.
> >
> > Man smartctl and man badblocks. That will give ya all the info you need.
> >
> >
> > Jay Strauss wrote:
> > >
> > > Hi Craig, thanks for advice. Here is the output:
> > >
> > > iron:~# cat /proc/mdstat
> > > Personalities : [raid1]
> > > md0 : active raid1 hda1[0]
> > > 1951744 blocks [2/1] [U_]
> > >
> > > md1 : active raid1 hda2[0]
> > > 115266304 blocks [2/1] [U_]
> > >
> > > unused devices: <none>
> > >
> > > I'm guessing it's hda1 that is the problem. I don't know how to print
> > > the partition table. I have 2 disks which I broke into 2 partitions.
> > > On top of those I built two raid 1 devices. On one of the devices
> > > (the big one) I built an LVM.
> > >
> > > So how do I print the partition table?
> > >
> > > Do I power down the box, remove the drive, replace with new, power
> > > back on and try to sync OR do I do it all while the box is running?
> > >
> > > What is RMA how do I check it? Do I stick the failed drive in a
> > > different computer?
> > >
> > > Thanks
> > > Jay
> > --
> > Linux Users Of Northern Illinois - Technical Discussion
> > http://luni.org/mailman/listinfo/luni
> >
> --
> Linux Users Of Northern Illinois - Technical Discussion
> http://luni.org/mailman/listinfo/luni
More information about the luni
mailing list