From owner-freebsd-current@FreeBSD.ORG Sat May 11 14:26:33 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AB8D6627; Sat, 11 May 2013 14:26:33 +0000 (UTC) (envelope-from universite@ukr.net) Received: from ffe12.ukr.net (ffe12.ukr.net [195.214.192.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2D387A7A; Sat, 11 May 2013 14:26:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Date:Message-Id:From:To:References:In-Reply-To:Subject:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=QKlP0WCPNjs9unF0crnSa5BZeMHyevktw3zsKY5IK2s=; b=bvKBpjDtaytur6ZZ0nsoATqwx9FMXvLKKNVkLTPCtz0JSDeYNP9hdqX8PFSMWuuF0u+yRLZdOx+fsYtV1zLclFgsAdjDI4hsztCMYD3dzWnZgH9GNiEjQh4c78ze5ncZ+bJ/S4M1ULvBCvMyI1odnGaRX/3DakynOy8tAyhfBMw=; Received: from mail by ffe12.ukr.net with local ID 1UbAUS-0009Ds-KP ; Sat, 11 May 2013 17:09:36 +0300 MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain; charset="utf-8" Subject: Re[2]: Tell me how to increase the virtual disk with ZFS? In-Reply-To: <5C2B4C2B-BAF2-49C1-8554-319EB5FE6C3B@kraus-haus.org> References: <43529.1368277152.10278121996412321792@ffe11.ukr.net> <5C2B4C2B-BAF2-49C1-8554-319EB5FE6C3B@kraus-haus.org> To: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, freebsd-questions@freebsd.org From: "Vladislav Prodan" X-Mailer: freemail.ukr.net 4.0 Message-Id: <22011.1368281376.17500373698194767872@ffe12.ukr.net> Date: Sat, 11 May 2013 17:09:36 +0300 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2013 14:26:33 -0000 > On May 11, 2013, at 8:59 AM, "Vladislav Prodan" wrote: > > > Add another virtual disk and do a RAID0 - not an option. It is not clear how to distribute the data from the old virtual disk to the new virtual disk. > The other option would be to add an additional disk that is as large as you want to the VM, attach it to the zpool as a mirror. The mirror vdev will only be as large as the original device, but once the mirror completes resilvering, you can remove the old device and grow the remaining device to full size (it may do that anyway based on the setting of the auto expand property of the zpool. The default under 9.1 is NOT to autoexpand: > > root@FreeBSD2:/root # zpool get autoexpand rootpool > NAME PROPERTY VALUE SOURCE > rootpool autoexpand off default > root@FreeBSD2:/root # Thanks. I did not realize that there was such an interesting and useful option :) # zpool get autoexpand tank NAME PROPERTY VALUE SOURCE tank autoexpand off default -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE