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:
thanks for reading. [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 zfs-zed.service loaded inactive dead ZFS Event Daemon (zed) zfs-import.target loaded inactive dead ZFS pool import target zfs.target loaded inactive dead ZFS startup target [root@localhost ~]#
[root@localhost ~]# systemctl list-unit-files | grep zfs zfs-import-cache.service enabled zfs-import-scan.service disabled zfs-import.service masked zfs-mount.service enabled zfs-share.service enabled zfs-volume-wait.service enabled zfs-zed.service enabled zfs-import.target enabled zfs-volumes.target disabled zfs.target enabled [root@localhost ~]#preset the ZFS services:
[root@localhost ~]# systemctl preset zfs-import-cache [root@localhost ~]# systemctl preset zfs-mount [root@localhost ~]# systemctl preset zfs-share [root@localhost ~]# systemctl preset zfs-zed [root@localhost ~]# systemctl preset zfs-import-scan [root@localhost ~]# systemctl preset zfs.target [root@localhost ~]# systemctl enable zfs-import-scan.service Created symlink /etc/systemd/system/zfs-import.target.wants/zfs-import-scan.service → /usr/lib/systemd/system/zfs-import-scan.service. [root@localhost ~]#
[root@localhost ~]# systemctl list-unit-files | grep zfs zfs-import-cache.service enabled zfs-import-scan.service enabled zfs-import.service masked zfs-mount.service enabled zfs-share.service enabled zfs-volume-wait.service enabled zfs-zed.service enabled zfs-import.target enabled zfs-volumes.target disabled zfs.target enabled [root@localhost ~]#Creation of zpool:
[root@localhost ~]# zpool create data /dev/sdb /dev/sdc [root@localhost ~]#
regards,
ZAHEER
Comments