On 11/06/06, Gregory Shaw <[EMAIL PROTECTED]> wrote:
Pardon me if this scenario has been discussed already, but I haven't
seen anything as yet.
I'd like to request a 'zpool evacuate pool <device>' command.
'zpool evacuate' would migrate the data from a disk device to other
disks in the pool.
Here's the scenario:
Say I have a small server with 6x146g disks in a jbod
configuration. If I mirror the system disk with SVM (currently) and
allocate the rest as a non-raidz pool, I end up with 4x146g in a pool
of approximately 548gb capacity.
If one of the disks is starting to fail, I would need to use 'zpool
replace new-disk old-disk'. However, since I have no more slots in
the machine to add a replacement disk, I'm stuck.
This is where a 'zpool evacuate pool <device>' would come in handy.
It would allow me to evacuate the failing device so that it could be
replaced and re-added with 'zpool add pool <device>'.
That makes sense to me - seems a good parallel to what
pvmove(8) does on Linux LVM. Useful not just for imminent failure,
but whenever you need to free up a physical partition (you realise you
need to dual-boot a laptop, for example).
I suppose this is only useful in the 'concatenated disk' (~raid0)
case (as you could just pull the disk otherwise).
--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss