Date: Mon, 19 Mar 2007 10:39:18 -0700 From: Chuck Swiger <cswiger@mac.com> To: Marcelo Maraboli <marcelo.maraboli@usm.cl> Cc: freebsd-questions@freebsd.org Subject: Re: pwd.db too big for / partition Message-ID: <2528BD7F-ABAA-4727-80B3-206EE7A32E7C@mac.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
On Mar 19, 2007, at 7:54 AM, Marcelo Maraboli wrote: > 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) You certainly don't want to move the password files out of /etc-- =20 you'll render the machine unbootable as it needs to find them on the =20 root partition. The only approach I see which is likely to be =20 workable would be to backup the system, repartition the disks with a =20 larger root partition, and restore from backups. However, in theory, if you had free disk space, you could use growfs =20 to expand the root partition without repartitioning, but I am dubious =20= about using that command against /. --=20 -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2528BD7F-ABAA-4727-80B3-206EE7A32E7C>