From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ce070f3a0e404db6 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-12-14 02:28:12 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!niko From: niko@iastate.edu (Nikolaus E Schuessler) Subject: Re: why can't I repartition a not-in-use disk? Message-ID: Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames, IA References: Date: Tue, 14 Dec 1993 00:13:06 GMT > >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? > This took me a while to figure out ... I had this problem when changing the a partition on the boot disk. I had to mop boot (across the network) to get it fixed ... It seems the mere existance of the device file in /dev can cause the device to be "open". Since it seems your disks are external, i'd boot into single user mode, delete /dev/rz9[abdefgh], do the disklabel thing, and re MAKEDEV the devices. >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 ... If the above suggestion doesn't work, you will prolly need to boot from the distribution CD: * chose system maintenance mode * cd /dev * MAKEDEV rz9 * rm rz9[abdefgh] * disklabel * halt and reboot -- Niko Schuessler Project Vincent Systems Manager email: niko@iastate.edu Iowa State University Computation Center voice: (515) 294-1672 Ames IA 50011 snail: 291 Durham