From owner-freebsd-questions@FreeBSD.ORG Mon Mar 19 17:39:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBC6016A400 for ; Mon, 19 Mar 2007 17:39:20 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id B414A13C458 for ; Mon, 19 Mar 2007 17:39:20 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay8.apple.com (relay8.apple.com [17.128.113.38]) by mail-out3.apple.com (8.13.8/8.13.8) with ESMTP id l2JHdJaH020615; Mon, 19 Mar 2007 10:39:19 -0700 (PDT) Received: from relay8.apple.com (unknown [127.0.0.1]) by relay8.apple.com (Symantec Mail Security) with ESMTP id D5C1940470; Mon, 19 Mar 2007 10:39:19 -0700 (PDT) X-AuditID: 11807126-9f521bb000002cb9-75-45fecac71bec Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay8.apple.com (Apple SCV relay) with ESMTP id BBB7840077; Mon, 19 Mar 2007 10:39:19 -0700 (PDT) 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> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <2528BD7F-ABAA-4727-80B3-206EE7A32E7C@mac.com> Content-Transfer-Encoding: quoted-printable From: Chuck Swiger Date: Mon, 19 Mar 2007 10:39:18 -0700 To: Marcelo Maraboli X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: pwd.db too big for / partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 17:39:21 -0000 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