Re: Any updated VxVM VFS and ZFS comparisons
- From: cindy.swearingen@xxxxxxx
- Date: Tue, 9 Jun 2009 09:17:05 -0700 (PDT)
On Jun 9, 9:23 am, ddun...@xxxxxxxx (Darren Dunham) wrote:
Mark Round <mark.ro...@xxxxxxxxx> wrote:
If you want to create a block device (zfs create -V) you can't resize
that, with VxVM you can.
As you said, you can't shrink/remove from a pool yet. But resizing a
volume is no problem.
--
Darren
You should be careful if you're going to resize a volume with data,
making it
smaller might cause corruption.
The integration of ZFS root and install features includes using ZFS
volumes
for swap and dump devices and these volumes can be resized because
data
on these devices is overwritten as needed.
A couple more points to clarify because some of the ZFS existing
features
are misunderstood:
- Until device removal integrates, I would recommend using a ZFS
mirrored
configuration because it is more flexible in that you can attach/
detach devices
although the size of the pool remains the same. You can even convert a
non-redundant configuration to a mirrored configuration. Then, change
it
back if you change your mind. See the example below.
- You can add a RAID-Z vdev to an existing RAID-Z configuration, but
you cannot
outright remove devices from a RAIDZ configuration yet. See the
example below.
Cindy
Create a non-redundant ZFS configuration. Then, convert it to a
mirrored configuration:
# zpool create dpool c1t0d0 c1t1d0 c1t2d0
# zpool attach dpool c1t1d0 c1t3d0
# zpool attach dpool c1t0d0 c1t4d0
# zpool attach dpool c1t2d0 c1t5d0
# zpool status dpool
pool: dpool
state: ONLINE
scrub: resilver completed after 0h0m with 0 errors on Fri May 29
10:00:12 2009
config:
NAME STATE READ WRITE CKSUM
dpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c1t0d0 ONLINE 0 0 0
c1t4d0 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1t1d0 ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1t2d0 ONLINE 0 0 0
c1t5d0 ONLINE 0 0 0 34.5K resilvered
Create a RAIDZ storage pool with 3 devices, then add another 3-way
RAIDZ device:
# zpool create rzpool raidz c0t0d0 c1t1d0 c1t2d0
# zpool status
pool: rzpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
rzpool ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c0t0d0 ONLINE 0 0 0
c1t1d0 ONLINE 0 0 0
c1t2d0 ONLINE 0 0 0
errors: No known data errors
# zpool add rzpool raidz c1t3d0 c1t4d0 c1t5d0
# zpool status
pool: rzpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
rzpool ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c0t0d0 ONLINE 0 0 0
c1t1d0 ONLINE 0 0 0
c1t2d0 ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
c1t4d0 ONLINE 0 0 0
c1t5d0 ONLINE 0 0 0
.
- References:
- Any updated VxVM VFS and ZFS comparisons
- From: kartikvashishta108
- Re: Any updated VxVM VFS and ZFS comparisons
- From: Mark Round
- Re: Any updated VxVM VFS and ZFS comparisons
- From: kartikvashishta108
- Re: Any updated VxVM VFS and ZFS comparisons
- From: Mark Round
- Re: Any updated VxVM VFS and ZFS comparisons
- From: Darren Dunham
- Any updated VxVM VFS and ZFS comparisons
- Prev by Date: Re: Any updated VxVM VFS and ZFS comparisons
- Next by Date: Re: ZFS pool frequently going offline
- Previous by thread: Re: Any updated VxVM VFS and ZFS comparisons
- Next by thread: ZFS pool frequently going offline
- Index(es):
Relevant Pages
|