* raid1 reconfig failed to work! help!
@ 2002-10-02 12:41 Alex
0 siblings, 0 replies; 2+ messages in thread
From: Alex @ 2002-10-02 12:41 UTC (permalink / raw)
To: linux-raid
Hello Raid experts,
I have already a working raid1-soft configured as you see below:
[root@server root]# cat /etc/raidtab
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 32
persistent-superblock 1
device /dev/sdb1
raid-disk 0
device /dev/sdc1
raid-disk 1
Now i tryed to add a spare hdd. For this, i edited a newraidtab file:
[root@server root]# cat /etc/newraidtab
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 1
chunk-size 32
persistent-superblock 1
device /dev/sdb1
raid-disk 0
device /dev/sdc1
raid-disk 1
device /dev/sdb1
spare-disk 0
after that:
[root@server root]# raidstop /dev/md0
/dev/md0: device already stopped
[root@server root]# raidreconf -o /etc/raidtab -n /etc/newraidtab -m
/dev/md0
Working with device /dev/md0
Parsing /etc/raidtab
Parsing /etc/newraidtab
Size of old array: 22532032 blocks, Size of new array: 32774048 blocks
No source driver available for level 1
reconfiguration failed
What is wrong? I can`t understand why is not working!
Any suggestion will be appreciated.
Regards,
Alex
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: raid1 reconfig failed to work! help!
@ 2002-10-02 12:55 Cress, Andrew R
0 siblings, 0 replies; 2+ messages in thread
From: Cress, Andrew R @ 2002-10-02 12:55 UTC (permalink / raw)
To: 'Alex', linux-raid
Alex,
Oops, I believe you have two errors in your raidtab:
You used /dev/sdb1 twice, when you probably meant /dev/sdd1.
You need to use the next index (2) rather than 0 for the spare-disk.
Also, make sure you can "modprobe raid1" on your kernel.
Andy
-----Original Message-----
From: Alex [mailto:devel@qnet.ro]
Sent: Wednesday, October 02, 2002 8:42 AM
To: linux-raid@vger.kernel.org
Subject: raid1 reconfig failed to work! help!
Hello Raid experts,
I have already a working raid1-soft configured as you see below:
[root@server root]# cat /etc/raidtab
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 32
persistent-superblock 1
device /dev/sdb1
raid-disk 0
device /dev/sdc1
raid-disk 1
Now i tryed to add a spare hdd. For this, i edited a newraidtab file:
[root@server root]# cat /etc/newraidtab
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 1
chunk-size 32
persistent-superblock 1
device /dev/sdb1
raid-disk 0
device /dev/sdc1
raid-disk 1
device /dev/sdb1
spare-disk 0
after that:
[root@server root]# raidstop /dev/md0
/dev/md0: device already stopped
[root@server root]# raidreconf -o /etc/raidtab -n /etc/newraidtab -m
/dev/md0
Working with device /dev/md0
Parsing /etc/raidtab
Parsing /etc/newraidtab
Size of old array: 22532032 blocks, Size of new array: 32774048 blocks
No source driver available for level 1
reconfiguration failed
What is wrong? I can`t understand why is not working!
Any suggestion will be appreciated.
Regards,
Alex
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-02 12:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-02 12:41 raid1 reconfig failed to work! help! Alex
-- strict thread matches above, loose matches on Subject: below --
2002-10-02 12:55 Cress, Andrew R
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).