zfs-discuss@opensolaris.org
[Top] [All Lists]

Re: [zfs-discuss] Can you create a degraded raidz vdev?

Subject: Re: [zfs-discuss] Can you create a degraded raidz vdev?
From: Matthew Ahrens
Date: Thu, 14 Jun 2007 10:14:39 -0700
Chris Csanady wrote:
On 6/14/07, Paul Hedderly <paul+os@xxxxxxx> wrote:

Is this currently possible?

You may be able to do this my specifying a sparse file for the last
device, and then immediately issuing a "zpool offline" of it after the
pool is created.  It seems to work, and I was able to create a pool
that way with no complaints.

You can create a 400GB sparse file with something like:

dd if=/dev/zero bs=1024k count=1 seek=400000 of=/path/to/vdev_file

Alternatively:
mkfile -n 400g

--matt
_______________________________________________
zfs-discuss mailing list
zfs-discuss@xxxxxxxxxxxxxxx
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

<Prev in Thread] Current Thread [Next in Thread>