Re: HD error: BAD SUPER BLOCK

From: Robert Neumann (shritis_at_gmx.de)
Date: 11/24/03

  • Next message: Kim Fredenberg: "Re: wireless networking"
    Date: Mon, 24 Nov 2003 07:55:18 +0100
    To: Toomas Aas <toomas.aas@raad.tartu.ee>
    
    

    Toomas Aas wrote:

    > Hello!
    >
    >
    >>Date: Fri, 21 Nov 2003 10:53:06 +0100
    >>From: Robert Neumann <shritis@gmx.de>
    >>
    >>this is the problem:
    >>I had a machine running FreeBSD 4.7-Stable. There I added a 80GB
    >>harddisk. This harddrive I wanted to install on my other machine running
    >>FreeBSD 4.9-Release. This disk is ad6 so I added
    >>
    >> /dev/ad6 /storage ufs rw 2 2
    >>
    >>to fstab and rebooted.
    >
    >
    > Did I understand the situation right - the drive worked in 4.7 machine
    > but the problem occurred when you moved it to the 4.9 machine?
    >
    That's right.

    > The above fstab entry doesn't look quite correct to me. The filesystem
    > that you mount should usually be contained in a partition (e.g.
    > /dev/ad6s1e) not on entire disk (/dev/ad6).
    >
    > If the drive worked in the 4.7 machine, what was the fstab entry there?
    >
    I cant recall the fstab entry but the drive was as Master on the
    secondary IDE channel and had only one partition using all diskspace.

    In the 4.9 machine the drive is on a DMA-66-Controller. Under Win2000
    this is listet as a SCSI-Device. I don't know whether this can be the
    problem - I will try to put it again on the IDE-Channel.

    >
    > What is the output of 'disklabel ad6'?
    >
    # /dev/ad6:
    type: unknown
    disk: amnesiac
    label: fictitious
    flags:
    bytes/sector: 512
    sectors/track: 63
    tracks/cylinder: 255
    sectors/cylinder: 16065
    cylinders: 9964
    sectors/unit: 160086528
    rpm: 3600
    interleave: 1
    trackskew: 0
    cylinderskew: 0
    headswitch: 0 #milliseconds
    track-to-track seek: 0 #milliseconds
    drivedata: 0

    8 partitions:
    # size offset fstype [fsize bsize bps/cpg]
        c: 160086528 0 unused 0 0 # (Cyl. 0 - 9964*)
    /kernel: ad6: cannot find label (no disk label)
    /kernel: ad6s1: cannot find label (no disk label)

    #end of output

    Many thanks for your help.

    Robert

    _______________________________________________
    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: Kim Fredenberg: "Re: wireless networking"

    Relevant Pages

    • Re: use of label in fstab
      ... use of label in fstab ... > I made another partition /dev/sda5 and used e2label to label it dyndata, ... I don't generally mount by label & I don't use ext filesystems, ...
      (Ubuntu)
    • Re: usb
      ... > I'm not trying to change the label. ... > superuser to run disklabel in the first place. ... sectors/track: 63 ... cylinders: 38760 ...
      (comp.unix.bsd.netbsd.misc)
    • Re: [kde] automounting IPOD
      ... xfs) filesystem that is to be mounted by its UUID or volume label ... changes the disk device name but not the filesystem volume label. ... If I add an fstab entry for /dev/sda2 with suitable options this ...
      (KDE)
    • Re: Debian AMD64 boots only at random: how to use labels/fstab/grub
      ... I'm only familiar with the ext/xfs filesystem commands which is what you appear to be using. ... If you have a disk with no label, you would need to add one. ... So, if you have a disk that is mounted on '/var', the default label will be '/var'. ... involves using lables in fstab and grub. ...
      (Debian-User)
    • Re: usb disk insists on being readonly
      ... cooperate with going there when I tell it to in the fstab. ... Put a disk label on the usb drive and use it to identify the right device by ...
      (comp.os.linux.setup)