RAID1 size issue with PDC20265
Heinz Mauelshagen
mauelshagen at redhat.com
Wed Mar 16 14:27:46 UTC 2005
On Tue, Mar 15, 2005 at 03:59:48PM -0800, paul moore wrote:
>
> Hi Heinz,
>
> Hmm, looks like I was right. His extended partition runs past the end of
> the drive. This is caught by RC6 and is causing his logical partitions
> to not show up. From what I can see, it looks like his partitions will
> come back when the half drive size problem is fixed.
> On a side note, what do you think of an error message for the partition
> overrun error. Do you want me to throw something together or do you think
> it is worth it?
Well, based on the pdc size fix, t makes sense to through an error
if it ever happens again.
Cook up a patch if you like too :)
Heinz
>
>
> Defeating the Tower of Babble one bit at a time B~)
> Paul
>
> --- Alex Ryabtsev <alxsey at hotmail.com> wrote:
>
> > Hi Heinz,
> >
> > On Mon, 2005-03-14 at 15:01 +0100, Heinz Mauelshagen wrote:
> >
> > > can you send your partiton table output
> > > (ie, fdisk -l /dev/mapper/pdc_bahdfcgbc)
> >
> > here it is (for rc6):
> > ==========================================================================
> > Disk /dev/mapper/pdc_bahdfcgbc: 100.0 GB, 100024778752 bytes
> > 255 heads, 63 sectors/track, 12160 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> > Device Boot Start End Blocks Id
> > System
> > /dev/mapper/pdc_bahdfcgbc1 * 1 523 4200966 b
> > W95 FAT32
> > /dev/mapper/pdc_bahdfcgbc2 524 530 56227+ 83
> > Linux
> > /dev/mapper/pdc_bahdfcgbc3 531 2025 12008587+ b
> > W95 FAT32
> > /dev/mapper/pdc_bahdfcgbc4 2026 24321 179092620 5
> > Extended
> > /dev/mapper/pdc_bahdfcgbc5 2026 2524 4008186 83
> > Linux
> > /dev/mapper/pdc_bahdfcgbc6 2525 12008 76180198+ 83
> > Linux
> > ==========================================================================
> > although here is the /dev/mapper listing:
> > ==========================================================================
> > total 0
> > crw-rw---- 1 root root 10, 63 Mar 15 05:20 control
> > brw-r----- 1 root root 254, 0 Mar 15 05:20 pdc_bahdfcgbc
> > brw-r----- 1 root root 254, 1 Mar 15 05:20 pdc_bahdfcgbc1
> > brw-r----- 1 root root 254, 2 Mar 15 05:20 pdc_bahdfcgbc2
> > brw-r----- 1 root root 254, 3 Mar 15 05:20 pdc_bahdfcgbc3
> > ==========================================================================
> > once again, output of dmraid -rD (rc6, dumps are attached):
> > ==========================================================================
> > /dev/hde: pdc, "pdc_bahdfcgbc", mirror, ok, 195360896 sectors, data@ 0
> > /dev/hdg: pdc, "pdc_bahdfcgbc", mirror, ok, 195360896 sectors, data@ 0
> > ==========================================================================
> >
> > > and your metadata in a tarball (ie, "dmraid -rD;
> > > tar jcvf pdc-raid1-Alex_Ryabtsevin.tar.bz2 *dat *size *offset") ?
> > > Use 1.0.0.rc6 to run "dmraid -rD" so that we get the *size files as well
> > > (rc5f didn't support creating those).
> >
> > And as a reference, here is fdisk and /dev/mapper listing from rc5:
> > ==========================================================================
> > Disk /dev/mapper/pdc_fiaaeaab: 100.0 GB, 100024778752 bytes
> > 255 heads, 63 sectors/track, 12160 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> > Device Boot Start End Blocks Id
> > System
> > /dev/mapper/pdc_fiaaeaab1 * 1 523 4200966 b
> > W95 FAT32
> > /dev/mapper/pdc_fiaaeaab2 524 530 56227+ 83
> > Linux
> > /dev/mapper/pdc_fiaaeaab3 531 2025 12008587+ b
> > W95 FAT32
> > /dev/mapper/pdc_fiaaeaab4 2026 24321 179092620 5
> > Extended
> > /dev/mapper/pdc_fiaaeaab5 2026 2524 4008186 83
> > Linux
> > /dev/mapper/pdc_fiaaeaab6 2525 12008 76180198+ 83
> > Linux
> > ==========================================================================
> > total 0
> > crw-rw---- 1 root root 10, 62 Mar 15 01:40 control
> > brw-r----- 1 root root 253, 0 Jan 5 20:53 pdc_fiaaeaab
> > brw-r----- 1 root root 253, 1 Jan 5 20:53 pdc_fiaaeaab1
> > brw-r----- 1 root root 253, 2 Jan 5 20:53 pdc_fiaaeaab2
> > brw-r----- 1 root root 253, 3 Jan 5 20:53 pdc_fiaaeaab3
> > brw-r----- 1 root root 253, 4 Jan 5 20:53 pdc_fiaaeaab5
> > brw-r----- 1 root root 253, 5 Jan 5 20:53 pdc_fiaaeaab6
> > ==========================================================================
> >
> >
> > > Patch vs. rc6 to adress the size issue:
> >
> > I did not tried this patch yet, since, as I mentioned - I am having name
> > changes issue, so have to proceed here carefully, sorry for hold up
> > here.
> >
> > Thank you for your efforts.
> >
> > Regards,
> > Alex
> > > _______________________________________________
> > Ataraid-list mailing list
> > Ataraid-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/ataraid-list
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
>
> _______________________________________________
> Ataraid-list mailing list
> Ataraid-list at redhat.com
> https://www.redhat.com/mailman/listinfo/ataraid-list
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen at RedHat.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the Ataraid-list
mailing list