From nobody Thu Nov 16 20:45:33 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SWX9l1W0Yz514vT for ; Thu, 16 Nov 2023 20:45:47 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SWX9k38mRz4FJ8 for ; Thu, 16 Nov 2023 20:45:46 +0000 (UTC) (envelope-from kh@panix.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=panix.com header.s=panix header.b=KegQ7A3Z; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com; dmarc=pass (policy=none) header.from=panix.com Received: from rain.cave (c-73-142-21-0.hsd1.ma.comcast.net [73.142.21.0]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4SWX9b6tXbzKS3 for ; Thu, 16 Nov 2023 15:45:39 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1700167540; bh=GQBO6BczLHkBR0Xf/oUD70+ZdVhOiGf5NPrIxvhtiQs=; h=Date:From:To:Subject:References:In-Reply-To; b=KegQ7A3Z7pUVxf5w4e2bCFkun79CvENNgpfZ/2XF4++qDJLDq3xKSe/2ZVwuqbvgv uqd7BGTtGbcVAm58QXW4Z1uolvF5dRSWE43H6XH9lqZ+jIG4n6xFszNS1bDn6nRBjA zu9CoPOZ6YxXSjfSCvncF/WxtAwCcfMaMRHtnX+0= Date: Thu, 16 Nov 2023 15:45:33 -0500 From: Kurt Hackenberg To: questions@freebsd.org Subject: Re: expand UFS partition Message-ID: References: <6f8c7df4-2665-4794-9fd2-81e47128232d@paz.bz> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <6f8c7df4-2665-4794-9fd2-81e47128232d@paz.bz> User-Agent: Mutt/2.2.12 (2023-09-09) X-Spamd-Result: default: False [-4.10 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[panix.com,none]; R_DKIM_ALLOW(-0.20)[panix.com:s=panix]; R_SPF_ALLOW(-0.20)[+ip4:166.84.1.64/26]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[166.84.1.89:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[panix.com:+]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SWX9k38mRz4FJ8 X-Spamd-Bar: ---- On Thu, Nov 16, 2023 at 09:52:19AM -0800, Jim Pazarena wrote: >I have a UFS which is near full, and I know there is >spare/un-allocated space on the hard drive. >I can not back it up first , as it is both huge and very busy. If you care about the data, then you should back it up, both before this change and ongoing. You can take a snapshot of the filesystem, and then back up that snapshot while the server runs and modifies the live filesystem. Dump can do that automatically with "dump -L" (see the man page). Or, if that automatic snapshot is not enough to guarantee that the data is in a consistent state, you could bring the server down briefly to stop the filesystem action, take a snapshot manually, restart the server, and back up the snapshot while the system runs. Whatever you do, as you say, it would be good to test it on a spare server first, before messing with the live system. I suggest that you read relevant parts of the FreeBSD Handbook, including the chapter "Storage".