Subject: Wierd LFS problem.
To: None <netbsd-help@netbsd.org>
From: Alan Horn <ahorn@inktomi.com>
List: netbsd-help
Date: 06/21/2002 02:42:40
A few weeks ago I converted a couple of my larger filesystems to LFS to
cut down on fsck time (slow laptop disk).
One went ok (or seemed to), the other looks odd. I've also experienced
problems with hard system hangs during a find (first noticed when
/etc/daily kicked in)
An fsck of /usr seems to have fixed the hanging issue, but even the fsck
didn't look entirely right.. ended up needing to check the root filesystem
as well for some odd reason.
My immediate thought was that I've overlapped partitions somehow and
screwed up that way, I never do quite get the math right on that part :)
I wondered if someone could sanity check my partitions and make sure
they're ok, and also if anyone else has seen similar LFS behaviour.
The partition scheme is 'evolved' since this system started out with a
windows OS on the first half of the disk... :)
Thanks in advance for any help.
lethe# df -lk
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/wd0a 991908 715465 226847 75% /
/dev/wd0g 8933710 7429433 610906 92% /usr
/dev/wd0e 7691144 7263302 -341272 104% /home
lethe# mount
/dev/wd0a on / type ffs (local)
/dev/wd0g on /usr type lfs (local)
/dev/wd0e on /home type lfs (local)
lethe# disklabel wd0
# /dev/rwd0d:
type: unknown
disk: mydisk
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 39070080
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 2051437 19535103 4.2BSD 1024 8192 16 # (Cyl. 19380*- 21415*)
b: 1050336 21586541 swap # (Cyl. 21415*- 22457*)
c: 19534977 19535103 unused 0 0 # (Cyl. 19380*- 38759)
d: 39070080 0 unused 0 0 # (Cyl. 0 - 38759)
e: 16433202 22636878 4.4LFS 0 0 0 # (Cyl. 22457*- 38759)
f: 2063 63 4.2BSD 1024 8192 16 # (Cyl. 0*- 2*)
g: 19532975 2127 4.4LFS 0 0 0 # (Cyl. 2*- 19380*)
(wd0f is just a very small boot partition with traditional bootblock)
--
Alan C. Horn
Inktomi - Unix Architect.
+1-650-653-5436
[ahorn@inktomi.com]