RAID1 removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I tried to remove a hot-swap RAID1 SCSI disk from the chassis. So I issued
the following command

> raidsetfaulty /dev/md4 /dev/sdd6
> raidhotremove /dev/md4 /dev/sdd6

But got the following message,

/dev/md4: cannot hot-remove disk: disk is not in array!

So I presume the disk is offline or something, and issued the following
command

echo "scsi remove-single-device 1 0 3 0" > /proc/scsi/scsi

When I checked the newly created /proc/scsi/scsi, the device is still listed
in the file. I checked /proc/mdstat and saw the following

md4: active raid1 scsi/host1/bus0/target2/lun0/part6[0]
     521984 blocks [2/1][U_]

How do I remove the device, so I can add a new device to reconstruct the
array again? Please give me a few pointers?

Regards,
Norman



-
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux