From owner-freebsd-questions@FreeBSD.ORG Fri Jan 27 19:38:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCFB016A420 for ; Fri, 27 Jan 2006 19:38:41 +0000 (GMT) (envelope-from hakmi@rogers.com) Received: from smtp104.rog.mail.re2.yahoo.com (smtp104.rog.mail.re2.yahoo.com [206.190.36.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 1203E43D5D for ; Fri, 27 Jan 2006 19:38:40 +0000 (GMT) (envelope-from hakmi@rogers.com) Received: (qmail 18316 invoked from network); 27 Jan 2006 19:38:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:From:To:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-MimeOLE:thread-index; b=AUtAA4bBhkyH/BBFTzYWDs9ueV9I+V7bgFP8osYrKRENdUK6PMOat3IdDG/vY5or0rbiTjLUOwWOp5cEIP4kIY8HHmyNmRPB7ITCWLaRMVi3YxbpDavJsMh9TBLyhGSVfMnUlkloeGyXzfXNNVZtcR1D8oTdO0PXWvrnEVb0Cq8= ; Received: from unknown (HELO tamouh) (hakmi@rogers.com@70.27.160.99 with login) by smtp104.rog.mail.re2.yahoo.com with SMTP; 27 Jan 2006 19:38:40 -0000 From: "Tamouh H." To: "'FreeBSD'" Date: Fri, 27 Jan 2006 14:39:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 thread-index: AcYjeVMX8pxjKyVPRjS0HhjTWTss6w== Message-Id: <20060127193840.1203E43D5D@mx1.FreeBSD.org> Subject: adding unused disk space 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, 27 Jan 2006 19:38:42 -0000 Hi, When trying to add a new partition to an already existing disk slice on = FreeBSD 5.4, are these the proper procedures to follow: lets say we have: /dev/ad4s1a 507630 56104 410916 12% / devfs 1 1 0 100% /dev /dev/ad4s1d 507630 12 467008 0% /tmp /dev/ad4s1e 10154158 1833920 7507906 20% /usr /dev/ad4s1f 6090094 40804 5562084 1% /var There is some 20GB unused space on the drive and I want to use that for = /backup, so I did: 1) sysctl kern.geom.debugflags=3D16 2) sysinstall -> Confgiure -> Disk Label -> ad4 3) I've mounted each ad4 to its proper place using 'M'=20 4) then I created the partition /backup using 'C' from the unused space = which wass assigned /dev/ad4sa1g 5) then used 'W' to write the partitions, it gave couple of errors about = busy devices..etc 6) reset sysctl: sysctl kern.geom.debugflags=3D0 7) rebooted the machine and it came back fine 8) edit /etc/fstab and add=20 /dev/ad4s1g /backup ufs rw 2 2 9) reboot the machine and it fails to come back on am I missing something ? Thanks, Tamouh Hakmi