Lots of Users
Mon Sep 20 15:06:18 BST 1999
Steve Greenshaw wrote:
> Richard Smith wrote:
> > Steve Greenshaw wrote:
> > >
> > > Hi,
> > >
> > > I'm currently struggling with my 2.2.5 installation trying to add LOTS
> > > of users. I've written a script to automate the process which works a
> > > treat, but the problem is that the filesystem is getting full and the
> > > box is now stuffed (i.e. ready to start again!).
> > First, 2.2.5 is very old (7 versions ago), but I guess you know that.
> > > I'm new to FreeBSD (new to UNIX in fact) and don't quite understand
> > > where I'm going wrong (or why I was given this job in the first place!).
> > > I am trying to create a mailserver for our Student population where I
> > > work (roughly 7000 users), but get this filesystem full error. Below is
> > > the FS bit from the daily run:
> > >
> > > Filesystem 1K-blocks Used Avail Capacity Mounted on
> > > /dev/sd0a 31775 26061 3172 89% /
> > > /dev/sd1s1e 8618420 6917 7922030 0% /amb
> > > /dev/sd2s1e 8618420 7226 7921721 0% /car
> > > /dev/sd3s1e 8618420 16090 7912857 0% /lan
> > > /dev/sd0s1f 8039005 250334 7145551 3% /usr
> > > /dev/sd0s1e 29727 2481 24868 9% /var
> > >
> > > This is on a box with 5 ... yes 5 ... 10Gb SCSI disks. There should be a
> > > '/dev/sd41e' with the mount point '/pgs' listed above. I can navigate to
> > > it and everything.
> > Does the rogue disk appear when using the "df" or "mount" commands?
> > And is it listed in "/etc/fstab"?
> No. It doesn't. It's not in my FSTAB either. I et this means that it's not
> where I think it is, doesn't it?
I guess that means that /pgs is a real directory on /dev/sd0a then.
It needs to be in "/etc/fstab" to be mounted automagically at boot time,
this was obviously omitted for some reason during the install process,
but can easily be rectified now. Have a look at the output of the
'dmesg' command to double check that the 5th drive is detected
correctly, then edit '/etc/fstab' and add it! See 'man fstab' for more
> > > However, I *think* that the problem lies in the size of my passwd.db etc
> > > being so large. It looks to me as though 'a' partition on the root drive
> > > is full. I'm probably completely wrong though.
> > The default partition size for / is more than adequate for normal
> > systems. You need to be aware that /etc and /tmp are both within that
> > partition, and that with an unusually large password database, the
> > creation of intermediate copies may well be impeded. With 50G at your
> > disposal, I think you should give a few more megs to root.
> That's 'a', right?
Sorry, yes '/dev/sd0a' mounted on '/' (a.k.a. root).
I'd be inclined to make both '/dev/sd0a' and '/dev/sd0s1e' about 100M.
More information about the Ukfreebsd