Find the answer to your Linux question:
Results 1 to 4 of 4
i have a strange problem. i have a IBM client machine with a sata HDD , RHEL 5.0 and a internal DVD writer. the HDD is detected as /dev/sda when ...
  1. #1
    Linux Newbie rituraj.goswami's Avatar
    Join Date
    Aug 2008
    Location
    Guwahati
    Posts
    133

    Talking Is it a Problem? nah, but something is wrong!!!!


    i have a strange problem. i have a IBM client machine with a sata HDD , RHEL 5.0 and a internal DVD writer. the HDD is detected as /dev/sda when the writed is with the machine, but when i pull out the internal DVD writer RHEL crashes and i have to change the fstab entry to /dev/hda. kinda strange , i didn't understood it. any ideas.
    There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    The way that Fedora has begun getting around this problem (as external hard drives become more common) was to use the LABEL=XYZXYZXYZ123 in place of the /dev/sd? notation. I don't know much more about it, because I've never manualy done this, but you should be able to google more from that.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Could you post the contents of /etc/fstab file and output of df -h command here?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Check the BIOS settings. I expect that the sata->ata/ide translation feature is enabled so that Windows XP prior to SP3 can boot and run. As a result, if only the HDD is there, the OS is reverting to the old style of device naming, yet your /etc/fstab is set to /dev/sda because when you installed the OS the DVD writer was there. The other thing is that you should use labels for your hard drive partitions so that if this sort of thing happens, /etc/fstab is still correct for mounting your file systems. In my CentOS 5 system, the system entries in /etc/fstab are configured this way:
    Code:
    LABEL=/                 /                       ext3    defaults        1 1
    LABEL=/boot1            /boot                   ext3    defaults        1 2
    Note that they don't refer to the device name at all.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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