Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

/dev/sd device addresses change

hardware

  • Please log in to reply
5 replies to this topic

#1 Pan

Pan

    CC Resident

  • Just Joined
  • PipPipPipPip
  • 59 posts

Posted 08 October 2007 - 11:51 AM

Every time we reboot our Linux ES 4 machine the device addresses for our hard drives change. This causes problems with mounting and some of our software that accesses these mounted drives. Anyone know how to resolve this issue or how to lock the drives down to one address?
  • 0

#2 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 11 October 2007 - 02:27 PM

Do the hard drive addresses change or is it the partition addresses? I've seen this happen when it is connected to a SAN or a RAID. Are they connected to either and is that HD the mounted partition that changes addresses?
  • 0

#3 Pan

Pan

    CC Resident

  • Just Joined
  • PipPipPipPip
  • 59 posts

Posted 12 October 2007 - 06:07 AM

Yes, it is connected to a SAN. I believe that the multithreading is what causes this problem? Any idea how to resolve it?

Yes, it is only the partitions of the HD. The devices stay the same (/dev/sda)
  • 0

#4 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 15 October 2007 - 04:10 AM

The solution to this is to label your partitions and remount in /etc/fstab with those partition names instead of the device name.

To label a partition:
e2label <partition> <label>

  • 0

#5 Pan

Pan

    CC Resident

  • Just Joined
  • PipPipPipPip
  • 59 posts

Posted 24 October 2007 - 04:56 AM

Thanks, works!
  • 0

#6 Oigen

Oigen

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 105 posts

Posted 19 June 2008 - 01:48 AM

That's pretty weird, you have to write commands for it to work?
  • 0





Also tagged with one or more of these keywords: hardware

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download