Re: "Cannot find file system superblock" error - how to recover?

From: Scott I. Remick (scott_at_sremick.net)
Date: 01/06/04

  • Next message: Derek Marcotte: "Re: Poor SCSI disk preformance [more on camcontrol please!]"
    Date: Tue, 6 Jan 2004 11:54:08 -0800 (PST)
    To: Jerry McAllister <jerrymc@clunix.cl.msu.edu>
    
    

    --- Jerry McAllister <jerrymc@clunix.cl.msu.edu> wrote:
    > > (is disklabel/bsdlabel only meant to be run on slices and not
    > > bsd-partitions?).
    >
    > You have it backwards in this question. Disklabel is meant to run
    > only on bsd partitions and not slices. Slices (1-4) are the major
    > divisions of the disk and partitions (a-h) are divisions within slices.
    > Fdisk is what creates slices.

    Ok, well the reason I thought it might be the other way is because if you
    run disklabel (bsdlabel) on a slice (such as /dev/ad4s1 on my machine, which
    is working, or /dev/ad0s1 on another machine I have access to) it works fine
    (and reports an offset of 0), but if you run it on the partition
    (/dev/ad0s1c) you get an offset of 63 and errors like:

    partition c: partition extends past end of unit
    bsdlabel: partition c doesn't start at 0!
    bsdlabel: An incorrect partition c may cause problems for standard system
    utilities
    partition f: partition extends past end of unit

    So why does disklabel/bsdlabel produce errors when run on the partition even
    when the disk is fine, if it is meant to be run on partitions and not
    slices?

    Trying to learn... thanks!
    _______________________________________________
    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"


  • Next message: Derek Marcotte: "Re: Poor SCSI disk preformance [more on camcontrol please!]"

    Relevant Pages

    • Re: Why is disklabelng a new drive so difficult?
      ... Tried to disklabel it, and it gives me all kinds of warnings when I look ... ganymede# bsdlabel -w ad4s1 auto ... partition a: partition extends past end of unit ... drives. ...
      (freebsd-questions)
    • Re: Why is disklabelng a new drive so difficult?
      ... Tried to disklabel it, and it gives me all kinds of warnings when I look ... ganymede# bsdlabel -w ad4s1 auto ... partition a: partition extends past end of unit ... drives. ...
      (freebsd-questions)
    • Re: Why is disklabelng a new drive so difficult?
      ... Tried to disklabel it, and it gives me all kinds of warnings when I look ... ganymede# bsdlabel -w ad4s1 auto ... partition a: partition extends past end of unit ... offset to use (the end of the previous partition plus one, ...
      (freebsd-questions)
    • Re: Question about my new logical UFS2 partition
      ... Now you want to know whether you have to create partitions such as ad2s9a, or whether you can do a newfs right in the slice ad2s9. ... I've always created partitions inside slices just because ... partition step on a spare zip disk. ... Then I ran disklabel to see what was up. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: FIRST INSTALL QUESTION
      ... > used a boot manager unless Windows 98 Start-up Menu qualifies). ... This is the MBR. ... minor things and then looks for bootable slices. ... > FBSDBOOT.EXE and that got me to wondering if I could just partition ½ of the ...
      (freebsd-questions)