SlideShare a Scribd company logo
1 of 16
Oracle VM & Advanced Storage
Capabilities
Presented by Tim Krupinski, Solution Architect
Cloning Types
Use Cases for Cloning
• Consistent deployment of servers from “Golden” template
• Create a stable point to which you can fail back in case of patching gone awry
• Refreshing lower environments from Production
OVM Types of Cloning
• Supports cloning of individual virtual disks along with entire VMs
• For disk cloning, the following types are supported:
• Non-sparse (Traditional copy)
• Sparse (Smarter copy)
• Thin (Advanced copy)
Traditional Clone
Traditional “Non Sparse” cloning is a bit-for-bit copy at the filesystem level.
Some drawbacks:
• Time to copy dependant upon disk size, and grows with size
• Generates lots of read/write
• Disk needs to be offline to ensure consistent copy
Some use cases:
• Good to copy a disk suffering from filesystem or some other storage corruption
• Uncomplicated storage measurements are straightforward and easy to understand
• Completely Unambiguous regarding storage utilization
A Sparse Clone is a bit smarter than a standard copy. It only copies actual data, and
bypasses the reading and writing of storage blocks allocated but not yet used.
For example:
● A VM has a “backup” disk provisioned that is 100GB in size
● However, backups only consume 10GB of storage
● Sparse copy will only copy 10GB of bits, and bypasses the rest
Faster than a traditional Non Sparse clone, but still suffers the same drawbacks of
consistency and copying from a live volume
Sparse Cloning
Thin Cloning
Thin Cloning is the most advanced type of clone
• It is Instant, regardless of the size of the volume.
• It can be used on live volumes
• Does not generate unnecessary read/write
cycles.
• Enables overcommitment of virtual disks given
the overall size of an Oracle VM repository
Differences
Unlike a Sparse or Non-Sparse clone, a Thin Clone can only be
cloned to the repository in which the target volume resides.
Uses REFLINKS, and when a thin clone is created, the File
System maintains a copy of these links to Inodes. When an
Inode is updated on either the clone or the volume, OCFS2
tracks the change.
Because of REFLINKS, you can clone a 1 TiB volume in a
Repository that only has 1.5 TiB allocated. Even if the volume
is 90% full, Thin Cloning enables you to have N+1 copies of
the cloned file
Real Deal on Thin Clones
OVM Manager 3.3.1 requires manually refreshing the repository view,
otherwise you run the risk of seeing stale information…. for example, if you are
wanting to see if you are approaching a storage threshold.
On the server, df is pretty good about the size of an OVS repository
• But what if we want to know something more specific, like whether
restoring a thin clone is going to tap out the available storage in a
repository?
• What if you want to see the relationship of shared extents between a clone
and an original?
Using a powerful solution like thin cloning requires us to dig deeper, and
understand mechanics at the OCFS2 layer.
Caveats of Thin Cloning
With Great Power comes Great Responsibility!
Left unchecked, thin cloning can result in unexpected explosion
of storage
(Fast way to shut down all VMs)
Traditional Tools inadequate to report on actual size of virtual
disk images in OCFS2, du and ls are inconsistent
Which view does Oracle VM Manager reflect?
du & ls problems
Not fully aware of OCFS2 capabilities
• Sparse files
• REFLINKs
Attributes full allocation to each thin clone, irrespective of actual
usage
Total Size by Tool
du 5.7TB
ls 6.4TB
Client Example
Disk1 100GB
Disk2 1113
Disk3 766
Disk4 1885
Disk5 1888
Size Allocated to
Repo 5400GB
TOTAL SIZE 5652
You sometimes must manually refresh repositories in the OVM Manager to get an
accurate total … otherwise it will be incorrect
There’s a short cut to whats really being consumed....
O2 Utilities & Shared DU
shared-du tool designed by Sunil Mushran
Not available in standard Yum repositories or the ULN
• Download from Oracle OSS FTP
• Provides an apparent and actual size of files, accounting for sparse and reflinks
• Use to get real-time information on shared disk sizing and growth
ocfs2-tools developed by Oracle and maintained in Unbreakable Linux Network
repositories
• Allows you to view file “holes”
• Calculates amount of shared reflinks between cloned files
Use Case for shared-du
A Virtual Disk used for a filesystem that holds DB extracts is cloned.
The virtual disk continues to be used, and as more read/write operations occur,
the original diverges from the Thin Clone in the amount of data it can share
We can use Shared-Du, along with o2info, to examine the relationship between
the clone and its original. From this we can see the true amount of storage
being used
Tells us the Actual Size along with the Apparent Size
Actual Size is the amount of data the file is using which is not shared
Apparent Size is the amount of data it appears to be using
Shared-Du example (After 12 hours)
These .img files are Virtual Disks for a VM, with one being a thin clone of the other and shared-du
measured after fs activity occurred
1. Original disk is 1.9TB, but is in fact using 988 GB of data
1. Cloned disk is still its original size, at 1.9TB
1. 2.8 TB is the total amount of storage actually used, whereas the
filesystem reports two 1.9TB disks, totaling 3.8TB
Finding cloned storage
Example of shared filefrag showing sharea extents
o2info Example
Immediately after clone
Same disks after a day of activity
So What?
Enables you to plan for storage usage in the event of recovery from thin clones
• Total repository usage will grow as data is changed on the volumes
For example:
1. You refresh Dev from Production, both having a 100GB disk for /u02
2. Total repository storage is 200GB
3. Your production system has:
a. / - 10GB
b. /u01 - 20GB
c. /u02 - 100GB
d. total - 130GB
4. Take Thin Clone of Production
5. Each VM thinks it has 130GB to grow, so at first this is OK, but over time without
monitoring, the repository can reach 100%

