Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Mar 2010 10:33:14 +0100
From:      Leslie Jensen <leslie@eskk.nu>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   SOLVED....Re: Adding slice on existing disk
Message-ID:  <4B8CDB5A.4000304@eskk.nu>
In-Reply-To: <4B8C0C6E.3020009@eskk.nu>
References:  <4B8B881C.1040008@eskk.nu>	<20100301174901.95041084.freebsd@edvax.de> <4B8C0C6E.3020009@eskk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help




> 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 <none> 1024MB *
> ad4s3b swap 4096MB SWAP
> ad4s3d <none> 2048MB *
> ad4s3e <none> 4096MB *
> ad4s3f <none> 20480MB *
> ad4s3g <none> 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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B8CDB5A.4000304>