From owner-freebsd-questions@FreeBSD.ORG Thu Feb 5 20:19:14 2009 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 2DA911065670 for ; Thu, 5 Feb 2009 20:19:14 +0000 (UTC) (envelope-from perikillo@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 045888FC16 for ; Thu, 5 Feb 2009 20:19:13 +0000 (UTC) (envelope-from perikillo@gmail.com) Received: by wa-out-1112.google.com with SMTP id k34so209175wah.27 for ; Thu, 05 Feb 2009 12:19:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=BQ3KgGSqfstQY1+9iGybTt/dtniCVAlaKuh7eH4wFIw=; b=XFU/g/trcFd30/RmIurgbByGYaE8pHKUS9NSS9krALObe2nW+Ix9oCAN/74gdOQbeT fC1CSe53yvItn0JqeUUVFwfAB74W+w3m9rSWuW53IhY/XOZUwm8QewSsWoY41txAOTqK z+uzFVujDFxqK8rylqaaneSHq3TjM4FTgkSPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=b0dAZbULLitn4ZX1VZfa4uUjESjqPZ/0JVGVuoQlaYhZGRuuWo140ey1zO/BnY3tNl Fsk9swqwHA6SwgVM1rmDtGFX96jMD8SlzLIJzQKxKY4YaQJvS+qlSIqbmoT115dmG8/1 UC7smJVGIoNYKuluC7HGFm/Q4JfVpkYXJTd9k= MIME-Version: 1.0 Received: by 10.114.185.8 with SMTP id i8mr568948waf.85.1233865153521; Thu, 05 Feb 2009 12:19:13 -0800 (PST) Date: Thu, 5 Feb 2009 12:19:13 -0800 Message-ID: <51d7a5160902051219j252b222ao5c0bd53498524244@mail.gmail.com> From: perikillo To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Shrink a Slice? FreeBSD 7.1 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: Thu, 05 Feb 2009 20:19:14 -0000 Hi people. I have been googling without any good info about: How to shrink a slice? Case: I installed a new server for mysql, is working, I already install all the ports I need, them I spend a lot of hours yesterday with this baby, now this is my current disk layout: /dev/ad0s1a on / (ufs, local, noatime, soft-updates) devfs on /dev (devfs, local) /dev/ad0s1f on /tmp (ufs, local, noatime, soft-updates) /dev/ad0s1d on /usr (ufs, local, noatime, soft-updates) /dev/ad0s1e on /var (ufs, local, noatime, soft-updates) /dev/ad0s1g on /backups (ufs, local, soft-updates) What I want to do is to shrink the slice /dev/ad0s1g Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ad0s1a 495 232 223 51% / devfs 0 0 0 100% /dev /dev/ad0s1f 495 0 456 0% /tmp /dev/ad0s1d 5967 4225 1264 77% /usr /dev/ad0s1e 15863 1343 13251 9% /var /dev/ad0s1g 272313 48823 201704 19% /backups Like u can see, is the last slice I have, is posible to remove that slice and create a new one? I don't have info there yet and is not a freebsd default slice, I know that I need to umount first. I have been reading some post but all I have seen is that ins not possible or I'm wrong? I try to with sysinstall looks like don't let me do this. Running FreeBSD 7.1-p2. Thanks all for your time!!!