Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Aug 2016 14:23:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 196102] "gpart: device busy" even though it's not in use
Message-ID:  <bug-196102-8-ooo2eFj7ST@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196102-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196102-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196102

Andrey V. Elsukov <ae@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ae@FreeBSD.org

--- Comment #3 from Andrey V. Elsukov <ae@FreeBSD.org> ---
(In reply to Stefan from comment #2)
> Just installed FreeBSD 11 RC1 on da1, da2, da3 (mirrored zpool) without
> swap, intending to add swap space on da0 after installation.
> At the end of the installer I went to the console to add swap space,
> starting with "gpart destroy da0" (it contained an NTFS partition). gpart
> says "Device busy".

It is busy, because before destroying a partition table you must to delete =
all
its partitions or use -F flag.=20

> I guess this bug only occurs if the system is being installed not on da0 =
but
> on da1 or higher. So it could probably be reproduced by installing FreeBSD
> onto da1+ and then attempting to manually repartition da0.

This isn't bug. It works as expected.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196102-8-ooo2eFj7ST>