Skip to main content

Posts

Showing posts with the label ZFS

Deploying Oracle Solaris ZFS on Oracle Linux 9 – Clarification and Practical Options

 In this blogpost its important to clarify a common point of confusion: ZFS as implemented in Oracle Solaris is not directly available on Oracle Linux . Oracle’s version of ZFS— ZFS on Solaris (Solaris ZFS) —is tightly integrated with the Solaris kernel and is proprietary. Oracle Linux, on the other hand, is based on the Red Hat ecosystem and uses the Unbreakable Enterprise Kernel (UEK) , which does not include Oracle’s Solaris ZFS . However, you can deploy a version of ZFS on Oracle Linux 9 using the OpenZFS project, which is the open-source continuation of ZFS development. Enable Required Repositories: Oracle Linux does not include OpenZFS by default. Use the EPEL repository or build from source, but the cleanest method is usually via kmods or DKMS packages . sudo dnf install -y epel-release Install OpenZFS You can build from source or install from the OpenZFS packages . A third-party repository such as ZFS-on-Linux or a compiled RPM may be available. dnf install -y https://...

Creation of ZPOOL on Oracle Linux 8

In the last blog post we have seen how we can install the ZFS rpm packages on Oracle Linux 8 Operating System and now in this blog post, we will see how to configure and create the zpool on Oracle Linux 8 operating system.  Check the ZFS services: [root@localhost ~]# systemctl -a | grep zfs zfs-import-cache.service loaded inactive dead Import ZFS pools by cache file zfs-mount.service loaded inactive dead Mount ZFS filesystems zfs-share.service loaded inactive dead ZFS file system shares ...

Installation of ZFS rpm's on Oracle Linux 8

In this blog post, we will see how we can install the ZFS rpm packages on Oracle Linux 8 operating system. Install pre-requiste package: [root@localhost ~]# dnf install -y yum-utils Last metadata expiration check: 1:16:13 ago on 25 May 2023 03:34:37 AM EDT. Package yum-utils-4.0.21-19.0.1.el8_8.noarch is already installed. Dependencies resolved. Nothing to do. Complete! [root@localhost ~]# Install the EPEL repository: [root@localhost ~]# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Last metadata expiration check: 1:17:42 ago on Wed 31 May 2023 03:34:37 AM EDT. epel-release-latest-8.noarch.rpm 33 kB/s | 25 kB 00:00 Dependencies resolved. ==========================================================================================================================================================...

ZFS - Unable to build pool from specified devices: device already in use

We have encountered the following Error while creating the zpool on one of the Oracle Solaris Server. The zpool volume creation failed. root@SOLSRV-CDM1:~# zpool create drdata c0t5000CCA03C5D3274d0 c0t5000CCA03C591A18d0 c0t5000CCA03C5C8818d0 c0t5000CCA03C5BFC6Cd0 c0t5000CCA03C5D69F4d0 vdev verification failed: use -f to override the following errors: /dev/dsk/c0t5000CCA03C5D3274d0s0 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s1 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s0 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s1 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s2 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s3 is part of exported or potentially active ZFS pool rpool. P...