• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

ZFS

Solaris – Changing from iSCSI Static Discovery to SendTargets Discovery

by admin

This post is to provide steps from changing iSCSI Static Discovery to SendTargets Discovery. If zones are configured, zones need to be halted before changing the iSCSI discovery method then boot afterward. If zpool is configured, zpool needs to be exported before changing the iSCSI discovery method then import afterward. Below are high level steps: […]

Filed Under: Solaris, Solaris 11, ZFS, Zones

Howto Verify If a Bootblk is Installed on the Boot Disk (SPARC)

by admin

This can be useful in troubleshooting if the system fails to boot with a suspected bootblk issues, or if you suspect something in the OS keeps overwriting the bootblk. For Solaris 10 Below is the output from a Solaris 10u4 with UFS, Solaris 10u6 with UFS, and a Solaris 10u6 with ZFS bootblock. The bootblk […]

Filed Under: Solaris, Solaris 11, ZFS

How to Configure iSCSI targets on Solaris 10

by admin

iSCSI target feature has been available since s10u7. Here is some information for setting up a basic iSCSI target configuration. High level steps to follow are as shown below : create a base directory configure the backing store Creating a target Add ACL to target 1. create a base directory The base directory is used […]

Filed Under: Solaris, ZFS

How to Import Zpool and Mount of BE When Booted From Alternate Device in Solaris 11

by admin

This post shows how to boot from an alternate device or media to update or fix a Solaris 11 instance. Boot the system from another bootable disk, installation DVD, or over the network. Ensure that the version of Solaris 11 on the alternate media matches the version of the Solaris 11 on the disk. For […]

Filed Under: Solaris, Solaris 11, ZFS

How to Backup and Restore ZFS root pool in Solaris 10

by admin

The following procedure can be used to backup and restore a ZFS root pool (rpool) using the tools that are provided in Solaris 10 and above. It is advised that the system admin becomes comfortable with this procedure and attempts a restore before deploying this into production environments. In this procedure, it is assumed the […]

Filed Under: Solaris, ZFS

How to update the boot_archive for ZFS root in Solaris

by admin

If a Solaris system fails to boot with messages similar to the following are encountered, the system will need to be booted from alternate Oracle Solaris media ( e.g. the failsafe archive, cd / dvd media, or an install image over the network) in order to update the boot_archive. The file just loaded does not […]

Filed Under: Solaris, ZFS

Solaris ZFS : How to replace a failed disk in rpool (x86)

by admin

The post describes steps to replace a failed disk in rpool for x86 based systems. Assuming c0t0d0 and c0t1d0 are mirrored in the ZFS rpool, and c0t1d0 need to be replaced. 1. As shown in the output below, c0t1d0 need to be replaced as it is having a lot of errors. # iostat -En … […]

Filed Under: Solaris, ZFS

Understanding “Holding a ZFS Snapshot” Feature

by admin

What is “Holding a ZFS Snapshot” feature Remote replication of ZFS datasets can result in different automatic snapshot policies on the two sides of a replication pair. For example, the sending side may want to keep five snapshots at one-minute intervals, whereas the receiving side may want to keep 10 snapshots at one-minute intervals. This […]

Filed Under: Solaris, Solaris 11, ZFS

How to Identify ZFS Snapshot Differences using “zfs diff”

by admin

To determine the differences between ZFS snapshots, you can use the zfs diff command. The output of this command provides a high-level description of the differences between a snapshot and a descendant dataset. The descendant can be either a snapshot of the data set or the current data set. For each file that has undergone […]

Filed Under: Solaris, Solaris 11, ZFS

How to find the space consumed by ZFS snapshots

by admin

When a snapshot is created, its space is initially shared between the snapshot and the file system, and possibly with previous snapshots. As the file system changes, space that was previously shared becomes unique to the snapshot, and thus is counted in the snapshot’s used property. Additionally, deleting snapshots can increase the amount of space […]

Filed Under: Solaris, Solaris 11, ZFS

Next Page »

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright