Find the answer to your Linux question:
Results 1 to 4 of 4
Using a RHEL5 Fdisk shows: Disk /dev/hda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2012
    Posts
    2

    Drives show with fdisk but not in bios?


    Using a RHEL5

    Fdisk shows:
    Disk /dev/hda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 13 104391 fd Linux raid autodetect
    /dev/hda2 14 266 2032222+ fd Linux raid autodetect
    /dev/hda3 267 38913 310432027+ fd Linux raid autodetect

    Disk /dev/hdc: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdc1 * 1 13 104391 fd Linux raid autodetect
    /dev/hdc2 14 266 2032222+ fd Linux raid autodetect
    /dev/hdc3 267 38913 310432027+ fd Linux raid autodetect

    Disk /dev/md2: 317.8 GB, 317882302464 bytes
    2 heads, 4 sectors/track, 77607984 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes

    Disk /dev/md2 doesn't contain a valid partition table

    Disk /dev/md1: 2080 MB, 2080899072 bytes
    2 heads, 4 sectors/track, 508032 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes

    Disk /dev/md1 doesn't contain a valid partition table

    Disk /dev/md0: 106 MB, 106823680 bytes
    2 heads, 4 sectors/track, 26080 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes

    Disk /dev/md0 doesn't contain a valid partition table

    And, fstab shows:

    /dev/md2 / ext3 defaults 1 1
    /dev/md0 /boot ext3 defaults 1 2
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    /dev/md1 swap swap defaults 0 0


    But the bios shows:
    2 SATA
    Port 0 320G
    Port 1 320G

    Both with ID: ST33206138A

    This server crashed and had a hard time rebooting. Finally came back up after 2 attempts.

    I want to fsck it but am at a loss as to which drives are real and which are not.

    Any suggestions as to how I can figure this out would be much appreciated

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Hello and Welcome!

    Looks like you have 2 drives showing up at around 320 GB in both BIOS and fdisk (hda and hdc).
    What is /dev/mdx supposed to be? That looks like the only questionable point.
    Do you have other storage devices or media connected?
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Jul 2012
    Posts
    2
    Quote Originally Posted by jayd512 View Post
    Hello and Welcome!

    Looks like you have 2 drives showing up at around 320 GB in both BIOS and fdisk (hda and hdc).
    What is /dev/mdx supposed to be? That looks like the only questionable point.
    Do you have other storage devices or media connected?
    Hi Jayd512,

    That's the wierd part, fstab shows /dev/md0 as the mounted boot partition and /dev/md2 as the mounted root directory "/" supposedly containing all the data for the server. In addition, the 'system screen gui' shows the same thing as fstab. However, the fdisk -l shows he /dev/mdx drives as separate drives with improper partitions and based on the bios there are two 320GB drives which are the real drives.

    I didn't build the server, but I suspect that those who did tried to have mirrored 320GB drives.

    I appreciate any help because this doesn't make any sense to me and I don't want to delete data when I try to fsck the drives - whichever ones are real.

  4. $spacer_open
    $spacer_close
  5. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Looking around on the web, it looks like /dev/mdx might be a RAID array, which I have never played with. Others will have to chime in on that.
    But hda and hdc appear to be real, physical drives.
    They should be safe to fsck, provided you make sure that you have all of the data backed up.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •