From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f068fbe09c1f53e4 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-12-14 03:38:12 PST Path: supernews.google.com!sn-xit-02!supernews.com!news-x.support.nl!newsgate.cistron.nl!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!news.ipartners.pl!news.nask.pl!not-for-mail From: Tomasz =?iso-8859-2?Q?G=B1ska?= Newsgroups: comp.unix.tru64 Subject: Re: LSM please Date: Thu, 14 Dec 2000 12:37:45 +0100 Organization: Kom-Pakt PIW Sp. z o.o. Message-ID: <3A38B109.9F72BD3B@kompakt.com.pl> References: <918sqm$dat$1@nnrp1.deja.com> NNTP-Posting-Host: finis.kompakt.com.pl Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Trace: pippin.nask.waw.pl 976793909 22798 195.164.48.227 (14 Dec 2000 11:38:29 GMT) X-Complaints-To: usenet@nask.pl NNTP-Posting-Date: Thu, 14 Dec 2000 11:38:29 +0000 (UTC) X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: pl, en Xref: supernews.google.com comp.unix.tru64:1193 tru64man@my-deja.com wrote: > I'm in the process of editing my disk with the command: > dsklabel -re dsk0 > > I rebooted in single user mode and did a > /sbin/lsmbstartup > sbin/bcheckrc > /sbin/update > > But I'm not able to save the changes, I get the following error: > partition 'g' is in use; Cannot modify its size or location > > Does anybody have a clue? I think that means what that means: partition g is in use. Display partition table (disklabel -r). If you have anything (UFS, AdvFS, swap) in fstype column, that means partition is in use. If you are sure that g is not mounted anywhere, try to change this to 'unused', write label, if this succeed, then change partition size. If this doesnt work, try to dump disklabel to file, change it (in file), zero disklabel and put corrected file to disk. Be very careful what are you doing. Regards Tomasz Gaska