[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: system/687: File system panic, chown
- To: bugs_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: Re: system/687: File system panic, chown
- From: Marshall Midden <m4_(_at_)_nts_(_dot_)_umn_(_dot_)_edu>
- Date: Thu, 7 Jan 1999 07:50:03 -0700 (MST)
- Reply-to: Marshall Midden <m4_(_at_)_nts_(_dot_)_umn_(_dot_)_edu>
The following reply was made to PR system/687; it has been noted by GNATS.
From: Marshall Midden <m4_(_at_)_nts_(_dot_)_umn_(_dot_)_edu>
To: Todd_(_dot_)_Miller_(_at_)_courtesan_(_dot_)_com, m4_(_at_)_umn_(_dot_)_edu
Cc: gnats_(_at_)_openbsd_(_dot_)_org
Subject: Re: system/687: File system panic, chown
Date: Thu, 7 Jan 1999 08:46:12 -0600 (CST)
I am noting that the ccd1 will not keep fstype, fsize, bsize, and cpg when
I set them to "4.2BSD 1024 8192 16". Interesting, but since newfs
works, I am going to ignore this probably unimportant tidbit.
OK, stupid question back to you. What do you mean partition sizes are
multiples of the ccd interleave? I believe the answer is yes, with double
the number of twos in factoring.
> From Todd_(_dot_)_Miller_(_at_)_courtesan_(_dot_)_com Wed Jan 6 18:07:57 1999
> To: m4_(_at_)_umn_(_dot_)_edu
> cc: gnats_(_at_)_openbsd_(_dot_)_org
> Subject: Re: system/687: File system panic, chown
> Date: Wed, 06 Jan 1999 17:07:52 -0700
> From: "Todd C. Miller" <Todd_(_dot_)_Miller_(_at_)_courtesan_(_dot_)_com>
>
> Stupid question (I have to ask since I've messed this up myself
> before), but are the partitions sizes you are using in the ccd exact
> multiples of the ccd interleave as specified in /etc/ccd.conf?
------------------------------------------------------------------------------
ccdconfig -g
ccd1 16 8 /dev/sd7g /dev/sd9g /dev/sd12g /dev/sd14g
------------------------------------------------------------------------------
/etc/ccd.conf looks like:
ccd1 16 none /dev/sd7g /dev/sd9g /dev/sd12g /dev/sd14g
------------------------------------------------------------------------------
The four disks look like this (verified the same via diff):
# /dev/rsd7c:
flags:
bytes/sector: 512 sectors/track: 575 tracks/cylinder: 32
sectors/cylinder: 18400 cylinders: 483 total sectors: 8887200
rpm: 10000 interleave: 1 16 partitions:
# size offset fstype [fsize bsize cpg]
c: 8887200 0 unused 0 0 # (Cyl. 0 - 482)
g: 8868800 18400 4.2BSD 1024 8192 16 # (Cyl. 1 - 482)
------------------------------------------------------------------------------
And the ccd1 disklabel:
# /dev/rccd1c:
type: ccd disk: ccd label: default label flags:
bytes/sector: 512 sectors/track: 575 tracks/cylinder: 32
sectors/cylinder: 18400 cylinders: 1928 total sectors: 35475200
rpm: 10000 interleave: 1 16 partitions:
# size offset fstype [fsize bsize cpg]
c: 35475200 0 unused 0 0 # (Cyl. 0 - 1927)
------------------------------------------------------------------------------
ccd1: /usr/games/factor 35475200
35475200: 2 2 2 2 2 2 2 2 5 5 23 241
sd7: /usr/games/factor 8868800
8868800: 2 2 2 2 2 2 5 5 23 241
interleave: /usr/games/factor 16
16: 2 2 2 2
------------------------------------------------------------------------------
I am going to re-run the test with just 2 disks in the ccd. (make the test
as simple as possible...)
Visit your host, monkey.org