From owner-freebsd-questions@FreeBSD.ORG Tue Mar 2 09:33:22 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 17BCF106564A for ; Tue, 2 Mar 2010 09:33:22 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id C894D8FC0C for ; Tue, 2 Mar 2010 09:33:21 +0000 (UTC) Received: from mail.gelita.se (localhost.gelita.se [127.0.0.1]) by mail.gelita.se (Postfix) with ESMTP id EA1DF10E77C; Tue, 2 Mar 2010 10:35:18 +0100 (CET) X-Virus-Scanned: amavisd-new at troback.com Received: from mail.gelita.se ([127.0.0.1]) by mail.gelita.se (mail.gelita.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k6fnSgrhuUUy; Tue, 2 Mar 2010 10:35:13 +0100 (CET) Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mail.gelita.se (Postfix) with ESMTP id D6CEC10E50A; Tue, 2 Mar 2010 10:35:12 +0100 (CET) Message-ID: <4B8CDB5A.4000304@eskk.nu> Date: Tue, 02 Mar 2010 10:33:14 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.8) Gecko/20100226 Thunderbird/3.0.2 MIME-Version: 1.0 To: Polytropon References: <4B8B881C.1040008@eskk.nu> <20100301174901.95041084.freebsd@edvax.de> <4B8C0C6E.3020009@eskk.nu> In-Reply-To: <4B8C0C6E.3020009@eskk.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: SOLVED....Re: Adding slice on existing disk 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: Tue, 02 Mar 2010 09:33:22 -0000 > At this screen: > > -------------------------------------------------------------- > FreeBSD Disklabel Editor > > Disk: ad4 Partition name: ad4s4 Free: 0 blocks (0MB) > Disk: ad4 Partition name: ad4s3 Free: 0 blocks (0MB) > > Part Mount Size Newfs Part Mount Size Newfs > ---- ----- ---- ----- ---- ----- ---- ----- > ad4s4d /data 30866MB UFS2+S Y > ad4s3a 1024MB * > ad4s3b swap 4096MB SWAP > ad4s3d 2048MB * > ad4s3e 4096MB * > ad4s3f 20480MB * > ad4s3g 28125MB * > > > > The following commands are valid here (upper or lower case): > C = Create D = Delete M = Mount pt. W = Write > N = Newfs Opts Q = Finish S = Toggle SoftUpdates Z = Custom Newfs > T = Toggle Newfs U = Undo A = Auto Defaults R = Delete+Merge > > Use F1 or ? to get more help, arrow keys to select. > > -------------------------------------------------------------- > > Unfortunately at this point when I choose W to write the changes I get > the following error: > > Unable to add /dev/ad4s3b as a swap device: the device is busy > > This is the existing swap partition so I do not quite understand why I > get this error > > Then I choose OK and then I get: > Error mounting /dev/ad4s4d on /data : No such file or directory > I noticed after a restart that /dev/ad4s4 existed so I did a newfs -U /dev/ad4s4 and then I could mount it :-) /Leslie