From nobody Thu Nov 16 17:52:19 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 4SWSKn2K1Qz50vtG for ; Thu, 16 Nov 2023 17:52:29 +0000 (UTC) (envelope-from fquest@paz.bz) Received: from emailh.ca (emailh.ca [23.235.65.100]) (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 4SWSKm0kdbz3Mn8 for ; Thu, 16 Nov 2023 17:52:27 +0000 (UTC) (envelope-from fquest@paz.bz) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of fquest@paz.bz designates 23.235.65.100 as permitted sender) smtp.mailfrom=fquest@paz.bz; dmarc=none Received: from 254-68-235-23.gwaiicomm.com ([23.235.68.254] helo=[10.10.10.9]) by emailh.ca with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1r3gXK-000F29-5o; Thu, 16 Nov 2023 09:52:18 -0800 Content-Type: multipart/alternative; boundary="------------X6KHff3lI6UvRwZoFwF9v0xv" Message-ID: <6f8c7df4-2665-4794-9fd2-81e47128232d@paz.bz> Date: Thu, 16 Nov 2023 09:52:19 -0800 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 User-Agent: Mozilla Thunderbird Content-Language: en-US To: questions@freebsd.org From: Jim Pazarena Subject: expand UFS partition X-Spamd-Result: default: False [-3.27 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.979]; R_SPF_ALLOW(-0.20)[+ip4:23.235.65.64/26]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; R_DKIM_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:852, ipnet:23.235.64.0/20, country:CA]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[paz.bz]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SWSKm0kdbz3Mn8 X-Spamd-Bar: --- This is a multi-part message in MIME format. --------------X6KHff3lI6UvRwZoFwF9v0xv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. Are there any tools within FreeBSD to (a) examine if expanding this UFS is possible, and (b) expand it reliably ? I have gparted, and could run it. Which would involve bringing down the server for that duration. All fine & dandy... but can I trust gparted to not wreck this task ? A back up first would take the server down for several hours. I cannot take it down for that long. Now, if I wreck the drive, hind-set would have kicked me square in the butt. I suppose that I could test the reliability of this task on a spare server. And likely will. Unless, that is, FreeBSD has a built in ability. Also... old FBSD .. 11.0 p1 ! ouch Thanks ! -- Jim Pazarenafquest@paz.bz Haida Gwaii - British Columbia - Canada --------------X6KHff3lI6UvRwZoFwF9v0xv Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit 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.
Are there any tools within FreeBSD to (a) examine if expanding this UFS is possible, and (b) expand it reliably ?

I have gparted, and could run it. Which would involve bringing down the server for that duration.
All fine & dandy... but can I trust gparted to not wreck this task ?

A back up first would take the server down for several hours. I cannot take it down for that long.
Now, if I wreck the drive, hind-set would have kicked me square in the butt.

I suppose that I could test the reliability of this task on a spare server. And likely will.
Unless, that is, FreeBSD has a built in ability.

Also... old FBSD .. 11.0 p1 ! ouch
Thanks !

-- 
Jim Pazarena         fquest@paz.bz
Haida Gwaii - British Columbia - Canada
--------------X6KHff3lI6UvRwZoFwF9v0xv--