spare-disk and raidtab file

2001-05-23 Thread Andy Arvai
In a raid configuration with a spare disk, if one of the active disks fails, then the spare disk is automatically configured to replace the failed disk. If the failed disk is then replaced with raidhotremove / raidhotadd, this disk now becomes the spare disk. If this happens should I modify the

RE: spare-disk and raidtab file

2001-05-23 Thread Bene, Martin
Hi Andy, In a raid configuration with a spare disk, if one of the active disks fails, then the spare disk is automatically configured to replace the failed disk. If the failed disk is then replaced with raidhotremove / raidhotadd, this disk now becomes the spare disk. If this happens

Raidtab recreation?

2001-05-23 Thread danci
Could /etc/raidtab be recreated by some script/utility to reflect the actual situation? Such an utility would be really usefull... Regards, ___ |Danilo Godec| Agenda d.o.o.| ISP for business | | jr. Syst. Admin

Re: Raidtab recreation?

2001-05-23 Thread Thomas Waldmann
Could /etc/raidtab be recreated by some script/utility to reflect the actual situation? Such an utility would be really usefull... No ready to use utility, but this command is quite useful for getting infos out of the RAID 0.90 superblock: dd if=/dev/sda3 bs=1k skip=22425536 count=4 | od -Ax

[PATCH] raid1 to use sector numbers in b_blocknr

2001-05-23 Thread Neil Brown
Linus, raid1 allocates a new buffer_head when passing a request done to an underlying device. It currently sets b_blocknr to b_rsector/(b_size9) from the original buffer_head to parallel other uses of b_blocknr (i.e. it being the number of the block). However, if raid1 gets a