More Related Content

What's hot

Gluster Metrics: why they are crucial for running stable deployments of all s...
Gluster Metrics: why they are crucial for running stable deployments of all s...Gluster Metrics: why they are crucial for running stable deployments of all s...
Gluster Metrics: why they are crucial for running stable deployments of all s...Gluster.org
 
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceDeep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceAmazon Web Services
 
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceDeep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceAmazon Web Services
 
Monitoring of OpenNebula installations
Monitoring of OpenNebula installationsMonitoring of OpenNebula installations
Monitoring of OpenNebula installationsNETWAYS
 
OSv presentation from Linux Foundation Collaboration Summit
OSv presentation from Linux Foundation Collaboration SummitOSv presentation from Linux Foundation Collaboration Summit
OSv presentation from Linux Foundation Collaboration SummitDon Marti
 
Diagnosing Problems in Production (Nov 2015)
Diagnosing Problems in Production (Nov 2015)Diagnosing Problems in Production (Nov 2015)
Diagnosing Problems in Production (Nov 2015)Jon Haddad
 
Selecting the right persistent storage options for apps in containers Open So...
Selecting the right persistent storage options for apps in containers Open So...Selecting the right persistent storage options for apps in containers Open So...
Selecting the right persistent storage options for apps in containers Open So...bipin kunal
 
Cassandra and Solid State Drives
Cassandra and Solid State DrivesCassandra and Solid State Drives
Cassandra and Solid State DrivesRick Branson
 
CephFS in Jewel: Stable at Last
CephFS in Jewel: Stable at LastCephFS in Jewel: Stable at Last
CephFS in Jewel: Stable at LastCeph Community
 
OSv: probably the best OS for cloud workloads you've never hear of
OSv: probably the best OS for cloud workloads you've never hear ofOSv: probably the best OS for cloud workloads you've never hear of
OSv: probably the best OS for cloud workloads you've never hear ofrhatr
 
Understanding Elastic Block Store Availability and Performance
Understanding Elastic Block Store Availability and PerformanceUnderstanding Elastic Block Store Availability and Performance
Understanding Elastic Block Store Availability and PerformanceAmazon Web Services
 
VMware Backup in Cybozu Labs
VMware Backup in Cybozu LabsVMware Backup in Cybozu Labs
VMware Backup in Cybozu LabsTakashi Hoshino
 
Derving QoS for Cloud Storage
Derving QoS for Cloud StorageDerving QoS for Cloud Storage
Derving QoS for Cloud StorageVikrant Verma
 
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...PlovDev Conference
 
Deployment Strategies
Deployment StrategiesDeployment Strategies
Deployment StrategiesMongoDB
 
VMWare Performance Tuning by Virtera (Jan 2009)
VMWare Performance Tuning by  Virtera (Jan 2009)VMWare Performance Tuning by  Virtera (Jan 2009)
VMWare Performance Tuning by Virtera (Jan 2009)vmug
 
Erlang On Xen: Redefining the Cloud Software Stack
Erlang On Xen: Redefining the Cloud Software StackErlang On Xen: Redefining the Cloud Software Stack
Erlang On Xen: Redefining the Cloud Software StackViktor Sovietov
 

What's hot (18)

Gluster Metrics: why they are crucial for running stable deployments of all s...
Gluster Metrics: why they are crucial for running stable deployments of all s...Gluster Metrics: why they are crucial for running stable deployments of all s...
Gluster Metrics: why they are crucial for running stable deployments of all s...
 
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceDeep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
 
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceDeep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
 
Monitoring of OpenNebula installations
Monitoring of OpenNebula installationsMonitoring of OpenNebula installations
Monitoring of OpenNebula installations
 
OSv presentation from Linux Foundation Collaboration Summit
OSv presentation from Linux Foundation Collaboration SummitOSv presentation from Linux Foundation Collaboration Summit
OSv presentation from Linux Foundation Collaboration Summit
 
Diagnosing Problems in Production (Nov 2015)
Diagnosing Problems in Production (Nov 2015)Diagnosing Problems in Production (Nov 2015)
Diagnosing Problems in Production (Nov 2015)
 
Selecting the right persistent storage options for apps in containers Open So...
Selecting the right persistent storage options for apps in containers Open So...Selecting the right persistent storage options for apps in containers Open So...
Selecting the right persistent storage options for apps in containers Open So...
 
Cassandra and Solid State Drives
Cassandra and Solid State DrivesCassandra and Solid State Drives
Cassandra and Solid State Drives
 
CephFS in Jewel: Stable at Last
CephFS in Jewel: Stable at LastCephFS in Jewel: Stable at Last
CephFS in Jewel: Stable at Last
 
OSv: probably the best OS for cloud workloads you've never hear of
OSv: probably the best OS for cloud workloads you've never hear ofOSv: probably the best OS for cloud workloads you've never hear of
OSv: probably the best OS for cloud workloads you've never hear of
 
Understanding Elastic Block Store Availability and Performance
Understanding Elastic Block Store Availability and PerformanceUnderstanding Elastic Block Store Availability and Performance
Understanding Elastic Block Store Availability and Performance
 
VMware Backup in Cybozu Labs
VMware Backup in Cybozu LabsVMware Backup in Cybozu Labs
VMware Backup in Cybozu Labs
 
Derving QoS for Cloud Storage
Derving QoS for Cloud StorageDerving QoS for Cloud Storage
Derving QoS for Cloud Storage
 
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
 
Redis Persistence
Redis  PersistenceRedis  Persistence
Redis Persistence
 
Deployment Strategies
Deployment StrategiesDeployment Strategies
Deployment Strategies
 
VMWare Performance Tuning by Virtera (Jan 2009)
VMWare Performance Tuning by  Virtera (Jan 2009)VMWare Performance Tuning by  Virtera (Jan 2009)
VMWare Performance Tuning by Virtera (Jan 2009)
 
Erlang On Xen: Redefining the Cloud Software Stack
Erlang On Xen: Redefining the Cloud Software StackErlang On Xen: Redefining the Cloud Software Stack
Erlang On Xen: Redefining the Cloud Software Stack
 

Viewers also liked

LuminrDRPresentation_AITP_October2014.pptx
LuminrDRPresentation_AITP_October2014.pptxLuminrDRPresentation_AITP_October2014.pptx
LuminrDRPresentation_AITP_October2014.pptxTimothy Krupinski
 
Introduction to Oracle Infrastructure as a Service
Introduction to Oracle Infrastructure as a ServiceIntroduction to Oracle Infrastructure as a Service
Introduction to Oracle Infrastructure as a ServiceTimothy Krupinski
 
Judith A Mangan resume
Judith A  Mangan resumeJudith A  Mangan resume
Judith A Mangan resumeJudith Mangan
 
Permanenthiring
PermanenthiringPermanenthiring
PermanenthiringNeuhiring
 
презентация спортове
презентация спортовепрезентация спортове
презентация спортовеmegikatq
 
TDM Wyre Academy - IT Apprenticeships Employer Brochure
TDM Wyre Academy - IT Apprenticeships Employer BrochureTDM Wyre Academy - IT Apprenticeships Employer Brochure
TDM Wyre Academy - IT Apprenticeships Employer BrochureKerry Carpenter
 
Metamorfosis hacia una empresa ágil
Metamorfosis hacia una empresa ágilMetamorfosis hacia una empresa ágil
Metamorfosis hacia una empresa ágilTIDChile
 
Getting started with 8051 at89 c51 using keil uvision 4 and proteus
Getting started with 8051 at89 c51 using keil uvision 4 and proteusGetting started with 8051 at89 c51 using keil uvision 4 and proteus
Getting started with 8051 at89 c51 using keil uvision 4 and proteusrnrao569
 
презентац форми страхува
презентац форми страхувапрезентац форми страхува
презентац форми страхуваRudInna
 
коледна приказка с мама
коледна приказка с мамаколедна приказка с мама
коледна приказка с мамаmegikatq
 
Crea presentación de microsoft office power point 97 2003 (2)
Crea presentación de microsoft office power point 97 2003 (2)Crea presentación de microsoft office power point 97 2003 (2)
Crea presentación de microsoft office power point 97 2003 (2)pgkikasv
 
еко рали щури сладури
еко рали щури сладуриеко рали щури сладури
еко рали щури сладуриmegikatq
 
Бизнес-завтрак: эффективные инструменты в ретейле
Бизнес-завтрак: эффективные инструменты в ретейлеБизнес-завтрак: эффективные инструменты в ретейле
Бизнес-завтрак: эффективные инструменты в ретейлеЕвгений Золотухин
 
Jo Casserley September 2016
Jo Casserley September 2016Jo Casserley September 2016
Jo Casserley September 2016Jo Casserley
 
турция
турциятурция
турцияmegikatq
 
Vocabulario agronomico rodriguez avila, rivera giron
Vocabulario agronomico  rodriguez avila, rivera gironVocabulario agronomico  rodriguez avila, rivera giron
Vocabulario agronomico rodriguez avila, rivera gironJussely Rodríguez
 
GlobalWA Philanthropy Guide
GlobalWA Philanthropy GuideGlobalWA Philanthropy Guide
GlobalWA Philanthropy GuideSara Atalla
 

Viewers also liked (20)

LuminrDRPresentation_AITP_October2014.pptx
LuminrDRPresentation_AITP_October2014.pptxLuminrDRPresentation_AITP_October2014.pptx
LuminrDRPresentation_AITP_October2014.pptx
 
Introduction to Oracle Infrastructure as a Service
Introduction to Oracle Infrastructure as a ServiceIntroduction to Oracle Infrastructure as a Service
Introduction to Oracle Infrastructure as a Service
 
DevOps in your Oracle Stack
DevOps in your Oracle StackDevOps in your Oracle Stack
DevOps in your Oracle Stack
 
Judith A Mangan resume
Judith A  Mangan resumeJudith A  Mangan resume
Judith A Mangan resume
 
Permanenthiring
PermanenthiringPermanenthiring
Permanenthiring
 
презентация спортове
презентация спортовепрезентация спортове
презентация спортове
 
TDM Wyre Academy - IT Apprenticeships Employer Brochure
TDM Wyre Academy - IT Apprenticeships Employer BrochureTDM Wyre Academy - IT Apprenticeships Employer Brochure
TDM Wyre Academy - IT Apprenticeships Employer Brochure
 
Yabuli ski resort
Yabuli ski resortYabuli ski resort
Yabuli ski resort
 
Vacuna opv
Vacuna opvVacuna opv
Vacuna opv
 
Metamorfosis hacia una empresa ágil
Metamorfosis hacia una empresa ágilMetamorfosis hacia una empresa ágil
Metamorfosis hacia una empresa ágil
 
Getting started with 8051 at89 c51 using keil uvision 4 and proteus
Getting started with 8051 at89 c51 using keil uvision 4 and proteusGetting started with 8051 at89 c51 using keil uvision 4 and proteus
Getting started with 8051 at89 c51 using keil uvision 4 and proteus
 
презентац форми страхува
презентац форми страхувапрезентац форми страхува
презентац форми страхува
 
коледна приказка с мама
коледна приказка с мамаколедна приказка с мама
коледна приказка с мама
 
