[OmniOS-discuss] ZFS on iSCSI Target. OmniOS as Initiator

Mark Harrison mark at omniti.com
Thu Feb 27 16:04:20 UTC 2014


Good point. I probably should have added the disclaimer that I haven't
tested this with iscsi devices directly, and was working on the
assumption that the device would suddenly show as a larger device with
all data intact.

If that's not possible, then one possible may of making this work
would be requesting a second device of the larger size, adding it to
the pool as a mirror, waiting for the resilver to finish, and then
removing the smaller device.

On Thu, Feb 27, 2014 at 10:56 AM, Dan Swartzendruber <dswartz at druber.com> wrote:
>> If you have the pool on the raw device (i.e. you haven't created any
> slices/partitions and instructed zfs to use the whole 'disk'), and the
> device suddenly appears to the OS with a larger size, then ZFS will use
> all the space available. This also applies to physical drives, where if
> you replace all the mirrored drives in a pool or top level vdev with
> larger drives, the pool will suddenly be larger.
>
> Mark, you are talking about a scenario where a pool has redundancy.  You
> replace a disk with a larger one and it resilvers, using the new size.  He
> has (it seems) a single drive in that vdev.  By definition, you can't
> replace it without losing all the data, no?
>
>
>
>



-- 
Mark Harrison
Lead Site Reliability Engineer
OmniTI


More information about the OmniOS-discuss mailing list