From owner-freebsd-questions@FreeBSD.ORG Fri Sep 30 14:15:24 2011 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 E7CC41065672 for ; Fri, 30 Sep 2011 14:15:24 +0000 (UTC) (envelope-from prvs=0247980e68=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 833178FC14 for ; Fri, 30 Sep 2011 14:15:24 +0000 (UTC) Received: (qmail 96136 invoked from network); 30 Sep 2011 13:48:42 -0000 Received: from leila.iecc.com (64.57.183.34) by mail1.iecc.com with QMQP; 30 Sep 2011 13:48:42 -0000 Date: 30 Sep 2011 13:48:20 -0000 Message-ID: <20110930134820.48462.qmail@joyce.lan> From: "John Levine" To: freebsd-questions@freebsd.org In-Reply-To: <4E85C706.9000809@my.gd> Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit Cc: ml@my.gd Subject: Re: dump/restore, how to reduce slice size 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, 30 Sep 2011 14:15:25 -0000 >>> # df -h >>> Filesystem Size Used Avail Capacity Mounted on >>> /dev/ad4s1a 2G 206M 1.6G 11% / >>> devfs 1.0k 1.0k 0B 100% /dev >>> /dev/ad4s1e 3.9G 13M 3.6G 0% /tmp >>> /dev/ad4s1f 40G 25G 12G 67% /usr >>> /dev/ad4s1d 31G 3.6G 24G 13% /var >>> procfs 4.0k 4.0k 0B 100% /proc >>> /dev/ad2s1f 39G 25G 10G 71% /mnt >>> devfs 1.0k 1.0k 0B 100% /var/named/dev >>> >>> >>> as you can see /dev/ad4s1f is 40G and /dev/ad2s1f is 39G >>> but on ad4s1f only 25G used. >>> >>> How can I dump /dev/ad4s1f and restore it on /dev/ad2s1f? You can't. ad4s1f has 25G of files, but ad2s1f only has 10G of free space. You need a bigger disk. If you're just moving things around, I agree that a $100 USB disk is the best way to store backups temporarily. R's, John