🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Bill Gunshannon Tue, 11 Nov 1997 00:00
Possible CCD problems
#23179
Author: Bill Gunshannon
Date: Tue, 11 Nov 1997 00:00
21 lines
1148 bytes
I am running FreeBSD 2.2.2 and INN.

Since I went to using a CCD instead of a bunch of separate partitions
for my news spool, everytime I reboot (and the longer between reboots,
the worse it is) I get a large number of unattached files and bad link
counts.

Is there some parameter to "mount" that I need to use to prevent this??

Surely it can't be normal behavior.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
bill@cs.uofs.edu         |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   

Re: Possible CCD problems
#23145
Author: Dale Ghent
Date: Tue, 11 Nov 1997 00:00
23 lines
1215 bytes
Bill Gunshannon wrote:
> 
> I am running FreeBSD 2.2.2 and INN.
> 
> Since I went to using a CCD instead of a bunch of separate partitions
> for my news spool, everytime I reboot (and the longer between reboots,
> the worse it is) I get a large number of unattached files and bad link
> counts.
> 
> Is there some parameter to "mount" that I need to use to prevent this??

Its not normal... Are you sure you have a valid /etc/cdd.conf and are
running ccdconfig -Cv in /etc/rc?

			-Dale G.

Dale Ghent                        daleg @ digex.net
NetworkNews Administrator             DIGEX, Inc.
Yup, these are my opinions.         Beltsville, MD
                http://www.digex.net

Re: Possible CCD problems
#23147
Author: Matt Dillon
Date: Tue, 11 Nov 1997 00:00
116 lines
3877 bytes
:In article <64aqd5$c1o$1@info.cs.uofs.edu>,
:Bill Gunshannon <bill@cs.uofs.edu> wrote:
:>In article <3468E088.167E@digex.net>, Dale Ghent <daleg@digex.net> writes:
:>|> 
:>|> Its not normal... Are you sure you have a valid /etc/cdd.conf and are
:>|> running ccdconfig -Cv in /etc/rc?
:>|> 
:>
:>My ccd.conf is rather simple, one line:
:>                ccd0    16      none    /dev/sd1a /dev/sd2a /dev/sd3a
:>
:>And the only difference in my call tp ccdconfig is I don't have the "v".
:>
:>I know (now) that a larger interleave would be better for a new spool,
:>the number was chosen based on cylinder group size before I read enough
:>about efficiency; but is it possible that the small interleave is causing 
:>problems??
:>
:>bill
:>
:>-- 
:>Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves

    Are you leaving room for ccd's partition table?  If you note below,
    my ccd'd filesytem /dev/rccd0h, is offset 16 from the beginning of the
    ccd partition.  

    Make sure your ccd's 'c' partition is the sum of the partition sizes
    making up the ccd and make sure that the ccd mount partition
    (/dev/rccd0h, that you newfs/mount) is offset by at least 16 sectors
    and sized accordingly.

						-Matt

# cat /etc/ccd.conf
ccd0    32      none    /dev/sd2e       /dev/sd3e

tick:/home/dillon# disklabel ccd0
# /dev/rccd0c:
type: CCD
disk: ccd
label: default label
flags:
bytes/sector: 512
sectors/track: 2048
tracks/cylinder: 1
sectors/cylinder: 2048
cylinders: 8202
sectors/unit: 16798976
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 16798976        0    4.2BSD        0     0     0   # (Cyl.    0 - 8202*)
  h: 16798960       16    4.2BSD        0     0     0   # (Cyl.    0*- 8202*)

tick:/home/dillon# disklabel sd2
# /dev/rsd2c:
type: SCSI
disk: sd2s1
label: 
flags:
bytes/sector: 512
sectors/track: 1
tracks/cylinder: 1
sectors/cylinder: 1
cylinders: 8399520
sectors/unit: 8399520
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:  8399520        0    unused        0     0         # (Cyl.    0 - 8399519)
  e:  8399520        0    4.2BSD        0     0     0   # (Cyl.    0 - 8399519)
tick:/home/dillon# 
tick:/home/dillon# disklabel sd3
# /dev/rsd3c:
type: SCSI
disk: sd3s1
label: 
flags:
bytes/sector: 512
sectors/track: 1
tracks/cylinder: 1
sectors/cylinder: 1
cylinders: 8399520
sectors/unit: 8399520
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:  8399520        0    unused        0     0         # (Cyl.    0 - 8399519)
  e:  8399520        0    4.2BSD        0     0     0   # (Cyl.    0 - 8399519)
tick:/home/dillon# 


Re: Possible CCD problems
#23174
Author: Bill Gunshannon
Date: Tue, 11 Nov 1997 00:00
26 lines
1469 bytes
In article <3468E088.167E@digex.net>, Dale Ghent <daleg@digex.net> writes:
|> 
|> Its not normal... Are you sure you have a valid /etc/cdd.conf and are
|> running ccdconfig -Cv in /etc/rc?
|> 

My ccd.conf is rather simple, one line:
                ccd0    16      none    /dev/sd1a /dev/sd2a /dev/sd3a

And the only difference in my call tp ccdconfig is I don't have the "v".

I know (now) that a larger interleave would be better for a new spool,
the number was chosen based on cylinder group size before I read enough
about efficiency; but is it possible that the small interleave is causing 
problems??

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
bill@cs.uofs.edu         |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   

Re: Possible CCD problems
#23189
Author: Ali Anghaie
Date: Wed, 12 Nov 1997 00:00
24 lines
1250 bytes
Bill Gunshannon (bill@cs.uofs.edu) wrote:
: Since I went to using a CCD instead of a bunch of separate partitions
: for my news spool, everytime I reboot (and the longer between reboots,
: the worse it is) I get a large number of unattached files and bad link
: counts.

Are you using any mount options now?  like noatime (no_atime) or the async?

Are you _syncing_ the large CCD before you reboot?  (that is brutally
important...)
-- 

  - Ali A. (Amir-Ali R. Anghaie)

  - ali@ece.ufl.edu	- ali@hcs.ufl.edu
  - ali@tec.ufl.edu	- ali@inspi.ufl.edu
  - ali@eel.ufl.edu	- ali@afn.org

  - ali@just.about.everywhere.else.too

  { Any opinions herein are not facts :) }

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads