SUNDAY, APRIL 28, 2024

Posts Tagged ‘ZFS’

Links – Week ending 8/2

MultitennantX2 with on . Please join launch to learn more –

at 25: Past, Present, and Future Register @ to hear the story of SPARC from the people who shaped it.

Need backup solution for compute assets? Check out refreshed Oracle Optimized Solution for Backup & Recovery

Oracle Engineered Systems eBook Now Available –

End-of-Life for SPARC SuperCluster T4-4 –

Oracle Solaris Cluster Product Bulletin, July 2013 –

Very cool videos about Upgrade to Oracle 12c –

How to Get Best Performance From the Oracle ZFS Storage Appliance

What makes 12c the most optimized App Server for Database 12c? Read the WP to find out

Some facts about T5 CPU architecture and “Software on Silicon”. What do you think about this new technology?

Excellent Reading! Part 2 – and WLS – Application Continuity –

Unveiling Oracle’s Latest Engineered System. Live webcast August 13th, 2013, 10am PT/1pm ET –

Beta testing begins this week for the new “Upgrade to Oracle Database 12c” certification exam (1Z1-060)

IDC White Paper: Oracle Virtual Networking Delivering Fabric Virtualization and Software Defined Networks

Double Maximum Memory Capacity for SPARC T5-1B & T5-2 Servers

YouTube Video: Hands-On Labs for Oracle VM –

Complete integration, continuous innovation: See how and systems are evolving: –

Database-as-a-Service and Platform-as-a-Service –

The System Administration course is on Oracle’s top selling course list, check it out yourself

VM – bit.ly/1clXH1Q

ow.ly/2yQrfq

Oracle Technology Day: Plug into the Cloud with Oracle Database 12c – Kolkata –

for diagnostic purposes –

Links – Week ending 7/26

Join the live Oracle Solaris and Oracle’s Systems forum: The Best Platform for Oracle Software on 8/7 @ 9am PT!
http://bit.ly/13jr5NS

New Friday tip: Live Migrating the Oracle Database with Oracle VM Server for SPARC.
http://bit.ly/1bVXEd4

Why Sun ZFS Storage Appliance for Oracle Database can help you reap all the benefits of your database functions:
http://medianetwork.oracle.com/video/player/2549481537001

Needing Oracle WebLogic Server 12c installed on Solaris? Check out our VM templates for zones!
http://www.oracle.com/technetwork/server-storage/solaris11/downloads/zone-templates-1954157.html

Oracle Solaris Forum: Secrets to the latest enhancements to the world’s #1 UNIX OS unveiled. Learn more here:
http://pub.vitrue.com/d1P7

The key benefits of running Oracle Solaris on Oracle’s x86 systems:
http://pub.vitrue.com/ewzE

Introducing the new Oracle Storage Expert Center for Database Management, your 1-stop shop for optimizing your DB
http://pub.vitrue.com/dYR5

Need to explain Oracle Multitenant to your mother? Or to your boss? Use this simple infographic!
http://pub.vitrue.com/EL9S

Oracle to Unveil the Latest Engineered System for Enterprise Virtualization:
http://pub.vitrue.com/1ndv

The next Oracle Solaris web forum is coming: Wednesday, August 7th. Learn more about Oracle Solaris development
http://bit.ly/1c0STgB

Oracle Database12c Interactive Quick Reference
http://pub.vitrue.com/Ea1c

A quick demo of using the ZFS hot spare feature.

A quick demo of using the ZFS hot spare feature. We talk of ZFS in the Oracle University course at our Minneapolis location.

After the install is complete I added 4 2-GB drives so ZFS had some drives to use.

bash-3.00# format
Searching for disks...done

          AVAILABLE DISK SELECTIONS:
       0. c0d0 
          /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
       1. c0d1 
          /pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0
       2. c1d1 
          /pci@0,0/pci-ide@7,1/ide@1/cmdk@1,0
       3. c2t0d0 
          /pci@0,0/pci1000,30@10/sd@0,0
       4. c2t1d0 
          /pci@0,0/pci1000,30@10/sd@1,0

There were no existing ZFS pools

bash-3.00# zpool list
no pools available

So I created a pool named brian, mirrored 2 drives and added one as a spare

bash-3.00# zpool create brian mirror c0d1 c1d1 spare c2t0d0

bash-3.00# zpool status brian
  pool: brian
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        brian       ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c0d1    ONLINE       0     0     0
            c1d1    ONLINE       0     0     0
        spares
          c2t0d0    AVAIL

errors: No known data errors

Note that there is a spare identified in the zpool status output. Spares can be used by multiple pools. Mr. Eric Schrock that wrote the code for this tells us that there is now an FMA agent, zfs-retire, which subscribes to vdev failure faults and automatically initiates replacements if there are any hot spares available.

Now I force a failure and use zfs replace so the spare takes over

bash-3.00# zpool offline brian c0d1
Bringing device c0d1 offline
bash-3.00# zpool replace brian c0d1 c2t0d0

bash-3.00# zpool status brian
  pool: brian
 state: DEGRADED
status: One or more devices has been taken offline by the
administrator.
Sufficient replicas exist for the pool to continue functioning
in a degraded state.
action: Online the device using 'zpool online' or replace the
device with 'zpool replace'.
 scrub: resilver completed with 0 errors on Sun Jun 22 11:55:46 2008
config:

        NAME          STATE     READ WRITE CKSUM
        brian         DEGRADED     0     0     0
          mirror      DEGRADED     0     0     0
            spare     DEGRADED     0     0     0
              c0d1    OFFLINE      0     0     0
              c2t0d0  ONLINE       0     0     0
            c1d1      ONLINE       0     0     0
        spares
          c2t0d0      INUSE     currently in use

errors: No known data errors

Note the the spare is now marked as INUSE but is still marked as a spare. The replacement is only temporary and once the original device is replaced it will return to the pool.

Now I replace the “failed” drive and the spare returns to the AVAIL state.

bash-3.00# zpool replace brian c0d1 c2t1d0

bash-3.00# zpool status brian
  pool: brian
 state: ONLINE
 scrub: resilver completed with 0 errors on Sun Jun 22 11:58:02 2008
config:

        NAME        STATE     READ WRITE CKSUM
        brian       ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c2t1d0  ONLINE       0     0     0
            c1d1    ONLINE       0     0     0
        spares
          c2t0d0    AVAIL

errors: No known data errors

And finally I remove the spare from this pool if it is no longer required

bash-3.00# zpool remove brian c2t0d0

bash-3.00# zpool status brian
  pool: brian
 state: ONLINE
 scrub: resilver completed with 0 errors on Sun Jun 22 11:58:02 2008
config:

        NAME        STATE     READ WRITE CKSUM
        brian       ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c2t1d0  ONLINE       0     0     0
            c1d1    ONLINE       0     0     0

errors: No known data errors