[95643] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: var/spool/mail on new drive having problems (fwd)

daemon@ATHENA.MIT.EDU (Richard Rager)
Tue Oct 20 02:35:55 1998

Date: Tue, 20 Oct 1998 02:22:09 -0400 (EDT)
From: Richard Rager <redhat-list@actech.net>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com



On Mon, 19 Oct 1998, rex wrote:

> What do you mean "a link to the OLD /var/spool/mail"?
> You should have maintain this by mounting a larger partition under this
> directory.

  Well a link will work if done right.  I do it all the time.

> How did you fix your spatial problem?

> I would have added the drive, mounted it under some temp directory.
> Then, after tarring the /var/spool/mail(retating all ownership and
> permissions)
> to this new drive and untarring it there, remount this drive under
> /var/spool/mail.
  Under Linux cp -a does the same.
> Of course you would want your mail services to be disabled during this time,
> perhaps
> doing all this in single user mode.
  There are only two deamon used. To turn them off, is a good idea.
To do this type:

/etc/rc.d/init.d/sendmail stop
/etc/rc.d/init.d/inet stop

> You shouldn't have any problems with links after that. But just to check for
> the existence of such links perform a
> find / -lname *var/spool/mail*
> This will discover any DIRECT links to things under /var/spool/mail
> (i.e. It won't discover a link to a link that is linked to /var/spool/mail)
> Rex

  The only thing that I left out is that you do need to restart the
deamons after this and move the old dir out of the way before you make the
link.

  I am sorry if I was not clear.


Richard Rager




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post