dudekula mastan wrote:
Is it possible to create a ZPool on SVM volumes ? What are the limitations for this ?

Not as far as I am aware. libdiskmgmt gets in the
way - it protects you.

This is incorrect. If you attempt to use the same underlying disks, then libdiskmgmt will protect you.

But if you use the SVM block volumes, you can certainly do this:

9:00 elpaso [~] {4:0}% zpool status riogrande
  pool: riogrande
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: none requested
config:

        NAME                    STATE     READ WRITE CKSUM
        riogrande               ONLINE       0     0     0
          /dev/md/gate/dsk/d50  ONLINE       0     0     0
          /dev/md/gate/dsk/d51  ONLINE       0     0     0
          /dev/md/gate/dsk/d52  ONLINE       0     0     0
          /dev/md/gate/dsk/d53  ONLINE       0     0     0
          /dev/md/gate/dsk/d54  ONLINE       0     0     0
          /dev/md/gate/dsk/d55  ONLINE       0     0     0

errors: No known data errors
9:00 elpaso [~] {5:0}%

....in this example, the SVM volumes are part of a named diskset. That is NOT required, and this will also work correctly on volumes from the local diskset.

The interaction of ZFS and SVM creates no new, interesting limitations, beyond those that pertain to ZFS or SVM in isolation.

As a practical measure, you should probably not be duplicating levels of striping or redundancy in both layers.

--Mark
_______________________________________________
zfs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to