From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ce070f3a0e404db6,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-12-02 10:50:23 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!utnut!helios.physics.utoronto.ca!sysmark From: sysmark@helios.physics.utoronto.ca (Mark Bartelt) Subject: why can't I repartition a not-in-use disk? Message-ID: Sender: news@helios.physics.utoronto.ca (News Administrator) Reply-To: mark@cita.toronto.edu Organization: University of Toronto Physics/Astronomy/CITA Date: Thu, 2 Dec 1993 18:24:15 GMT Well, after my previous queries about uld dumping core, pixie dumping core, and the like, I received a number of helpful replies, most of which were on the order of "broken in 1.2, fixed in 1.3; so upgrade". So this morning I upgraded one of our AXPs to 1.3, and decided to increase the amount of swap space at the same time. This particular system has two disks: an RZ26 from DEC (rz3), and an external Fujitsu M2694S from Brand X (rz9). I normally have the b partitions of both drives enabled for swapping. I repartitioned rz3 during the installation procedure, and that all went fine. However, I can't manage to get the 2694 repartitioned. I booted the system with all references to rz9 commented out of /etc/fstab, so the disk isn't (or, at least, *shouldn't* be) in use. The fact that "df" shows nothing mounted on any of the rz9 partitions, and "swapon -s" doesn't show any rz9 partition in use as a swap area, certainly implies that the disk isn't being used. However, when I try to use "disklabel" to rewrite the partition table, here's what happens: CARIBOU> disklabel -e -r rz9 [ make my changes to partition table ] write new label? [y]: y disklabel: ioctl DIOCSDINFO: Open partition would move or shrink Use alternate partition re-edit the label? [y]: What's going on? What's with the reference to an "open partition"? Opened by what? And, given that disklabel doesn't want to let me write the new label to my not-in-use disk, how *can* I repartition it? Will I have to boot from the distribution CD? As usual, many TIA ... Mark Bartelt 416/978-5619 Canadian Institute for mark@cita.toronto.edu Theoretical Astrophysics mark@cita.utoronto.ca "Sheep not busy being shorn are busy frying" - Dylan, at a NZ lamb barbecue [ singing "It's all right, ma (I'm only bleating)" ]