Justin Piszcz wrote:
mdadm /dev/md0 --fail /dev/sda1

On Tue, 26 Jun 2007, Maurice Hilarius wrote:

...
From time to time I want to "degrade" back to only single disk, and turn
off RAID as the overhead has some cost
From time to time I want to restore to RAID1 function, and re-synch the
pair to current.

Yes, this is a backup scenario..

Are there any Recommendations ( with mdadm syntax)  please?

Plus

  mdadm /dev/md0 --remove /dev/sda1

to take the drive out of the array and

  mdadm /dev/md0 --add /dev/sda1

to put it back and start the re-sync.

When you mention "turn off RAID" do you mean to not even bring up the disk
as a degraded array?  If all you do is fail and remove the partition, RAID is
actually still running to manage the single remaining partition, but I would
expect that overhead to be minimal.
--
Mike Accetta

ECI Telecom Ltd.
Transport Networking Division, US (previously Laurel Networks)
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to