linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* changing major/minor numbers
@ 2002-05-16 23:34 Kirill Malkin
  2002-05-20 11:27 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill Malkin @ 2002-05-16 23:34 UTC (permalink / raw)
  To: 'linux-raid@vger.kernel.org'

Hi,

I have a basic question about Linux RAID implementation: how to recover or
restart a RAID set when the individual disks are moved to a different SCSI
ID, i.e. when their minor (or major or both) number(s) change?

I've experimented with a RAID-1 configuration and found that whenever I move
one of the disks to a different SCSI ID, the set must be recovered manually
(i.e. raidhotadd) and the kernel initiates a full copy, even if raidtab is
manually updated (I guess the system simply looks at the superblocks as the
first choice). Is it possible to restart the set automatically or at least
avoid the full copy?

Another question: is there a utility that could identify RAID sets before
they are started, such as display the superblock contents and verify whether
any devices are missing or have been moved? There seems to be a considerable
amount of code, both in kernel and in raidtools, that prints out the content
of the superblocks, but only if there is a problem or debug mode is on.

The main reason behind these questions is the emergence of iSCSI devices
that could be connected in a random order thus breaking RAID functionality.
It would be nice to identify such devices up-front, make necessary
configuration changes and restart complete RAID sets without the full copy,
even if the disks come up as different major/minor numbers. Please let me
know if there's been any thinking in this direction.

Thank you in advance,
Kirill



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-20 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-16 23:34 changing major/minor numbers Kirill Malkin
2002-05-20 11:27 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).