From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,3cb310bb1d5b9590 X-Google-Attributes: gid1164f8,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Help OSF install failure Date: 1997/01/10 Message-ID: <5b4gvn$9b3@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 208847347 distribution: world references: <5b0lhu$lb5@lace.colorado.edu> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.sys.dec In article <5b0lhu$lb5@lace.colorado.edu>, edmands@unconfigured.xvnews.domain (EDMANDS TODD A) writes: >I need help diagnosing the following problem: I just replaced my system drive >on a DEC 3000 300X, After installing OSF 3.2 or OSF 3.0B onto the new drive >the sytem starts up but shows fragmentation on the root partitions. The >fragmentation levels are .1% on rrz3a and .3% on rrz3f where I place >/usr. Sometimes the system still comes up but after I start setting up the >machine and do a restart (shutdown -r now), the /sbin/rc3.d scripts are >corrupted and dump cores when they run. Whatever the problem is, is unrelated to the level of fragmentation. The fsck "fragmentation" percentage is the ratio of file fragements to file blocks. UFS uses two basic allocation sizes; fragments and the file system block size. A file system block can 1, 2, 4 or 8 fragments in it. The typical fragment size is 1 KB, with the file system block size being 8 KB. Small files are allocated as enough contiguous fragments, as are the ends of medium sized files. Large files (over 96 KB) are always allocated as whole blocks. The only way to get UFS to report no "fragmentation" would be make the fragment and block size the same value or make sure all the files on the file system are multiple of the block size. >DEC tech support believes it may be the SCSI controller on the system. >While I continue my testing and tinkering with the system, I would >appreciate any pointers on what else might be causing this problem. Data corruption on disk is usually caused by a one or more devices (or controllers) on the bus using its own version of the SCSI protocol, instead of the ANSI standard one... Simply; the device/controller is broken. You can look at the error log using the uerf(8) command. Look for SCSI CAM errors. To get all the information available with the error use the option "-o full". Protocol errors will usually show up as CAM errors with just the routine name and CAM data structure dump, with no device Sense Data. > >Thanks, > -- Alan Rollow alan@nabeth.cxo.dec.com