From owner-freebsd-questions@FreeBSD.ORG Mon May 24 15:17:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7461916A4CE for ; Mon, 24 May 2004 15:17:44 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F106E43D1D for ; Mon, 24 May 2004 15:17:43 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i4OMHda20678; Mon, 24 May 2004 18:17:40 -0400 (EDT) From: Jerry McAllister Message-Id: <200405242217.i4OMHda20678@clunix.cl.msu.edu> To: jason-dusek@uiowa.edu Date: Mon, 24 May 2004 18:17:38 -0400 (EDT) In-Reply-To: <40B26157.1040100@cs.uiowa.edu> from "Jason Dusek" at May 24, 2004 03:55:51 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: "Questions@BSD" Subject: Re: Broken Disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 22:17:44 -0000 > > > So, anyway, user questions should not be surprising. > > (But please ask reasonably specific questions or it is hard to > > give a relevant answer) > > > > ////jerry > > Fair Enough, > > My question is 'how do I edit a disklabel?' I assume that I am supposed > to add an 'e' partition, but it seems that the c partition has eaten my > disk. The partition file looks like this: Ah, I think that is mentioned in some part of the documentation, but the 'c' partition is special and actually refers to the whole slice. Generally it should say 'unused' in the fstype column for partition c. Then you just use it as a reference number and do not consider it in the partitions you create. Here is a disk on a machine I am logged in to right now for example. 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2514944 0 4.2BSD 2048 16384 89 # (Cyl. 0 - 156*) b: 4618240 2514944 swap # (Cyl. 156*- 444*) c: 35551782 0 unused 0 0 # (Cyl. 0 - 2212*) e: 2514944 7133184 4.2BSD 2048 16384 89 # (Cyl. 444*- 600*) f: 25903654 9648128 4.2BSD 2048 16384 89 # (Cyl. 600*- 2212*) Note that the a,b,e and f partitions add up to the c partition and that the fstype for c is unused. ////jerry > > <...stuff in the front omitted...> > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 78164037 0 4.2BSD 2048 16384 89 # (Cyl. 0 - > 12406*) > > Does this mean that my disk is 'dangerously dedicated'? Isn't the fstype > supposed to be 'ufs'? How do I toggle soft updates? I want to use this > disk as backup media, so is one undifferentiated partition a good idea? > -- > -- Jason Dusek ("`-''-/").___..--''"`-._ > -- | `6_ 6 ) `-. ( ).`-.__.`) > -- | (_Y_.)' ._ ) `._ `. ``-..-' > -- | _..`--'_..-_/ /--'_.' ,' > -- | (il),-'' (li),' ((!.-' > -- > > Jerry McAllister wrote: > >>Jason Dusek wrote: > >> > >>>Hi, > >>> > >>>Through a combination of this list's suggestions, I managed to get fdisk > >>>to successfully operate on my disk. Thanks. However, the step about > >>>'editing my label' as given in the handbook: > >>> > >>># disklabel -e da1s1 # Edit the disklabel just created. > >>> > >>>is not something I really understand. Where is some nice documentation > >>>on this? > >> > >>"man disklabel" is pretty comprehensive. > > > > > > Yes. But, you have to read it together with man fdisk to make any > > sense of it and even then the writing is rather convoluted and confusing. > > They could both use a complete systematic rewrite. I don't think I > > know enough of the extra stuff (the stuff I don't usually use) to do > > it or I would try it. > > > > So, anyway, user questions should not be surprising. > > (But please ask reasonably specific questions or it is hard to > > give a relevant answer) > > > > ////jerry > > > > > >>-- > >>Bill Moran > >>Potential Technologies > >>http://www.potentialtech.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" > >> > > > > > > _______________________________________________ > > 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" > _______________________________________________ > 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" >