Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2007 16:14:17 -0500
From:      Derek Ragona <derek@computinginnovations.com>
To:        Marcelo Maraboli <marcelo.maraboli@usm.cl>, freebsd-questions@freebsd.org
Subject:   Re: pwd.db too big for / partition
Message-ID:  <6.0.0.22.2.20070319150820.025805e8@mail.computinginnovations.com>
In-Reply-To: <45FEA42B.5040300@usm.cl>
References:  <20070311200829.31802.qmail@simone.iecc.com> <0AC225E6-E55D-4C20-9A00-2EDD95985848@shire.net> <20070311165028.S44863@simone.iecc.com> <45F57936.3030601@usm.cl> <45FEA42B.5040300@usm.cl>

next in thread | previous in thread | raw e-mail | index | archive | help
I have moved my root partition on one server.  I copied the entire=20
partition to a new partition on a different drive using cpio as I wanted=20
/dev moved too.  At the time this was running 4.x.

After moving the root partition I rebooted and made sure the new partition=
=20
was still fine.  Then I changed both /etc/fstab files to mount the new=20
root, and gave the old root a new mount point.

On the root of the old root I added a boot.config file to tell the loader=
=20
the correct drive and slice to boot from.

After another reboot, I was using the new root partition.  I keep the old=
=20
one there for the boot.config.  It like your's is too small do much else=20
with given the huge drives we install these days.

As for your old root, you should try to clear any space you can.  I would=
=20
look for any log files you can purge, etc, to get some working space.

         -Derek


At 09:54 AM 3/19/2007, Marcelo Maraboli wrote:
>Hi
>
>my / partition has only 73.196 Mbytes available and since I
>have 22.000 users, I now cannot change anyone=B4s password..
>
>root@server:~$ passwd marcelo.maraboli
>Changing local password for marcelo.maraboli
>New Password:
>Retype New Password:
>
>/: write failed, filesystem is full
>pwd_mkdb: write old: No space left on device
>passwd: pam_chauthtok(): error in service module
>
>How can I rezise the "/" partition or move the spwb.db
>and pwd.db files to another partition ?? (each of them is 44 Mbytes)
>
>thanks.
>--
>MSc. Marcelo Maraboli Rosselott
>Jefe Area de Redes y Comunicaciones  (Network & UNIX Systems Engineer)
>Ingeniero Civil Electronico, CISSP  (Electronic Engineer, CISSP, MSc.)
>
>Direccion Central de Servicios Computacionales (DCSC)
>Universidad Tecnica Federico Santa Maria         phone: +56 32 2654071
>Chile.    http://www.usm.cl                 http://elqui.dcsc.utfsm.cl
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or=
g"
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>MailScanner thanks transtec Computers for their support.
>

--=20
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20070319150820.025805e8>