From owner-freebsd-questions@FreeBSD.ORG Fri Jun 11 23:06:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BC1D1065762 for ; Fri, 11 Jun 2010 23:06:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4B29A8FC13 for ; Fri, 11 Jun 2010 23:05:58 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx01.qsc.de (Postfix) with ESMTP id B2AED3CEB6; Sat, 12 Jun 2010 01:05:51 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o5BN5o1C003135; Sat, 12 Jun 2010 01:05:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 12 Jun 2010 01:05:50 +0200 From: Polytropon To: Giorgos Tsiapaliokas Message-Id: <20100612010550.66693718.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: resize freebsd slice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 23:06:00 -0000 On Sat, 12 Jun 2010 01:46:57 +0300, Giorgos Tsiapaliokas wrote: > only /home is in a diferent partition,but i don't care because i don't have > any file in it (only .xinitrc,but this is not a prob) > > i give as a root the command "dump -0Lauf /mnt/hd/FBSD/ /dev/ad0s3a" > > but i receive the following error: > > DUMP: Date of this level 0 dump: Sat Jun 12 01:39:31 2010 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping snapshot of /dev/ad0s3a (/) to /mnt/hd/FBSD/ > DUMP: mapping (Pass I) [regular files] > DUMP: mapping (Pass II) [directories] > DUMP: estimated 6843871 tape blocks. > DUMP: Cannot open output "/mnt/hd/FBSD/". > DUMP: Do you want to retry the open?: ("yes" or "no") > > i tried to reopen the output but it had no effect. The answer is right here: DUMP: Cannot open output "/mnt/hd/FBSD/". You need to specify a file, not a directory. For example, you can use this command: # dump -0Lauf /mnt/hd/FBSD/ad0s3a.dump /dev/ad0s3a You just have to make sure that there's enough space for the dump file on the device mounted as /mnt/hd. > P.S.:ad0s3a is my root directory (/) Then you have all subtrees on your / partition (like /var, /usr). Correctly, this is what you want to dump. > s3b is /home and If you don't need it, don't dump it. :-) Anyway, if its nearly empty, you won't need much space for the dumpfile. > s3d is my swap space Partition d is the swap? It's usually b, but... possible. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...