Crea presentación de microsoft office power point 97 2003 (2)
Crea presentación de microsoft office power point 97 2003 (2)Crea presentación de microsoft office power point 97 2003 (2)
Crea presentación de microsoft office power point 97 2003 (2)
 
еко рали щури сладури
еко рали щури сладуриеко рали щури сладури
еко рали щури сладури
 
Бизнес-завтрак: эффективные инструменты в ретейле
Бизнес-завтрак: эффективные инструменты в ретейлеБизнес-завтрак: эффективные инструменты в ретейле
Бизнес-завтрак: эффективные инструменты в ретейле
 
Jo Casserley September 2016
Jo Casserley September 2016Jo Casserley September 2016
Jo Casserley September 2016
 
турция
турциятурция
турция
 
Vocabulario agronomico rodriguez avila, rivera giron
Vocabulario agronomico  rodriguez avila, rivera gironVocabulario agronomico  rodriguez avila, rivera giron
Vocabulario agronomico rodriguez avila, rivera giron
 
GlobalWA Philanthropy Guide
GlobalWA Philanthropy GuideGlobalWA Philanthropy Guide
GlobalWA Philanthropy Guide
 

Similar to Ocfs2 storage

Benefity Oracle Cloudu (4/4): Storage
Benefity Oracle Cloudu (4/4): StorageBenefity Oracle Cloudu (4/4): Storage
Benefity Oracle Cloudu (4/4): StorageMarketingArrowECS_CZ
 
Oracle Cloud Infrastructure – Storage
Oracle Cloud Infrastructure – StorageOracle Cloud Infrastructure – Storage
Oracle Cloud Infrastructure – StorageMarketingArrowECS_CZ
 
Kafka on ZFS: Better Living Through Filesystems
Kafka on ZFS: Better Living Through Filesystems Kafka on ZFS: Better Living Through Filesystems
Kafka on ZFS: Better Living Through Filesystems confluent
 
Solr on Docker - the Good, the Bad and the Ugly
Solr on Docker - the Good, the Bad and the UglySolr on Docker - the Good, the Bad and the Ugly
Solr on Docker - the Good, the Bad and the UglySematext Group, Inc.
 
Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...
Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...
Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...Lucidworks
 
Cloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation inCloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation inRahulBhole12
 
GlusterFS : un file system open source per i big data di oggi e domani - Robe...
GlusterFS : un file system open source per i big data di oggi e domani - Robe...GlusterFS : un file system open source per i big data di oggi e domani - Robe...
GlusterFS : un file system open source per i big data di oggi e domani - Robe...Codemotion
 
Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)Ahmed El-Arabawy
 
Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)MongoDB
 
Inter connect2016 yss1841-cloud-storage-options-v4
Inter connect2016 yss1841-cloud-storage-options-v4Inter connect2016 yss1841-cloud-storage-options-v4
Inter connect2016 yss1841-cloud-storage-options-v4Tony Pearson
 
Responding rapidly when you have 100+ GB data sets in Java
Responding rapidly when you have 100+ GB data sets in JavaResponding rapidly when you have 100+ GB data sets in Java
Responding rapidly when you have 100+ GB data sets in JavaPeter Lawrey
 
Low level java programming
Low level java programmingLow level java programming
Low level java programmingPeter Lawrey
 
SUE 2018 - Migrating a 130TB Cluster from Elasticsearch 2 to 5 in 20 Hours Wi...
SUE 2018 - Migrating a 130TB Cluster from Elasticsearch 2 to 5 in 20 Hours Wi...SUE 2018 - Migrating a 130TB Cluster from Elasticsearch 2 to 5 in 20 Hours Wi...
SUE 2018 - Migrating a 130TB Cluster from Elasticsearch 2 to 5 in 20 Hours Wi...Fred de Villamil
 
Investigate TempDB Like Sherlock Holmes
Investigate TempDB Like Sherlock HolmesInvestigate TempDB Like Sherlock Holmes
Investigate TempDB Like Sherlock HolmesRichard Douglas
 

Similar to Ocfs2 storage (20)

Benefity Oracle Cloudu (4/4): Storage
Benefity Oracle Cloudu (4/4): StorageBenefity Oracle Cloudu (4/4): Storage
Benefity Oracle Cloudu (4/4): Storage
 
