Mailinglist Archive: opensuse (1503 mails)

< Previous Next >
Re: [opensuse] scsi
On Fri, 2009-10-02 at 08:26 +0200, Per Jessen wrote:
Hans Witvliet wrote:


Googling i found out that it is supposed to be solved by using
disk-labels instead of the disk-device-name.
This might very well work when mounting disks individualy, but i
failed to see how a softraid can be told to use labels.

You're talking about how to refer to the drives when you create the
arrays with mdadm? Once they're created, the drive-letters assigned to
the individual drives should not matter, AFAIK. Regardless, another
way of referring to drive is with /dev/disk/by-path/

No, the drive-letters do matter, not the path (yet, perhaps)
cat /proc/mdstat
Personalities : [linear] [raid6] [raid5] [raid4]
md1 : active raid5 sdl1[6] sdg1[0] sdk1[5] sdj1[3] sdi1[2] sdh1[1]
1171844608 blocks super 1.0 level 5, 128k chunk, algorithm 0 [6/6]
[UUUUUU]
[====>................] reshape = 24.3% (71381248/292961152)
finish=2408.4min speed=1530K/sec
bitmap: 14/280 pages [56KB], 512KB chunk


The only Q&D-way i could solve it last night, was by moving all the
disks one position, so that the new disk became the last in position:

Original:
[0:0:2:0] disk COMPAQ BD14688278 HPB2 /dev/sda
[0:0:3:0] disk COMPAQ BD14688278 HPB2 /dev/sdb
[0:0:4:0] disk COMPAQ BD14689BB9 HPB1 /dev/sdc
[0:0:5:0] disk COMPAQ BD14687B52 HPB8 /dev/sdd
[0:0:8:0] disk COMPAQ BD14687B52 HPB8 /dev/sde
[0:0:9:0] disk COMPAQ BD14689BB9 HPB1 /dev/sdf
[0:0:11:0] disk COMPAQ BF3008B26C HPB9 /dev/sdg
[0:0:12:0] disk COMPAQ BF3008B26C HPB9 /dev/sdh
[0:0:13:0] disk COMPAQ BD30089BBA HPB1 /dev/sdi
[0:0:14:0] disk COMPAQ BF3008B26C HPB9 /dev/sdj
[0:0:15:0] disk COMPAQ BF3008B26C HPB9 /dev/sdk

new:
[0:0:2:0] disk COMPAQ BD14688278 HPB2 /dev/sda
[0:0:3:0] disk COMPAQ BD14688278 HPB2 /dev/sdb
[0:0:4:0] disk COMPAQ BD14689BB9 HPB1 /dev/sdc
[0:0:5:0] disk COMPAQ BD14689BB9 HPB1 /dev/sdd
[0:0:8:0] disk COMPAQ BD14687B52 HPB8 /dev/sde
[0:0:9:0] disk COMPAQ BD14689BB9 HPB1 /dev/sdf
[0:0:10:0] disk COMPAQ BF3008B26C HPB9 /dev/sdg
[0:0:11:0] disk COMPAQ BF3008B26C HPB9 /dev/sdh
[0:0:12:0] disk COMPAQ BD30089BBA HPB1 /dev/sdi
[0:0:13:0] disk COMPAQ BF3008B26C HPB9 /dev/sdj
[0:0:14:0] disk COMPAQ BF3008B26C HPB9 /dev/sdk
[0:0:15:0] disk COMPAQ BF3008AFEC HPB1 /dev/sdl
sdg..sdk all moved-down one scsi-id


It would be nice though if soft-raids made my yast, would be using the
disk-name (BD14688278 or so) instead of the drive-letter (sda)

Hans
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups