Skip to main content

Posts

Showing posts with the label zpool

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. ==========================================================================================================================================================...

Oracle Solaris Guest LDOM root file system is Full

Are you stuck in same situation where your guest ldom root file system is full and VM went into the transition mode? Then this is the right technical article that will help you to overcome this issue. We encountered this issue in one of our customer environments and were able to fix it successfully. Currently there are two volumes attached to to virtual machine DISK NAME VOLUME TOUT ID DEVICE SERVER MPGROUP ijrcrm5-vol1 ijrcrm5-vol1@primary-vds0 0 disk@0 primary ijrcrm1-vol2 ijrcrm5-vol2@primary-vds0 1 disk@1 primary ijrcrm5-vol1 is the OS volume attached to the VM root@IJRSVP-SOL-CDM1:/dev/zvol/dsk/rpool# zfs get volsize rpool/ijrcrm5-vol1 NAME PROPERTY VALUE SOURCE rpool/ijrcrm5-vol1 volsize 50G local root@IJRSVP-SOL-CDM1:/dev/zvol/dsk/rpool# Now we need to increase the volume size from the controller domain: root@IJRSVP-SOL-CDM1:/dev/zvol/dsk/rpool# zfs set volsize=70g rpool/ijrcrm5-vol1...

Creation of mirrored Zpool in Solaris 11.4

In this blogpost we will see how we can create a mirrored zpool for the newly added hard disks. One of our customer upgraded the capacity of Oracle S7-2L Servers and we need to provision the new zpool for the newly added devices. Check the newly connected drives: root@IJRERPS72L:/dev/rdsk# echo | format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t5000C500BC16E423d0 /scsi_vhci/disk@g5000c500bc16e423 /dev/chassis/SYS/HDD0/disk 1. c0t5000C500BC16EB9Fd0 solaris /scsi_vhci/disk@g5000c500bc16eb9f /dev/chassis/SYS/HDD1/disk 2. c0t5000C500BC16D847d0 solaris /scsi_vhci/disk@g5000c500bc16d847 /dev/chassis/SYS/HDD2/disk 3. c0t5000C500BC16D42Bd0 solaris /scsi_vhci/disk@g5000c500bc16d42b /dev/chassis/SYS/HDD3/disk 4. c0t5000C500BC16F047d0 solaris /scsi_vhci/disk@g5000c500bc16f047 /dev/chassis/SYS/HDD4/disk 5. c0t5000C500BC16D...

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...