Date: Tue, 13 May 2003 15:32:10 -0700 From: Joshua Oreman <oremanj@webserver.get-linux.org> To: James Taylor <jimmykt123@yahoo.com> Cc: questions@freebsd.org Subject: Re: Can't modify partitions Message-ID: <20030513223210.GA20773@webserver.get-linux.org> In-Reply-To: <20030513073427.88993.qmail@web14611.mail.yahoo.com> References: <20030513073427.88993.qmail@web14611.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 13, 2003 at 12:34:27AM -0700 or thereabouts, James Taylor seemed to write: > I have a disk /dev/da0 currently partitioned as one 36 > gig partition, with no point point specified. I'm not > sure how the mount point got through like that, but it > seems that because of it I'm unable to make any > changes to the disk. I go into sysinstall(can't run > disklabel - it's a sparc64 machine)->Custom->Label and > delete the partition (/dev/da0d). I then go to write > the information and come up with "ERROR: Unable to > write data to disk da0!". No matter what I do I keep > getting this error when trying to make any change to > the disk. > > I've tried doing something like "dd if=/dev/zero > of=/dev/da0d count=1000000" trying to just wipe out > the MBR and maybe get a little bit more for good > measure, but that didn't seem to work. Doing any dd > operations on just /dev/da0 come back with Operation > not permitted (I'm assuming this is intended > behaviour?) > > How do I clear the partition information on this > drive? It's been driving me nuts for the past week or > so. I'll assume two things. 1) You're running 5.x. 2) The drive is in use (somehow). FS mounted? Try `sysctl -b kern.geom.confxml` If this is the case, then GEOM has managed to keep you from shooting yourself in the foot :-) You may want to boot off a fixit disk so you're sure nothing's using the disk. HTH, -- Josh > > Thanks > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030513223210.GA20773>