From owner-freebsd-current@FreeBSD.ORG Tue Sep 9 12:42:59 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5CA816A4BF for ; Tue, 9 Sep 2003 12:42:59 -0700 (PDT) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1087343FF9 for ; Tue, 9 Sep 2003 12:42:58 -0700 (PDT) (envelope-from kutulu@kutulu.org) Received: from wombat.localnet (wombat.localnet [192.168.69.3]) by basement.kutulu.org (Postfix) with ESMTP id 6E88CA9D9 for ; Tue, 9 Sep 2003 15:42:57 -0400 (EDT) Received: by wombat.localnet (Postfix, from userid 1001) id 0C87DB82A; Tue, 9 Sep 2003 15:42:56 -0400 (EDT) Date: Tue, 9 Sep 2003 15:42:56 -0400 From: Michael Edenfield To: freebsd-current@freebsd.org Message-ID: <20030909194256.GA21493@wombat.localnet> Mail-Followup-To: freebsd-current@freebsd.org References: <20030908203049.5FF375D04@ptavv.es.net> <20030908143810.V55021@walter> <20030908221037.GA25200@wombat.localnet> <20030909163239.GA779@galgenberg.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <20030909163239.GA779@galgenberg.net> X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en X-PGP-Key: http://www.kutulu.org/pgp/kutulu.asc X-PGP-Fingerprint: 1CE0 3C31 7013 D529 406D 37DC 09CC CD84 A46C 878F User-Agent: Mutt/1.5.4i Subject: Re: re-fdisk'ing a partition - permission denied? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 19:42:59 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ulrich Spoerlein [030909 12:33]: > On Mon, 08.09.2003 at 18:10:38 -0400, Michael Edenfield wrote: > > e.g., if you have ad0s1a mounted as /, you cannot: > >=20 > > * fdisk ad0 to create ad0s2 > > * disklabel ad0s2 to create ad0s2a > > * perform any data transfer with ad0 as the target. > Well, perhaps I'm sounding stupid, but I was able to re-slice my disk > while running FreeBSD off from ad0s2. I was also able to re-label ad0s2 > while the partitions were mounted. Again, I haven't actually tried to do this since very shortly after GEOM first went into the tree. Based on phk's recent reply, it appears that the behavior I was seeing then was buggy; at least it would be considered buggy today. What I was specifically unable to do was, while running FreeBSD mouted =66rom ad0s1, delete ad0s2 and ad0s3 and create a new, larger ad0s2. I even tried to manually update the MBR via dd, thinking perhaps it was something on the ad0s{2,3} slices that was causing the problem.i In the end, I was perfectly content to just boot from the boot CD and do it, and haven't had to do anything of the sort since :) --Mike --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/Xi1ACczNhKRsh48RAs2zAJ0fpyw8VHVeDFmtDwmZJIFBkD9rYwCgm+T+ H5IIBbj/bGGMInhVY7SgZO0= =tEBn -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--