From owner-freebsd-fs@FreeBSD.ORG Fri Oct 15 18:37:35 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAE511065670 for ; Fri, 15 Oct 2010 18:37:35 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6A3FA8FC15 for ; Fri, 15 Oct 2010 18:37:35 +0000 (UTC) Received: by gwb20 with SMTP id 20so583850gwb.13 for ; Fri, 15 Oct 2010 11:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=0oTfQmYt3RCoQ3MlfVDyqYin1olnPPAq0+S8rl8slwM=; b=F0hXwi6Y1UZCPoWC1VWw6/KcUrGJITwabhb7kfOaVlMQ5/XKwD4sqZJxDZOk5+AOy1 kkg2CAQITO9Sr/uys+GtzQkPfD2yl66BOLtrmlFkgQP43LyuHYN+FxI7P3QAPiIhFJYM KGdggfuj8qHpFH/7q/OAb9KVypNPbEpl4BtXU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tDTqxlUlU9Zj3HbEShZcTZopQso7LEUiU7//jFspTy6Igg7MFRxE9U/ASuTg3C8Yat 9qy842rT0gTVs8BRiFQGDaYzObg0vZ9bVzNveqnlvUe4jeZtjr8UTI5hAjRNGhIwrg6B yeHPsBsKoQ1PHXe77EGtbCTdZQqKkpSHtUrIA= MIME-Version: 1.0 Received: by 10.90.116.12 with SMTP id o12mr82211agc.195.1287167854597; Fri, 15 Oct 2010 11:37:34 -0700 (PDT) Received: by 10.90.56.10 with HTTP; Fri, 15 Oct 2010 11:37:34 -0700 (PDT) Date: Fri, 15 Oct 2010 11:37:34 -0700 Message-ID: From: Freddie Cash To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Converting a non-HAST ZFS pool to a HAST pool X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2010 18:37:35 -0000 Has anyone looked into, attempted, or considered converting a non-HAST ZFS pool configuration into a HAST one? While the pool is live and the server is in use. Would it even be possible? For example, would the following work (in a pool with a single raidz2 vdev, where the underlying GEOM provider is glabel) - zpool offline 1 drive (pool is now running degraded) - configure hastd in master mode with a single provider using the "offline" disk (hast metadata takes the place of glabel metadata) - zpool replace the offline drive using the /dev/hast/whatever provider - wait for ZFS to resilver the device - repeat for each disk in the vdev Is it possible to change the hast configuration and reload hastd to pick up new providers, without restarting it? Without losing the /dev/hast devices? Or would it require a restart, which would cause the /dev/hast/* devices to disappear, thus b0rking the pool? Just wondering how hard it's going to be to move from our current setup (backup server 1 rsync'd to backup server 2) to a HAST setup (server 1 hast master with server 2 hast slave). If the above won't work, then I guess I'll have to grab a third storage box, configure that as a hast box, copy the data over, destroy server 2, configure it as a hast box, and let them sync. -- Freddie Cash fjwcash@gmail.com