Re: [zfs-discuss] possible to remove a mirror pair from a zpool?

2010-01-10 Thread Dennis Clarke

> No, sorry Dennis, this functionality doesn't exist yet, but
> is being worked,
> but will take a while, lots of corner cases to handle.
>
> James Dickens
> uadmin.blogspot.com

1 ) dammit

2 ) looks like I need to do a full offline backup and then restore
to shrink a zpool.

As usual, Thanks for always being there James.

Dennis

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] possible to remove a mirror pair from a zpool?

2010-01-10 Thread James Dickens
No, sorry Dennis, this functionality doesn't exist yet, but is being worked,
but will take a while, lots of corner cases to handle.

James Dickens
uadmin.blogspot.com


On Sun, Jan 10, 2010 at 3:23 AM, Dennis Clarke wrote:

>
> Suppose the requirements for storage shrink ( it can happen ) is it
> possible to remove a mirror set from a zpool?
>
> Given this :
>
> # zpool status array03
>  pool: array03
>  state: ONLINE
> status: The pool is formatted using an older on-disk format.  The pool can
>still be used, but some features are unavailable.
> action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
>pool will no longer be accessible on older software versions.
>  scrub: resilver completed after 0h41m with 0 errors on Sat Jan  9
> 22:54:11 2010
> config:
>
>NAME STATE READ WRITE CKSUM
>array03  ONLINE   0 0 0
>  mirror ONLINE   0 0 0
>c2t16d0  ONLINE   0 0 0
>c5t0d0   ONLINE   0 0 0
>  mirror ONLINE   0 0 0
>c5t1d0   ONLINE   0 0 0
>c2t17d0  ONLINE   0 0 0
>  mirror ONLINE   0 0 0
>c5t2d0   ONLINE   0 0 0
>c2t18d0  ONLINE   0 0 0
>  mirror ONLINE   0 0 0
>c2t20d0  ONLINE   0 0 0
>c5t4d0   ONLINE   0 0 0
>  mirror ONLINE   0 0 0
>c2t21d0  ONLINE   0 0 0
>c5t6d0   ONLINE   0 0 0
>  mirror ONLINE   0 0 0
>c2t19d0  ONLINE   0 0 0
>c5t5d0   ONLINE   0 0 0
>spares
>  c2t22d0AVAIL
>
> errors: No known data errors
>
> Suppose I want to power down the disks c2t19d0 and c5t5d0 because they are
> not needed. One can easily picture a thumper with many disks unused and
> see reasons why one would want to power off disks.
>
> --
> Dennis
>
> ___
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] possible to remove a mirror pair from a zpool?

2010-01-10 Thread Dennis Clarke

Suppose the requirements for storage shrink ( it can happen ) is it
possible to remove a mirror set from a zpool?

Given this :

# zpool status array03
  pool: array03
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
pool will no longer be accessible on older software versions.
 scrub: resilver completed after 0h41m with 0 errors on Sat Jan  9
22:54:11 2010
config:

NAME STATE READ WRITE CKSUM
array03  ONLINE   0 0 0
  mirror ONLINE   0 0 0
c2t16d0  ONLINE   0 0 0
c5t0d0   ONLINE   0 0 0
  mirror ONLINE   0 0 0
c5t1d0   ONLINE   0 0 0
c2t17d0  ONLINE   0 0 0
  mirror ONLINE   0 0 0
c5t2d0   ONLINE   0 0 0
c2t18d0  ONLINE   0 0 0
  mirror ONLINE   0 0 0
c2t20d0  ONLINE   0 0 0
c5t4d0   ONLINE   0 0 0
  mirror ONLINE   0 0 0
c2t21d0  ONLINE   0 0 0
c5t6d0   ONLINE   0 0 0
  mirror ONLINE   0 0 0
c2t19d0  ONLINE   0 0 0
c5t5d0   ONLINE   0 0 0
spares
  c2t22d0AVAIL

errors: No known data errors

Suppose I want to power down the disks c2t19d0 and c5t5d0 because they are
not needed. One can easily picture a thumper with many disks unused and
see reasons why one would want to power off disks.

-- 
Dennis

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss