* disk corruption with 2.2.x on XP1000
@ 1999-09-13 14:10 Zach Metzinger
1999-09-13 14:44 ` Michal Jaegermann
0 siblings, 1 reply; 5+ messages in thread
From: Zach Metzinger @ 1999-09-13 14:10 UTC (permalink / raw)
To: axp-list
Hi.
I'm having some strange problems on two new XP1000's. My disks are laid
out thusly:
3 partitions:
# size offset fstype [fsize bsize cpg]
a: 2104515 16065 ext2 # (Cyl. 2 - 132)
b: 1076355 2120580 swap # (Cyl. 133 - 199)
c: 5188995 3196935 ext2 # (Cyl. 200 - 522)
When I mount, newfs, and then write to the third slice, the machine seems
to corrupt the disk after a time (seems to be some sort of wrap-around?).
I'm experimenting with smaller partition sizes, but I've never had a problem
with < 4GB slices before. Any ideas?
Zach Metzinger
UNIX System Administrator
KSU Physics Dept.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: disk corruption with 2.2.x on XP1000
1999-09-13 14:10 disk corruption with 2.2.x on XP1000 Zach Metzinger
@ 1999-09-13 14:44 ` Michal Jaegermann
1999-09-13 14:50 ` Zach Metzinger
1999-09-13 14:57 ` Michal Jaegermann
0 siblings, 2 replies; 5+ messages in thread
From: Michal Jaegermann @ 1999-09-13 14:44 UTC (permalink / raw)
To: axp-list
>
> I'm having some strange problems on two new XP1000's. My disks are laid
> out thusly:
>
> 3 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 2104515 16065 ext2 # (Cyl. 2 - 132)
> b: 1076355 2120580 swap # (Cyl. 133 - 199)
> c: 5188995 3196935 ext2 # (Cyl. 200 - 522)
^^^^^
Is this a total number of cylinders on
on your disk? Don't skip on info when
asking questions.
>
> When I mount, newfs, and then write to the third slice, the machine seems
> to corrupt the disk after a time (seems to be some sort of wrap-around?).
>
> I'm experimenting with smaller partition sizes, but I've never had a problem
> with < 4GB slices before. Any ideas?
>
> Zach Metzinger
> UNIX System Administrator
> KSU Physics Dept.
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: disk corruption with 2.2.x on XP1000
1999-09-13 14:44 ` Michal Jaegermann
@ 1999-09-13 14:50 ` Zach Metzinger
1999-09-13 14:57 ` Michal Jaegermann
1 sibling, 0 replies; 5+ messages in thread
From: Zach Metzinger @ 1999-09-13 14:50 UTC (permalink / raw)
To: axp-list
On Mon, Sep 13, 1999 at 08:44:48AM -0600, Michal Jaegermann wrote:
> > c: 5188995 3196935 ext2 # (Cyl. 200 - 522)
> ^^^^^
> Is this a total number of cylinders on
> on your disk? Don't skip on info when
> asking questions.
Yes.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8380080 [4091 MB] [4.1 GB]
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 521
This leads me to think that 522 is the wrong number to be putting in
there. This might be my problem, and a bug in fdisk's handling of BSD
partitions.
--- Zach
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: disk corruption with 2.2.x on XP1000
1999-09-13 14:44 ` Michal Jaegermann
1999-09-13 14:50 ` Zach Metzinger
@ 1999-09-13 14:57 ` Michal Jaegermann
1999-09-13 15:43 ` Maurice Hilarius
1 sibling, 1 reply; 5+ messages in thread
From: Michal Jaegermann @ 1999-09-13 14:57 UTC (permalink / raw)
To: axp-list
Michal Jaegermann wrote:
>
> >
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
Oops, sorry. This was a slip of a finger while in an editing process.
Can we see the whole disk geometry (not only partition data) displayed
in sectors?
Wrap-around problem with BSD partitioned disks was mentioned before
so it looks like that there is a bug lurking somewhere; probably
"off by one". A temporary cure is not to allocate the last cylinder.
I do not know if moving down the last partition boundary by a few
sectors will help or not. Anyone?
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: disk corruption with 2.2.x on XP1000
1999-09-13 14:57 ` Michal Jaegermann
@ 1999-09-13 15:43 ` Maurice Hilarius
0 siblings, 0 replies; 5+ messages in thread
From: Maurice Hilarius @ 1999-09-13 15:43 UTC (permalink / raw)
To: axp-list
With regards to your message at 08:57 AM 9/13/99 -0600, Michal Jaegermann.
Where you stated:
>Michal Jaegermann wrote:
> >
> > >
> > > --
> > > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>Oops, sorry. This was a slip of a finger while in an editing process.
>
>Can we see the whole disk geometry (not only partition data) displayed
>in sectors?
>
>Wrap-around problem with BSD partitioned disks was mentioned before
>so it looks like that there is a bug lurking somewhere; probably
>"off by one". A temporary cure is not to allocate the last cylinder.
>I do not know if moving down the last partition boundary by a few
>sectors will help or not. Anyone?
>
> Michal
I too have seen this. fdisk in bsd mode seems to allocate one too many
cylinders on the last partition. This is, of course, a bad thing. The cure
is to pay attention when allocating partitions, and making sure the last
one is indeed not one greater than the whole.
Best regards,
Maurice W. Hilarius Telephone: 01-780-456-9771
Hard Data Ltd. FAX: 01-780-456-9772
11060 - 166 Avenue email:maurice@harddata.com
Edmonton, AB, Canada http://www.harddata.com/
T5X 1Y3
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-09-13 15:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-13 14:10 disk corruption with 2.2.x on XP1000 Zach Metzinger
1999-09-13 14:44 ` Michal Jaegermann
1999-09-13 14:50 ` Zach Metzinger
1999-09-13 14:57 ` Michal Jaegermann
1999-09-13 15:43 ` Maurice Hilarius
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox