Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #2039 > unrolled thread

Re-assignement of hard drives

Started byÁngel Gutiérrez Rodríguez <angel_gr@terra.es>
First post2011-02-10 10:01 +0100
Last post2011-02-12 08:58 +0100
Articles 3 — 3 participants

Back to article view | Back to comp.os.linux.hardware


Contents

  Re-assignement of hard drives Ángel Gutiérrez Rodríguez <angel_gr@terra.es> - 2011-02-10 10:01 +0100
    Re: Re-assignement of hard drives Lusotec <nomail@nomail.not> - 2011-02-10 15:31 +0000
    Re: Re-assignement of hard drives Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2011-02-12 08:58 +0100

#2039 — Re-assignement of hard drives

FromÁngel Gutiérrez Rodríguez <angel_gr@terra.es>
Date2011-02-10 10:01 +0100
SubjectRe-assignement of hard drives
Message-ID<ij09dm$qdk$1@speranza.aioe.org>
Hi,
 We have some computers running scientific Linux that share an internal DVD 
unit (we chenage it to the one needed). The problem we've found is that 
plugging in that unit changes the way the OS "labels" the disks. This is 
(just an hypotetical example):
			/		/home		DVD-unit
Without DVD-unit	/dev/hda1	/dev/hdb1
With DVD-unit		/dev/hdc1	/dev/hdd1	/dev/hda

Is there a way I can keep that assignemnt fixed ? Anywhere I can find info 
about it?

Thanks in advance,
-- 
Ángel Gutiérrez Rodríguez

[toc] | [next] | [standalone]


#2043

FromLusotec <nomail@nomail.not>
Date2011-02-10 15:31 +0000
Message-ID<ij10bq$dks$2@news.eternal-september.org>
In reply to#2039
Ángel Gutiérrez Rodríguez wrote:
> Is there a way I can keep that assignemnt fixed ? Anywhere I can find info
> about it?

Look in /dev/disk/

$ ls -la /dev/disk/
by-id/
by-label/
by-path/
by-uuid/

UUID and LABEL depend on what CD/DVD is inserted in the drive by id and path 
are dependent on the hardware and how it is connected so I would go with 
those.

Regards.

[toc] | [prev] | [next] | [standalone]


#2049

FromHenrik Carlqvist <Henrik.Carlqvist@deadspam.com>
Date2011-02-12 08:58 +0100
Message-ID<pan.2011.02.12.07.58.05.26730@deadspam.com>
In reply to#2039
Ángel Gutiérrez Rodríguez <angel_gr@terra.es> wrote:
>  We have some computers running scientific Linux that share an internal DVD 
> unit (we chenage it to the one needed). The problem we've found is that 
> plugging in that unit changes the way the OS "labels" the disks. This is 
> (just an hypotetical example):
> 			/		/home		DVD-unit
> Without DVD-unit	/dev/hda1	/dev/hdb1
> With DVD-unit		/dev/hdc1	/dev/hdd1	/dev/hda
> 
> Is there a way I can keep that assignemnt fixed ? Anywhere I can find info 
> about it?

/dev/hda is the master on your primary ide interface.
/dev/hdb is the slave on your primary ide interface
/dev/hdc is the master on your secondary ide interface
/dev/hdd is the slave on your secondary ide interface

It seems to me as if you have connected your DVD as the single drive on
your primary ide interface and connected your hard drives to the secondary
interface. Usually it is a better idea to connect the booting hard drive
as master to your primary ide interface.

I would say that you should simply switch the ide connections on your
motherboard to fix this problem.

regards Henrik
-- 
The address in the header is only to prevent spam. My real address is:
hc123(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.hardware


csiph-web