From owner-freebsd-questions@FreeBSD.ORG Fri Jul 18 17:34:18 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EBAE1065673 for ; Fri, 18 Jul 2008 17:34:18 +0000 (UTC) (envelope-from darko@drgnetworks.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id E812E8FC1A for ; Fri, 18 Jul 2008 17:34:17 +0000 (UTC) (envelope-from darko@drgnetworks.com) Received: by wa-out-1112.google.com with SMTP id j4so180408wah.3 for ; Fri, 18 Jul 2008 10:34:17 -0700 (PDT) Received: by 10.115.18.3 with SMTP id v3mr260347wai.218.1216400856970; Fri, 18 Jul 2008 10:07:36 -0700 (PDT) Received: by 10.115.111.4 with HTTP; Fri, 18 Jul 2008 10:07:36 -0700 (PDT) Message-ID: <720b99aa0807181007j75859141qb97d11c387239e24@mail.gmail.com> Date: Fri, 18 Jul 2008 17:07:36 +0000 From: "Darko Gavrilovic" To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: > Subject: resizing partiton on FBSD-7.0 amd64 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: Fri, 18 Jul 2008 17:34:18 -0000 > Date: Thu, 17 Jul 2008 12:52:45 -0300 > From: luizbcampos > To: questions@freebsd.org > Subject: resizing partiton on FBSD-7.0 amd64 > Message-ID: > I used all my disk with FBSD and now I need to lower the >partition with no data loss. Does anyone know how to do it? ---- I wonder if one could: - add a 2nd disk and format and make fs and mount - tar up the entire contents of / (everything except / assuming that / is separate slice) to second disk. - blow away 1st disk. re-partition it as desired. - re-install freebsd and then untar what was originally tarred from second disk onto 1st disk. assuming that / is on separate slice. -- with kind regards, dg