SOLVED....Re: Adding slice on existing disk

Leslie Jensen leslie at eskk.nu
Tue Mar 2 09:33:22 UTC 2010





> 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





More information about the freebsd-questions mailing list