ZFS is a type of file system presenting a pooled storage model that is provided by Oracle for Solaris. File systems can directly draw from a common storage pool (zpool). Veritas Volume Manager (VxVM) can be used on the same system as ZFS disks.
VxVM protects devices in use by ZFS from any VxVM operations that may overwrite the disk. These operations include initializing the disk for use by VxVM or encapsulating the disk. If you attempt to perform one of these VxVM operations on a device that is in use by ZFS, VxVM displays an error message.
Before you can manage a ZFS disk with VxVM, you must remove it from ZFS control. Similarly, to begin managing a VxVM disk with ZFS, you must remove the disk from VxVM control.
To determine if a disk is in use by ZFS
# vxdisk list DEVICE TYPE DISK GROUP STATUS c1t0d0s2 auto:none - - online invalid c1t1d0s2 auto:none - - online invalid c2t5006016130603AE5d2s2 auto:ZFS - - ZFS c2t5006016130603AE5d3s2 auto:SVM - - SVM c2t5006016130603AE5d4s2 auto:cdsdisk - - online c2t5006016130603AE5d5s2 auto:cdsdisk - - online
To reuse a VxVM disk as a ZFS disk
To remove the disk from the disk group:
# vxdg [-g diskgroup] rmdisk diskname
To destroy the disk group:
# vxdg destroy diskgroup
# /usr/lib/vxvm/bin/vxdiskunsetup diskname
See the Oracle documentation for details.
You must perform step 1 and step 2 in order for VxVM to recognize a disk as ZFS device.
To reuse a ZFS disk as a VxVM disk
See the Oracle documentation for details.
# dd if=/dev/zero of=/dev/rdsk/c#t#d#s# oseek=16 bs=512 count=1
Where c#t#d#s# is the disk slice on which the ZFS device is configured. If the whole disk is used as the ZFS device, clear the signature block on slice 0.