Index: [Article Count Order] [Thread]

Date:  Mon, 11 Dec 2006 18:19:39 -0600
From:  "William J.A. Brillinger" <billy (at mark) pdcweb.net>
Subject:  [coba-e:08155] Re: bad partitions?
To:  coba-e (at mark) bluequartz.org
Message-Id:  <6.2.5.6.0.20061211181316.020863d8 (at mark) pdcweb.net>
In-Reply-To:  <0a2a01c71d65$6dbbe000$0301a8c0@Jerrycp>
References:  <6.2.5.6.0.20061211131951.01ff1db8 (at mark) pdcweb.net> <0a2a01c71d65$6dbbe000$0301a8c0 (at mark) Jerrycp>
X-Mail-Count: 08155

At 02:45 PM 12/11/2006, you wrote:
> > My dev BQ box has had RAID problems for a long time now. It will not
> > rebuild the array and if I plug the main (still working) drive into a
> > windows box and look at the partitions with partition magic,
> > I only get errors.
> >
> > this is the partition table from by good BQ box:
> >
> > Disk /dev/sda: 120.0 GB, 120034123776 bytes
> > 255 heads, 63 sectors/track, 14593 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> >     Device Boot      Start         End      Blocks   Id  System
> > /dev/sda1   *           1          13      104391   fd  Linux
> > raid autodetect
> > /dev/sda2              14         796     6289447+  fd  Linux
> > raid autodetect
> > /dev/sda3             797         927     1052257+  fd  Linux
> > raid autodetect
> > /dev/sda4             928       14593   109772145    5  Extended
> > /dev/sda5             928       14593   109772113+  fd  Linux
> > raid autodetect
> >
> >
> > This is what is on the BAD Box:
> >
> > Disk /dev/sda: 160.0 GB, 160041885696 bytes
> > 255 heads, 63 sectors/track, 19457 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> >     Device Boot      Start         End      Blocks   Id  System
> > /dev/sda1   *           1          13      104391   fd  Linux
> > raid autodetect
> > /dev/sda2              14         796     6289447+  fd  Linux
> > raid autodetect
> > /dev/sda3             797        1057     2096482+  fd  Linux
> > raid autodetect
> > /dev/sda4            1058       19457   147798000    5  Extended
> > /dev/sda5            1058        1188     1052226   fd  Linux
> > raid autodetect
> > /dev/sda6            1189        1319     1052226   fd  Linux
> > raid autodetect
> > /dev/sda7            1320       19457   145693453+  fd  Linux
> > raid autodetect
> >
> >
> > Any suggestions as to how to fix this without reformatting the drives
> > and starting over?
>
>You said you had RAID running on the box.
>I would remove the bad drive.
>Delete all the partitions
>Maybe run the MFG diagnostics on it.
>Reinstall it and see if RAID won't mirror it.
>
>Gerald

The drive that is operating has some sort of errors in the partition 
table. I cannot make a duplicate of the drive as a backup.

I have placed a new clean drive in the sdb position - the rebuild 
script will not rebuild.

It ends up this way:
md2 : active raid1 sda2[0]
       6289344 blocks [2/1] [U_]

md4 : active raid1 sda3[0]
       2096384 blocks [2/1] [U_]

md5 : active raid1 sdb5[1] sda5[0]
       1052160 blocks [2/2] [UU]

md3 : active raid1 sdb3[1] sda6[0]
       1052160 blocks [2/2] [UU]

md1 : active raid1 sda7[0]
       145693376 blocks [2/1] [U_]

md0 : active raid1 sdb7[1] sda1[0]
       104320 blocks [2/2] [UU]


I do not have physical access to the machine right now.

the partition table shows 7 partitions, but as I understand it, there 
should only be 5, including the extended partition.

I was hoping I could remove the 2 "phantom" partitions and get it 
running again - or somehow copy the "correct" partitions to the 2nd 
drive and mirror sda from that.

- Bill



---------------------------------
William J.A. Brillinger
Precision Design Co.

E-Mail:   mailto:billy (at mark) pdcweb.net
Web site: http://www.pdcweb.net
Phone:    (204) 327-5524

	

8155_2.html (attatchment)(tag is disabled)