Date: Mon, 24 May 2004 18:17:38 -0400 (EDT) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: jason-dusek@uiowa.edu Cc: "Questions@BSD" <freebsd-questions@freebsd.org> Subject: Re: Broken Disk Message-ID: <200405242217.i4OMHda20678@clunix.cl.msu.edu> In-Reply-To: <40B26157.1040100@cs.uiowa.edu> from "Jason Dusek" at May 24, 2004 03:55:51 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405242217.i4OMHda20678>