Oracle Cloud Infrastructure – Storage
Oracle Cloud Infrastructure – StorageOracle Cloud Infrastructure – Storage
Oracle Cloud Infrastructure – Storage
 
Kafka on ZFS: Better Living Through Filesystems
Kafka on ZFS: Better Living Through Filesystems Kafka on ZFS: Better Living Through Filesystems
Kafka on ZFS: Better Living Through Filesystems
 
ZFS
ZFSZFS
ZFS
 
Solr on Docker - the Good, the Bad and the Ugly
Solr on Docker - the Good, the Bad and the UglySolr on Docker - the Good, the Bad and the Ugly
Solr on Docker - the Good, the Bad and the Ugly
 
Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...
Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...
Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...
 
Cloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation inCloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation in
 
Make room! Make room!
Make room! Make room!Make room! Make room!
Make room! Make room!
 
Google file system
Google file systemGoogle file system
Google file system
 
os
osos
os
 
General Purpose GPU Computing
General Purpose GPU ComputingGeneral Purpose GPU Computing
General Purpose GPU Computing
 
Exchange Server 2013 High Availability - Site Resilience
Exchange Server 2013 High Availability - Site ResilienceExchange Server 2013 High Availability - Site Resilience
Exchange Server 2013 High Availability - Site Resilience
 
GlusterFS : un file system open source per i big data di oggi e domani - Robe...
GlusterFS : un file system open source per i big data di oggi e domani - Robe...GlusterFS : un file system open source per i big data di oggi e domani - Robe...
GlusterFS : un file system open source per i big data di oggi e domani - Robe...
 
Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)
 
Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)
 
Inter connect2016 yss1841-cloud-storage-options-v4
Inter connect2016 yss1841-cloud-storage-options-v4Inter connect2016 yss1841-cloud-storage-options-v4
Inter connect2016 yss1841-cloud-storage-options-v4
 
Responding rapidly when you have 100+ GB data sets in Java
Responding rapidly when you have 100+ GB data sets in JavaResponding rapidly when you have 100+ GB data sets in Java
Responding rapidly when you have 100+ GB data sets in Java
 
Low level java programming
Low level java programmingLow level java programming
Low level java programming
 
SUE 2018 - Migrating a 130TB Cluster from Elasticsearch 2 to 5 in 20 Hours Wi...
SUE 2018 - Migrating a 130TB Cluster from Elasticsearch 2 to 5 in 20 Hours Wi...SUE 2018 - Migrating a 130TB Cluster from Elasticsearch 2 to 5 in 20 Hours Wi...
SUE 2018 - Migrating a 130TB Cluster from Elasticsearch 2 to 5 in 20 Hours Wi...
 
Investigate TempDB Like Sherlock Holmes
Investigate TempDB Like Sherlock HolmesInvestigate TempDB Like Sherlock Holmes
Investigate TempDB Like Sherlock Holmes
 

Recently uploaded

Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Recently uploaded (20)

Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

Ocfs2 storage

  • 1. Oracle VM & Advanced Storage Capabilities Presented by Tim Krupinski, Solution Architect
  • 2. Cloning Types Use Cases for Cloning • Consistent deployment of servers from “Golden” template • Create a stable point to which you can fail back in case of patching gone awry • Refreshing lower environments from Production OVM Types of Cloning • Supports cloning of individual virtual disks along with entire VMs • For disk cloning, the following types are supported: • Non-sparse (Traditional copy) • Sparse (Smarter copy) • Thin (Advanced copy)
  • 3. Traditional Clone Traditional “Non Sparse” cloning is a bit-for-bit copy at the filesystem level. Some drawbacks: • Time to copy dependant upon disk size, and grows with size • Generates lots of read/write • Disk needs to be offline to ensure consistent copy Some use cases: • Good to copy a disk suffering from filesystem or some other storage corruption • Uncomplicated storage measurements are straightforward and easy to understand • Completely Unambiguous regarding storage utilization
  • 4. A Sparse Clone is a bit smarter than a standard copy. It only copies actual data, and bypasses the reading and writing of storage blocks allocated but not yet used. For example: ● A VM has a “backup” disk provisioned that is 100GB in size ● However, backups only consume 10GB of storage ● Sparse copy will only copy 10GB of bits, and bypasses the rest Faster than a traditional Non Sparse clone, but still suffers the same drawbacks of consistency and copying from a live volume Sparse Cloning
  • 5. Thin Cloning Thin Cloning is the most advanced type of clone • It is Instant, regardless of the size of the volume. • It can be used on live volumes • Does not generate unnecessary read/write cycles. • Enables overcommitment of virtual disks given the overall size of an Oracle VM repository
  • 6. Differences Unlike a Sparse or Non-Sparse clone, a Thin Clone can only be cloned to the repository in which the target volume resides. Uses REFLINKS, and when a thin clone is created, the File System maintains a copy of these links to Inodes. When an Inode is updated on either the clone or the volume, OCFS2 tracks the change. Because of REFLINKS, you can clone a 1 TiB volume in a Repository that only has 1.5 TiB allocated. Even if the volume is 90% full, Thin Cloning enables you to have N+1 copies of the cloned file
  • 7. Real Deal on Thin Clones OVM Manager 3.3.1 requires manually refreshing the repository view, otherwise you run the risk of seeing stale information…. for example, if you are wanting to see if you are approaching a storage threshold. On the server, df is pretty good about the size of an OVS repository • But what if we want to know something more specific, like whether restoring a thin clone is going to tap out the available storage in a repository? • What if you want to see the relationship of shared extents between a clone and an original? Using a powerful solution like thin cloning requires us to dig deeper, and understand mechanics at the OCFS2 layer.
  • 8. Caveats of Thin Cloning With Great Power comes Great Responsibility! Left unchecked, thin cloning can result in unexpected explosion of storage (Fast way to shut down all VMs) Traditional Tools inadequate to report on actual size of virtual disk images in OCFS2, du and ls are inconsistent Which view does Oracle VM Manager reflect?
  • 9. du & ls problems Not fully aware of OCFS2 capabilities • Sparse files • REFLINKs Attributes full allocation to each thin clone, irrespective of actual usage Total Size by Tool du 5.7TB ls 6.4TB
  • 10. Client Example Disk1 100GB Disk2 1113 Disk3 766 Disk4 1885 Disk5 1888 Size Allocated to Repo 5400GB TOTAL SIZE 5652 You sometimes must manually refresh repositories in the OVM Manager to get an accurate total … otherwise it will be incorrect There’s a short cut to whats really being consumed....
  • 11. O2 Utilities & Shared DU shared-du tool designed by Sunil Mushran Not available in standard Yum repositories or the ULN • Download from Oracle OSS FTP • Provides an apparent and actual size of files, accounting for sparse and reflinks • Use to get real-time information on shared disk sizing and growth ocfs2-tools developed by Oracle and maintained in Unbreakable Linux Network repositories • Allows you to view file “holes” • Calculates amount of shared reflinks between cloned files
  • 12. Use Case for shared-du A Virtual Disk used for a filesystem that holds DB extracts is cloned. The virtual disk continues to be used, and as more read/write operations occur, the original diverges from the Thin Clone in the amount of data it can share We can use Shared-Du, along with o2info, to examine the relationship between the clone and its original. From this we can see the true amount of storage being used
  • 13. Tells us the Actual Size along with the Apparent Size Actual Size is the amount of data the file is using which is not shared Apparent Size is the amount of data it appears to be using Shared-Du example (After 12 hours) These .img files are Virtual Disks for a VM, with one being a thin clone of the other and shared-du measured after fs activity occurred 1. Original disk is 1.9TB, but is in fact using 988 GB of data 1. Cloned disk is still its original size, at 1.9TB 1. 2.8 TB is the total amount of storage actually used, whereas the filesystem reports two 1.9TB disks, totaling 3.8TB
  • 14. Finding cloned storage Example of shared filefrag showing sharea extents
  • 15. o2info Example Immediately after clone Same disks after a day of activity
  • 16. So What? Enables you to plan for storage usage in the event of recovery from thin clones • Total repository usage will grow as data is changed on the volumes For example: 1. You refresh Dev from Production, both having a 100GB disk for /u02 2. Total repository storage is 200GB 3. Your production system has: a. / - 10GB b. /u01 - 20GB c. /u02 - 100GB d. total - 130GB 4. Take Thin Clone of Production 5. Each VM thinks it has 130GB to grow, so at first this is OK, but over time without monitoring, the repository can reach 100%