Thin S pace Reclamat ion with EMC® VPLEX - Dell EMC US · Space Recl hnical Notes Number h1 PLEX 5...
Transcript of Thin S pace Reclamat ion with EMC® VPLEX - Dell EMC US · Space Recl hnical Notes Number h1 PLEX 5...
T
Technical No
Thin S VM EM
otes
Spaceware ESXC XtremIO
Abs
Thisstor
Mar
e ReclXi, MicrosO™, EMC
stract
s document drage on thin
rch 2015
lamatsoft WindC VMAX3
describes ma LUNs using h
ion wdows, Ge™, and E
anual proced host-based to
with EMeneric UN EMC VNX
dures that caools along w
MC® NIX / LinuX™
n be used towith VPLEX da
VPLEXux
reclaim conata mobility.
X™
sumed
2 TTThin LUN SpaTechnical No
ace Reclaim otes
Cop
Pub
EMCThe
Thereppubfitndes
EMCCorher
For Trad
ThinTec
Part
Using EMC V
pyright © 201
blished Marc
C believes the information
e informationresentations
blication, andess for a par
scribed in thi
C2, EMC, andrporation in tein are the p
the most updemarks on E
n Space Reclchnical Notes
t Number h1
VPLEX
15 EMC Corp
h 2015
he informatio is subject to
in this publis or warrantied specificallyticular purpos publication
d the EMC loghe United Stroperty of th
-to-date listin EMC.com.
lamation wits
4055
poration. All r
n in this pubo change with
ication is proes of any kindy disclaims imose. Use, copn requires an
go are registeates and otheir respectiv
ng of EMC pr
h EMC VPLEX
rights reserve
blication is achout notice.
ovided as is. d with respecmplied warrapying, and disn applicable s
ered trademaher countries.e owners.
roduct names
X
ed. Published
ccurate as of
EMC Corporact to the info
anties of mercstribution of
software lice
arks or tradem. All other tra
s, see EMC C
d in the USA.
f its publicati
ation makes rmation in thchantability any EMC sofnse.
marks of EMCademarks use
Corporation
.
ion date.
no his or ftware
C ed
ChaPur
Sco
Aud
Doc
Pro
ChaVPL
VPL
VPL
E
D
VMw
C
W
VNX
VMA
V
Xtre
X
Thin
ChaVMw
Virt
Raw
Dat
ChaUNI
The
The
The
apter 1 Inpose ............
ope ...............
dience ..........
cument Orga
cess Overvie
apter 2 TLEX Thin Prov
LEX Rebuilds
LEX Mobility t
Extent Migrat
Device Migra
ware API for A
Compare and
WriteSame (1
X2 Thin Provi
AX3 Thin Pro
VMware vSto
emIO Thin Pro
XtremIO’s su
n Provisionin
apter 3 Vware ESXi Re
tual Machine
w Data Mapp
tastores (VMF
apter 4 GX / Linux File
e “dd” Comm
e “mount –o d
e “fstrim” Com
ntroduction....................
....................
....................
nization .......
ew ................
Thin Provisiovisioning ......
for Thin Dev
to Reclaim U
tions ............
ations ...........
Array Integra
d Write .........
16) ...............
sioning ........
ovisioning .....
orage API for
ovisioning ...
pport for the
ng Summary .
VMware ESXeclaim ..........
Disks (VMD
ings (RDMs) .
FS) ...............
Generic UNIXesystem Recl
mand .............
discard” Com
mmand ........
n ....................
....................
....................
....................
....................
oning ....................
ices .............
nused Space
....................
....................
ation (VAAI) S
....................
....................
....................
....................
VMAX3 ........
....................
e VAAI ...........
....................
Xi ....................
Ks) ...............
....................
....................
X / Linux laim .............
....................
mmand .........
....................
Thin LUN
....................
....................
....................
....................
....................
....................
....................
e ..................
....................
....................
Support ........
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
Space Recla
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
aim Using EMTechnic
Conte
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
Contents
MC VPLEX cal Notes
ents
6 ............ 7
............ 7
............ 7
............ 7
............ 7
9 .......... 10
.......... 10
.......... 11
.......... 11
.......... 11
.......... 11
.......... 11
.......... 12
.......... 12
.......... 13
.......... 13
.......... 13
.......... 13
.......... 14
15 .......... 16
.......... 16
.......... 16
.......... 17
18 .......... 19
.......... 19
.......... 19
.......... 20
3
4 TT
Contents
Thin LUN SpaTechnical No
ace Reclaim otes
ChaThin
Sto
Usi
UNM
Usi
Scri
AppSpa
v
AppSpa
s
AppSpa
H
V
Using EMC V
apter 5 Mn Provisionin
rage Space R
ng the UNMA
MAP Request
ng the sdelet
ipting with P
pendix A Vace Reclamat
vmkfstools --
pendix B Wace Reclamat
sdelete.exe ..
pendix C Lace Reclamat
How Data Mo
VPLEX Data M
VPLEX
Microsoft Wng LUN Identi
Reclamation .
AP Command
ts from Hype
te.exe Comm
owerShell ....
VMware ESXtion with VMw
-punchzero ..
Windows RDtion with Mic
....................
Linux with Etion through
obility Works
Mobility ........
indows ification .......
....................
d ...................
r-V ...............
mand ............
....................
Xi UNMAP Exware ESXi ....
....................
DM Examplecrosoft Windo
....................
MC VPLEX a VPLEX Mobil
...................
....................
....................
....................
....................
....................
....................
....................
xamples ....................
....................
e ows ..............
....................
and VNX lity Jobs .......
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
21 .......... 22
.......... 22
.......... 22
.......... 22
.......... 23
.......... 23
24 .......... 25
.......... 25
28 .......... 29
.......... 29
31 .......... 32
.......... 32
.......... 33
FigFigu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
Figu
ures ure 1 - Opera
ure 2 - VPLEX
ure 3 - VMwa
ure 4 - LUN U
ure 5 - Deleti
ure 6 - LUN U
ure 7 - Using
ure 8 - LUN U
ure 9 - Inflate
ure 10 - Exam
ure 11 - Defla
ure 12 - File S
ure 13 - Exam
ure 14 - File s
ure 15 - SuSE
ure 16 - Delet
ure 17 - SuSE
ure 18 – Sett
ure 19 - VPLE
ure 20 - Creat
ure 21 - Selec
ure 22 - Creat
ure 23 - SuSE
ting System
X Virtualized S
re Storage La
tilization Prio
ng Files on th
tilization Aft
“dd” to Fill t
tilization afte
ed VMDK Size
mple of Runni
ated VMDK S
Size Prior to R
mple of runni
size after run
E_OS_LUN_0
ting a file an
E_OS_LUN_0
ting the Thin
EX Data Mobi
te Device Mo
ct Virtual Vol
te Source / T
E_OS_LUN_1
Process Flow
Storage ........
ayers ...........
or to File Del
he Guest Hos
er File Deleti
he Free Disk
er Space Rec
e prior to vmk
ing “vmkfsto
ize after runn
Running sdel
ng sdelete.ex
ning sdelete
Consumed C
d zeroing the
Consumed C
Rebuild Attri
lity ..............
obility Job .....
lume ............
Target Mobilit
Consumed C
Thin LUN
w ..................
....................
....................
etion ...........
st .................
on ...............
Space with Z
clamation .....
kfstools .......
ools --punchz
ning vmkfsto
lete.exe .......
xe ................
e.exe ............
Capactiy ......
e filesystem .
Capacity unc
ibute ............
....................
....................
....................
ty mapping ..
Capacity ......
Space Recla
....................
....................
....................
....................
....................
....................
Zeroes .........
....................
....................
zero" ............
ools ..............
....................
....................
....................
....................
....................
changed .......
....................
....................
....................
....................
....................
....................
aim Using EMTechnic
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
Contents
MC VPLEX cal Notes
............ 8
.......... 10
.......... 16
.......... 25
.......... 25
.......... 26
.......... 26
.......... 26
.......... 27
.......... 27
.......... 27
.......... 29
.......... 30
.......... 30
.......... 32
.......... 33
.......... 33
.......... 33
.......... 34
.......... 34
.......... 34
.......... 35
.......... 35
5
6 TT
Chapter 1: Int
Thin LUN SpaTechnical No
roduction
ace Reclaim otes
This
Pur
Sco
Aud
Doc
Pro
Using EMC V
s chapter pre
rpose ...........
ope ..............
dience .........
cument Orga
cess Overvie
VPLEX
esents the fo
....................
....................
....................
nization ......
ew ...............
llowing topic
....................
....................
....................
....................
....................
Chapte
cs:
...................
...................
...................
...................
...................
er 1 In
....................
....................
....................
....................
....................
ntroduc
...................
...................
...................
...................
...................
ction
........... 7
........... 7
........... 7
........... 7
........... 7
A
Purpose
Scope
Audience
Documen
Process
Manstanzeroresusitu
Thisrecl
e
Thiswilltech
nt Organ
This
Secrecl
Secope
Overview
ThereclDepothdatdelezeromanspa
ny applicationdard initialioes are writteult of these p
uations that c
s technical nlaim previous
s technical n be configurihnologies is
Server and
Storage A
Fiber Chan
VPLEX Con
ization
s technical n
ction One: Ealaiming all-ze
ction Two: Therating system
w
e foundation laimed for thpending on ther cases levea mobility joeted the spaoes by the stnual process
ace can then
ons have the ization, allocen. The potenprocesses. Th cause zeroes
ote outline ssly used non
ote is intending, installing required:
d Application
rchitecture a
nnel Block St
ncepts and C
ote is divide
ach host opeero marked s
e appendix sm.
of thin device thin pool thhe back-end eraging VPLEXb. In many, ice that was o
tandard delets must be use be reclaimed
potential to cation, or migntial exists tohis technical s to be written
shows how to-zero space w
ded for EMC fg, and suppo
n Administrat
and Network
torage Conce
Components
d into multip
erating systemspace.
section will c
e space reclahat provides array, zeroesX’s built-in thf not all case
originally write commanded to overwrid by the back
Thin LUN
write zeroes gration proceo reclaim the note discussn to storage
o reclaim all-z with host-ba
field personnorting VPLEX.
tion
Design
epts
ple sections:
ms and their
contain real w
amation is th the backings may be dedhin awareneses, when a filtten for the f(s) used in Uite the newlyk-end storage
C
Space Recla
to free spacesses. Depene storage spases some of devices.
zero space aased applicat
nel, partners,. An underst
specific requ
world exampl
hat a zero wrig storage for tduplicated inss to deduplle is written t
file will not bUNIX and Winy freed spacee array.
Chapter 1: Intr
aim Using EMTechnic
e as part of tnding on the wace allocated the most com
and also howtions.
and customanding of the
uirements fo
les for each h
itten to disk the thin devin the array, oicate zeroes
to a filesysteme overwritten
ndows system with zeroes
roduction
MC VPLEX cal Notes
the way d as a mmon
w to
ers who ese core
r
host
can be ce. r in with a m, then n with ms. A so the
7
8 TT
Chapter 1: Int
Thin LUN SpaTechnical No
roduction
ace Reclaim otes
Therunreqlayeresp
Ded
Stoautnew
On leveawadat
Thespa
Fig
Using EMC V
e first thing toning on harduired to fullyer. The procepectively, reg
duplication o
rage arrays tomatically re
wly claimed s
storage arrayeraged to moare, VPLEX wa to the new
e following floace on Thin L
gure 1 - Ope
VPLEX
o consider is dware. If it is y reclaim the edures for zergardless if th
on back-end s
hat support declaim and frspace. No fur
ys that do noove a zeroed ill preserve t LUN, thereby
owchart diagUNs.
erating Syst
whether or n running as a space, both roing filesyste system is r
storage array
deduplicatioee space on
rther action is
ot support de thin LUN to ahe thin-nessy re-thinning
grams the bas
tem Process
not the systea virtual mach at the hypervtems for UNIX running virtu
y
on, such as th thin LUNs ass required.
eduplication, a new thin LU
of devices ag the device.
sic procedure
s Flow
m is a virtuahine, additiorvisor layer anX and Windowalized or not
he EMC Xtrems the zeroes a
VPLEX Data UN. Althoughand will only
es required t
l machine or nal clean-upnd the storagws are the sat.
mIO, will are written to
Mobility canh VPLEX is no transfer the n
to reclaim un
r it is p will be ge array ame,
o the
n be t thin
non-zero
nused
This
VPL
VPL
VPL
VMw
VNX
VMA
Xtre
Thin
s chapter pre
LEX Thin Prov
LEX Rebuilds
LEX Mobility
ware API for
X2 Thin Provi
AX3 Thin Pro
emIO Thin Pr
n Provisionin
esents the fo
visioning .....
for Thin Dev
to Reclaim U
Array Integr
isioning .......
ovisioning ....
rovisioning ..
ng Summary
Chap
llowing topic
....................
vices ............
Unused Space
ration (VAAI)
....................
....................
....................
...................
Thin LUN
pter 2
cs:
...................
...................
e .................
Support ......
...................
...................
...................
...................
Chapt
Space Recla
Thin P
....................
....................
....................
....................
....................
....................
....................
....................
ter 2: Thin Pro
aim Using EMTechnic
Provision
...................
...................
...................
...................
...................
...................
...................
...................
visioning
MC VPLEX cal Notes
ning
......... 10
......... 10
......... 11
......... 11
......... 12
......... 13
......... 13
......... 14
9
10 TT
V
V
Chapter 2: Thi
Thin LUN SpaTechnical No
VPLEX Th
VPLEX Re
in Provisioning
ace Reclaim otes
hin Provi
Tradcappro
Witapp“thibloc
Ben
Fig
Notecan
ebuilds f
Whprovclaistorcap
VPLdetbloc
g
Using EMC V
sioning
ditional (thicpacity beyondcess all the d
h “Thin” provplication neein” device, Vcks to the tar
nefits for VPL
Expand dy
Do not co
Thin provi
gure 2 - VPL
e: By default, tell VPLEX to
for Thin D
en claiming bvisioning formed as “Thinrage volumes
pacity.
LEX preservesecting zeroedcks to preven
VPLEX
ck) provisionid the immedi data will be c
visioning youds it — when
VPLEX will rearget, preserv
LEX Thinly pro
ynamically d
nsume physi
isioning opti
LEX Virtuali
VPLEX treats a claim arrays th
Devices
back-end stor each back-en” devices as while alloca
s the unallocd data content unnecessa
ing anticipateiate requirem
copied from t
u may allocatn it writes. Whad the storaging the targe
ovisioned vo
epending on
ical space un
mizes the av
ized Storag
all storage volhat are thinly
orage, VPLEX end storage vllow that stoating the exa
cated thin pont prior to wrary allocation
es future groment. This im the source to
te only the sthich means t
ge volumes bet’s thin prov
lumes:
n the amount
ntil written to
vailable stora
ge
lumes as if the provisioned u
requires the volume. Stora
rage to migraact amount o
ol space of triting, and thn. If a storage
owth and thuplies that du
o the target.
torage capac that if a targeut will not wrisioning.
t of data writt
o.
age space to
ey were thicklyusing the thin-
e user to specage volumesate onto a th
of consumed
the target stohen skipping e volume is t
s allocates suring a rebuil
city needed aet is claimed rite any unall
ten to them.
be used
y provisioned.rebuild attribu
cify “Thin” s that have beinly provisio thin storage
orage volume those unusethinly provisi
torage ld
as the as a located
. You ute.
een ned pool
e by ed oned,
V
VPLEX M
VMware
Extent Migra
Device Migra
Compare and
the for
If a to Vaffe
Mobility to
Ammovunufun
Notedeledo nprob
Exte
Use
Devdev
Use
e API for A
On
Theope
ations
ations
d Write
"thin-rebuild Data Mobility
thinly provisVPLEX, the peected becaus
o Reclaim
ong the manve from “Thic
used space dctions.
e: In most caseted) space fro not offer SCSI blem.
ent migration
e extent migr
Move exte
Defragme
Perform mvolumes w
vice migratiovices on diffe
e device migr
Migrate da
Relocate a
Relocate d
Array Inte
VPLEX, VAAI
“Compare(VMs) on/
“WriteSamhyperviso
e CompareAnerations such
d" attribute my, Raid-1 or D
sioned storagerformance ose it must cop
m Unused
y different usck” to “Thin”
due to the lim
ses, modern Oom mounted s UNMAP suppo
ns move data
ations to:
ents from a “
nt a storage
migrations wh with identica
ns move dataerent clusters
rations to:
ata between
a “hot” volum
devices to ne
egration
is implemen
e and Write” /off, and mov
me (16)” offlor.
dWrite (CAWh as powering
must be to "tr DR1.
ge volume coof the migratipy all blocks.
d Space
se cases for V” -or- “Thin” t
mitations of V
perating Syste storage volumort and VPLEX
a between ex
hot” storage
volume to cr
here the sourl capacities
a between des.
dissimilar ar
me to a faste
ew arrays in a
(VAAI) S
nted using th
(CAW) offloaving them be
oads copying
W) SCSI commg-on/off VMs
Thin LUN
rue" prior to
ontains non-zon or initial R.
VPLEX Mobil to “Thin” devVPLEX’s inabi
ems now offeres. However,
X Mobility offer
xtents in the
e volume sha
reate more co
rce and targe
evices on the
rrays
r array
a different clu
Support
e following tw
ds coordinatetween ESX s
g data to and
mand is used s, moving VM
Chapt
Space Recla
the storage v
zero data bef RAID 1 rebuil
lity, one of thvices (or extelity to levera
r methods of r there are manrs a great meth
same cluster
red by other
ontiguous fre
et have the sa
e same clust
uster
wo SCSI com
tion of powerervers.
d from the arr
to coordinatMs from one E
ter 2: Thin Pro
aim Using EMTechnic
volumes bein
fore being cold is adverse
hese use caseents) to reclaige the SCSI U
reclaiming ununy older versiohod of resolvi
r.
busy extents
ee space
ame number
er or betwee
mmands:
ring virtual m
ray through t
te VMware ESXi to anoth
visioning
1MC VPLEX cal Notes
ng used
onnected ely
es is to im
UNMAP
used (or ons that ng this
s
r of
n
machines
the
her
11
12 TT
V
W
Chapter 2: Thi
Thin LUN SpaTechnical No
VNX2 Th
WriteSame (
in Provisioning
ace Reclaim otes
withope
CAWcauharent
VPLviewCAW
Noteena
Thevirttran
WritVPLusineffi
in Provis
For chaalloVM
Whwhe
Wh
ThicLUNthe
As ostorstordele
(16)
g
Using EMC V
hout halting erations.
W is used by used by SCSI dware acceleire disk.
LEX allows CAw level. WhenW support inf
e: VM operatiobled.
e WriteSame ual disks to Vnsferred by th
teSame (16) LEX which enng host cycleciently.
sioning
native VMwaaracteristics tocated from tFS Datastore
en using RDMether the RDM
en creating a
Thick Prov
Thick Prov
Thin Provi
ck Provision Ns. When usi Datastore, b
of vSphere 5rage system rage pool whetes a file, su
VPLEX
applications
VMWare ESX RESERVATIOeration by all
AW to be enan CAW is disaformation in
ons may expe
(16) SCSI com VPLEX. Writehe applicatio
is used to ofables the arr
es. The array
are environm that are thin-the pool whee reuses prev
M volumes, tM volume is t
a VMware virt
vision Lazy Z
vision Eager Z
ision
Lazy Zeroed ng this meth
but the VMwa
, there is also level. VMFS hen created ouch as Storag
(VMotion), a
Xi servers to rON in distribulowing ESX s
abled/disableabled on VPL their respon
rience signific
mmand provSame (16) re
on client mult
ffload VM proray to perform can schedul
ments, the Vir-friendly. Firsn a VMware fiously alloca
he file system thin-friendly.
tual disk, LU
eroed
Zeroed
is the defaulod, the stora
are kernel do
o the ability t 5 uses the SCon thin LUNs.ge vMotion, d
and Distribut
relieve storaguted VM envirervers to loc
ed at either aLEX, VPLEX vises to inquir
cant performan
vides a mechequests the stiple times to
ovisioning anm copy operae and execut
rtual Machinest, a minimal file system isated blocks th
m or device c.
Ns can be pr
lt and recomage required oes not initial
to perform thCSI UNMAP c. SCSI UNMA delete VM, d
ted Resource
ge contentioronments. CAk a region of
a system leveirtual volumeries from hos
nce degradati
anism to offl server to writo consecutive
nd snapshottations indepete the copy fu
e File System number of ths created on hat are bene
created on th
rovisioned as
mended virtu for the virtualize all the bl
hin LUN spac command to AP is used any
elete snapsh
e Scheduler (
n, which mayAW assists stf disk instead
el or by a stoes, do not incsts.
on if CAW is n
load initializite blocks of de logical bloc
ting in vSpheendently withunction muc
m (VMFS) hashin extents a thin LUNs. Aficial to thin
he guest OS d
s:
ual disk typeal disk is reselocks at crea
ce reclamatio return spacey time VMFS hot, etc. Earli
(DRS)
y be torage
d of
rage clude
ot
ing data cks.
ere to hout h more
many are Also, a LUNs.
dictates
e for thin erved in tion.
on at the e to the 5 ier
V
X
VA
Xf
VMAX3 T
XtremIO
VMware vStoAPI for VMAX
XtremIO’s sufor the VAAI
versgrea
Notecrea
Thin Prov
All Vimponly
VMwopeservope
Thin Pro
Xtreeagprovpremetblocworlazy
WhmapcorrthatcoumetSSD
orage X3
upport
sions of VMFatly simplifie
e: When usingation. Instead,
visioning
VMAX3 arrayprove capacity supports th
ware vStoragerations to thvers to free uerations are:
Full Copy deployme
Block Zeroand virtua
Hardwareassists wi
UNMAP - Tfiles and Dspace is a
VMware v
ovisioning
emIO arrays ager-zero virtuvisions the sparation or intadata operack, exactly 4rlds: Dedupliy-zero or thin
en the ESX hpping is erasresponding tt erased LBA
unt was decretadata. TherD, avoiding a
FS would onlyes the proces
g Thin Provisio, it is allocated
g
ys are pre-conty utilization,hin devices a
ge APIs for Arhe VMAX3 arrup server reso
- This operatents of VMs, s
o - This operaal disk space
-Assisted Locth virtual des
This operatio Datastores mautomatically
Sphere Stora
g
are inherentlal disk with V
space, startinnitialization
ations as a reKB of space cation and T
n-format virtu
ost issues ansed from the to that fingerA, the XtremIOemented to zre is no need ny erase ove
y return the css by conduct
on, space requd and zeroed o
nfigured with, and simplify
and no longer
rray Integratioray to optimizources by off
tion offloads snaps, clone
ation allows
cking - This osktop deploy
on will allow Vmaking more y returned to
age API for St
y thinly prov VAAI block zeng with absol of such an EZsult of writin
is incrementThin Provisionual disks on t
n unmap com metadata. Tprint is decre
O array will rezero) because to immediat
erhead.
Thin LUN
capacity at thting space re
uired for the vi out on deman
h Virtual Provfy storage mar uses any th
on (VAAI) wilze server perfloading certa
replication tes, and storag
you to rapidl
operation opyments
VMs to recla efficient use the thin poo
torage Aware
isioned. Wheroing, the Xlutely no conZT disk is su
ng zeroes. Wally consumening benefits
the ESX hosts
mmand, the sThe referenceemented. Wheturn a zero be the entry notely erase the
Chapt
Space Recla
he file systemeclaim autom
irtual disk is nd.
visioning (VP)anagement. Thick devices.
ll offload Virtrformance. VAain operation
to VMAX3 to ge vMotion o
ly initialize fi
timizes meta
im zeroed sp of disk spac
ol where it ori
eness (VASA)
en the host aXtremIO arraynsumed SSD per-fast becaith every writed. So you gs with no runs.
specific LBA-e count of thehen a subseq
block (assumo longer exise now-de-refe
ter 2: Thin Pro
aim Using EMTechnic
m level. vSphmatically.
not allocated a
) to help redu The VMAX3 in
tual MachineAAI enable thns. For VMAX
enable muchoperations.
ile system bl
adata update
pace within Vce. This unusiginated.
)
allocates a thy still thinly space at all! ause it is all tten unique 4
get the best o-time overhe
-to-fingerprine underlying quent read c
ming the refersts in the maperenced 4K b
visioning
1MC VPLEX cal Notes
ere 5
at
uce cost, n fact
e (VM) he ESXi
X3, these
h faster
ocks
es and
VMDK sed
hick-
The
4KB of both ead of
nt block omes for rence pping
block on
13
14 TT
T
Chapter 2: Thi
Thin LUN SpaTechnical No
Thin Prov
in Provisioning
ace Reclaim otes
Whrecosamidenwith
Xtrea spstorthefingbloc
visioning
In sprovworSto
Thecomrecl
Thistranspa
Noteoffli
g
Using EMC V
en a host wriognize this is
me unique contification ofhout doing a
emIO has glopecific 4KB dred on flash re would be
gerprint for alck stored on
g Summa
summary, it’svisioning betrk to be donerage Arrays,
e VNX2, VMAXmmands and lamation diff
s is where VPnsparent movace and recla
e: VPLEX Mobine for any rea
VPLEX
ites a zero bls a 4KB blockontent fingerpf this fingerprnything inter
obal inline dedata pattern i in the array. mappings froll zero blocks SSD.
ary
s important totween dozen
e to facilitate and Host OS
X3, and Xtrem VAAI featureferently while
PLEX Mobilityvement of daim that spac
ility jobs are aason. This ens
lock to an Xtrk filled with zprint which isrint, we immernally.
eduplication, s written to t You can imaom their logics. And the fin
o note that evns of heteroge SCSI UNMAP
S’s.
mIO back-ene sets, but alle being virtua
y can help resata between ece for each re
all done onlineures complete
remIO array a zeroes — becs well knownediately ackn
which mean the array, theagine for all tcal addressengerprint wo
ven though Veneous backP commands
d arrays all nl of these baalized with V
solve these i extents and/espective “Th
e without the re transparency
at a certain Lcause all zeron by the arraynowledge the
ns that no maere is only ev
those logical es (LBA) to thould be mapp
VPLEX fully sk-end arrays,s between VP
natively suppck-end array
VPLEX.
issues by ena/or devices tohin” pool.
requirement toy to the user e
LBA, we immeo blocks havy. Upon e write to the
atter how maver one copy 4KB zero bloe same uniq
ped to the sin
upports “Thi there is still
PLEX, Back-en
port SCSI UNMs handle spa
abling the o trim the un
o take the hosenvironments.
ediately e the
e host
any times of it ocks,
que ngle zero
n” some nd
MAP ace
claimed
st
This
VMw
Virt
Raw
Dat
s chapter pre
ware ESXi Re
tual Machine
w Data Mapp
tastores (VM
esents the fo
eclaim .........
e Disks (VMD
ings (RDMs)
FS) ..............
llowing topic
....................
DKs) ..............
...................
....................
Thin LUN
Chapter
cs:
...................
...................
...................
...................
C
Space Recla
r 3 VM
....................
....................
....................
....................
hapter 3: VMw
aim Using EMTechnic
Mware E
...................
...................
...................
...................
ware ESXi
1MC VPLEX cal Notes
ESXi
......... 16
......... 16
......... 16
......... 17
15
16 TT
V
V
Chapter 3: VM
Thin LUN SpaTechnical No
VMware
Virtual M
Raw Data
Mware ESXi
ace Reclaim otes
ESXi Rec
In tbe zthe whiwill
Fig
Machine D
If thsystconlate
Sommuswhiis dcapthinthe call
For Usi
Noteresupun
a Mappin
Using EMC V
claim
he VMware E zeroed for st Virtual Machich is created discuss pro
gure 3 - VMw
Disks (VM
he space to btem, the gue
ntinuing on wer in this doc
mething to cost first be deile running th
done by creatpacity then denly provisione zero space aled: “vmkfs
more informng vmkfstoo
e: The VMDK mult, the virtual chzero comm
ngs (RDM
VPLEX
ESXi environmorage reclamhine Disk Filed as Virtual Mcedures for e
ware Storage
MDKs)
be reclaimed est operating with ESXi-spe
ument.
onsider is thaflated to ens
he procedureting a temporeleting that ted VMDK wil
and “re-thin”tools –pu
ation see VMls Help File
must be free o machine thatand.
Ms)
ment, there amation to takee (vmdk) on tMachine File S each of these
e Layers
is part of a V system’s filecific procedu
at if the VMDsure the guese to zero out trary file that wemporary filel also inflate
” the device aunchzero”
Mware vSphe
of any locks pr is using the V
are two layerse place. The V
the Virtual M System (vmfse layers.
VMDK file andesystems muures. This wil
DK files were ast operating sthe guest op will inflate the. As a result. So VMware
after it was te
ere 5.5 Docum
rior to running VMDK must be
s of the stora VM’s filesystachine layer
fs) on the ESX
d is in use byust first be zell be covered
allocated as system does erating systehe filesystemt, the space a
e has provideemporarily in
mentation Ce
g vmkfstools –e powered off
age stack thatem are conta and the DataXi Layer. This
y a guest opeero-written be in detail for
thin VMDKs. not run out oem’s filesyste
m to its maxim allocation of ed a CLI tool tnflated. This t
enter:
punchzero on prior to runnin
at must ained on astore
s section
erating efore each OS
. They of space em. This mum this
to trim tool is
it. As a ng the --
Datastor
If thprosinc
res (VMFS
SimMacrecl
Usi
Theusinit fu
NoteDatamayMacfiles
he filesystemcedure for thce RDMs are
S)
milar to deletichines and thlaim the stor
ng the “dd”
e procedure tng the “dd” ully consume
# dd if# rm <p
e: It is critical astore filesysty experience ochines associasystem.
m is located ohe VM’s respe not under hy
ing and reclahe associateage on that d
command
o write zeroecommand. T
es all availab
f=/dev/zerpath to Da
to understandtem. Any Virtuout of space erated with that
n a Raw Deviective operatypervisor con
aiming space d files stored
datastore. Th
es to the unuThis will creatle disk space
ro of=<pathatastore>/z
d that this proal Machines wrrors during th datastore to b
Thin LUN
ice Mapping ting system. ntrol.
for files locad on a datasthis can be do
sed space onte a temporae, then will im
h to Dataszeroes
cedure will tewith VMDKs onhis time. It is rebe powered do
C
Space Recla
(RDM) devic No further ac
ated on a VMtore will not a
one by using
n a UNIX filesary file that wmmediately d
store>/zero
mporarily comn the datastorecommended own prior to ze
hapter 3: VMw
aim Using EMTechnic
ce, only followction will be
MDK, deleting automaticall the “dd” com
system is dowill write zero delete the tem
oes bs=102
mpletely fill thee using thin LU that all Virtuaeroing the Dat
ware ESXi
1MC VPLEX cal Notes
w the required
g Virtual y mmand.
ne by oes until mp file.
2400
e UNs
al tastore
17
18 TT
Chapter 4: Ge
Thin LUN SpaTechnical No
neric UNIX / L
ace Reclaim otes
This
UNI
The
The
The
inux
Using EMC V
s chapter pre
IX / Linux File
e “dd” Comm
e “mount –o d
e “fstrim” Co
VPLEX
esents the fo
esystem Rec
mand ............
discard” Com
mmand .......
Chapter
llowing topic
claim ............
....................
mmand .........
....................
r 4 Ge
cs:
...................
...................
...................
...................
eneric U
....................
....................
....................
....................
UNIX / Li
...................
...................
...................
...................
inux
......... 19
......... 19
......... 19
......... 20
T
T
UNIX / Li
The “dd”
The “mo
inux Files
DelOnlthe
1.
2.
3.
” Comma
Thecreadele
# d# r
Notefilesspafiles
unt –o di
Thethatpenslow
To eopt
system R
eting files only the pointer disk. There a
Using the “d
Using the “m
Using a cron
and
e procedure tate a zero-fillete the file.
dd if=/dev/rm <path to
e: It is critical system. Any apce errors durinsystem be shu
iscard” C
e “mount –ot were using
nalty in sendiwer than usu
enable automion in fstab
1) Backup
# cp /e
# vi /e
2) Add disc
/dev/sd
3) Save & E
Reclaim
n UNIX or Linur in the filesy
are a couple
dd” command
mount –o di
job to run “fs
o write zeroeled file that f
/zero of=<o filesyst
to understandpplications onng this time. Itutdown prior to
Command
o discard the EXT4 fileing TRIM com
ual on some d
matic TRIM onb. Follow the
your fstab
etc/fstab
etc/fstab
card to the fs
db1 /app1
Exit fstab, t
ux filesystemystem header of ways to re
iscard” com
strim” to tri
es to unused fully consume
<path to fitem>/zeroes
d that this pron the host thatt is recommeno zeroing the f
d
d” option alloe system. Themmands after drives.
n a mount pose steps:
then open it
~/fstab-<d
stab options
ext4 disca
then reboot.
Thin LUN
ms does not ar is removed,esolve this is
mmand
m at a schedu
space on UNes all availab
ilesystem>s
cedure will tet tries to write nded that all a filesystem.
ows you to auere is however every delete
oint, it must b
t for editing
date>
for each driv
ard,errors
Automatic T
Chapter 4
Space Recla
automatically, leaving the
ssue:
uled interval
NIX is to use ble disk spac
>/zeroes bs
mporarily com the filesystempplications as
utomatically er a noticeabe which can
be mounted
ve or mount p
s=remount-r
TRIM is now E
4: Generic UNI
aim Using EMTechnic
y zero out the data still int
the dd commce, then imm
s=102400
mpletely fill them may receive ssociated with
TRIM deletedble performan make deletio
with the disc
point.
ro 0 1
Enabled.
IX / Linux
1MC VPLEX cal Notes
e data. act on
mand to ediately
e out of
h that
d file nce on much
card
19
20 TT
T
Chapter 4: Ge
Thin LUN SpaTechnical No
The “fstr
neric UNIX / L
ace Reclaim otes
rim” Com
Theblocprov
Schfreqincrfollo
Noteconcomopecan on y
inux
Using EMC V
mmand
e "fstrim" cks which arvisioned sto
heduling "fsquency of oncrease or decrow these ste
1) Create a
vi /etc
2) Add the
#! /bin # By de# You c# Make # For e# THIN_ THIN_MO for moudo fstdone
3) Make th
sudo ch
4) And fina
sudo /e
e: Trim has besequently inc
mmand. The noration, issue t take a lot of t
your back end
VPLEX
command ise not in use rage where y
strim" for mce a week. Orease the freq
eps:
a CRON job to
c/cron.wee
following to
n/sh
efault we can add mosure all example: _MOUNT_POI
OUNT_POINT
unt_point
trim $moun
e script exec
hmod +x /e
ally, Run it:
etc/cron.w
een defined asurs massive exon-queued nat the trim commime to comple storage array
s used on a m by the filesysyou need to d
most storage Once a baseli
quency to me
o run once a w
ekly/fstrim
the fstrim
assume onlore “Thin” mount poin
INTS='/ /bo
TS='/'
in $SSD_MO
nt_point
cutable:
etc/cron.we
weekly/fstr
s a non-queuexecution penature of the com
mand then resuete and may evy.
mounted filesstem. This is discard all un
volumes shone for behaveet your need
week:
m
file:
ly / is onmount points are wi
oot /home
OUNT_POINT
eekly/fstr
rim
ed command balty if used aftmmand requirume all normaven trigger so
system to dis extremely us
nused blocks
ould start witvior has beends. To sched
n a “Thin” ints, separithin the q
/opt/app1
TS
rim
by the T13 subter each filesysres the driver tal commands. me garbage c
scard (or "trimseful for thin
s in the filesy
th a trimmingn established
ule “fstri
device rated by squotes.
/opt/app2
bcommittee, astem delete
to first finish a For this reasoollection depe
m") ly-
ystem.
g d, m”
spaces.
2'
nd
any on Trim ending
This
Thin
Sto
Usi
UNM
Usi
Scr
s chapter pre
n Provisionin
rage Space R
ng the UNMA
MAP Reques
ng the sdele
ipting with P
esents the fo
ng LUN Ident
Reclamation
AP Command
ts from Hype
ete.exe Comm
PowerShell ...
Chapte
llowing topic
tification ......
...................
d ..................
er-V ..............
mand ............
....................
Thin LUN
er 5 M
cs:
...................
...................
...................
...................
...................
...................
Chapter
Space Recla
Microso
....................
....................
....................
....................
....................
....................
r 5: Microsoft
aim Using EMTechnic
oft Wind
...................
...................
...................
...................
...................
...................
Windows
2MC VPLEX cal Notes
ows
......... 22
......... 22
......... 22
......... 22
......... 23
......... 23
21
22 TT
T
Chapter 5: Mi
Thin LUN SpaTechnical No
Thin Prov
Storage
Using th
UNMAP R
crosoft Windo
ace Reclaim otes
visioning
Witsolulogiexh
Winspeenuto d
Noteacco
Space Re
Spastordes
e UNMAP
WhWinreqUNMstorgathcomSCS
Note
Requests
DurwheUNMguevirtthe follo
ows
Using EMC V
g LUN Ide
h Microsoft Sution. Thin pical unit (LUN
haustion, and
ndows Serverecification forumeration, thdetermine the
e: The storageording to the S
eclamatio
ace reclamatirage optimiz
signed to per
P Comma
en a large filendows Serveruest. The stoMAP commanrage device. hers informa
mmands. OnlSI UNMAP or
e: Windows Se
s from Hy
ring the virtuaether the stoMAP or TRIM est operatingual machine’ SCSI UNMAPows:
If the VM ha Data Setsends the
VPLEX
entificati
Server 2012, rovisioning f
N) identificatd space recla
r 2012 has ar identifying t
he Windows Se provisionin
e device report SBC3 specifica
on
ion can be tration operati
rform “read re
and
e is deleted fr converts fileorage port drind or an ATA During the st
ation about wly the UNMAP ATA TRIM ca
erver does not
yper-V
al machine (Vrage device w commands.
g system, the ’s virtual harP request to t
has a VHD, tht Manageme
e request to t
on
thin provisiofeatures incluion, thresholmation.
dopted the T thinly provis Server will gang type, the U
ts its provisionation.
iggered by fiion. File systeeturn zero” a
from the file e delete or triver stack tra TRIM commatorage device
whether the sP request is spability.
t adopt T10 SC
VM) creation where the vir When a large guest operatd disk (VHD)
the class driv
he VHD convnt I/O controhe host stora
oning is an euded with Mild notificatio
T10 SCSI Blocioned LUNs.
ather the bacUNMAP, and
ning type and
le deletion, aem level trim
after a trim or
system or a frim notificatioanslates the Uand accordine enumeratiotorage devic
sent to the st
CSI WRITE SAM
n, a Hyper-V hrtual hard dise file is deletting system s or VHD file. ver stack of t
verts SCSI UNol code (IOCTage device.
nd-to-end sticrosoft’s Ser
on, handles fo
ck Command During the in
ckend storag the TRIM cap
UNMAP and T
a file system m is enabled fr an unmap o
file system leons into a co
UNMAP requng to the proton, the Winde supports Utorage device
ME command
host will sendsk (VHD) resited from the sends a file d The VM’s VH
the Windows
NMAP or ATA TL DSM) TRIM
orage provisrver 2012 incor resource
d 3 (SBC3) stnitial target de device prop
pabilities.
TRIM capabilit
level trim, o for a storageoperation
evel trim is trorrespondingest into an Stocol type of ows storage
UNMAP or TRIe if the devic
sets.
d an inquiry ades supports file system o
delete requeHD or VHD files Hyper-V hos
TRIM commaM request, an
ioning clude
andard device perties
ty
r a e device
riggered, g UNMAP SCSI f the stack IM e has
about s
of a VM st to the e tunnels st, as
ands into d then
S
Using th
Scripting
Note
e sdelete
Delthe inta
Thesdethe
Dow
Sdetoo
http
UsiUsasde
The
g with PoTheon tfreespa httpSec
If the VM hcommandthe host o
e: Windows Hy
e.exe Com
eting files on data. Only th
act on the dis
e procedure telete.exe unused files
wnloading sd
elete.exe is als. It may be
ps://technet
ng sdelete.eage: sdeletelete [-p p
-a Remo-c Clea-p Pass-q Don'-s or --z Zero
e sdelete.exe
C:\sdel
owerShele following lin the specifiede space. This ace as unuse
p://blog.whaction Break, D
has a VHD filds into file syoperating sys
yper-V also su
mmand
n older versiohe pointer insk.
o write zeroe command. T
system space
delete.exe
available from downloaded
.microsoft.co
exe te [-p paspasses] [-
ove Read-Oan free spses Specif't print e-r Recurseo free spa
command is
lete.exe -
ll nk is for a Pod volume the allows the sd and reclaim
atsupduck.ne DO NOT DELE
le, the VHD fistem-level tr
stem.
upports IOCTL
ons of Micros the filesyste
es to unused The sdeletee with zeroes
m Microsoft Td from:
om/en-us/sy
sses] [-s] -z|-c] [dri
Only attribpace fies numbererrors (Quie subdirectace (good f
s used agains
-z <drive>
werShell scrin fills that vo
storage array m the space o
et/2012/03/ETE
Thin LUN
ile system corim requests,
DSM TRIM cal
soft Server doem header is
space on Mie.exe comms.
TechNet as pa
ysinternals/b
[-q] <filive letter
bute
r of overwiet) tories for virtua
st a Windows
ipt that will colume up wit that is thin p on the physi
/powershell-a
Chapter
Space Recla
onverts SCSI , and then se
lls from the gu
oes not auto removed, le
icrosoft Windmand provide
art of the Win
bb897443.as
le or direcr] ...
write passe
al disk opt
s filesystem
create a file ch zeroes leav
provisioned tcal disks. He
alternative-to
r 5: Microsoft
aim Using EMTechnic
UNMAP or ATends the requ
uest operating
matically zeraving the da
dows is to uses a ‘-z’ flag
ndows SysIn
spx
ctory> ...
es(default
timization
as follows:
called ThinSAving 5% perc
to mark that ere is the link
o-sdelete.htm
Windows
2MC VPLEX cal Notes
TA TRIM uests to
g system
ro out ata still
se the g to fill
ternals
t=1)
n)
AN.tmp cent of drive k:
ml
23
A
24 TT
Appendix A: V
Thin LUN SpaTechnical No
VMware ESXi U
ace Reclaim otes
This
Spa
UNMAP Examp
Using EMC V
Appe
s appendix p
ace Reclamat
ples
VPLEX
endix A
presents the f
tion with VM
VMwa
following top
ware ESXi ....
are ESX
pics:
...................
Xi UNMA
....................
P Examp
...................
ples
......... 25
v
Space Re
vmkfstools -punchzero
eclamatio
Therunthe stor
In timmawa
Notecha
PrioSus
Fig
At t
Fig
-
on with V
e environmenning on ESXi guest operarage backing
his example,mediately maare that this s
e: The host copter. Likewise
or to deletingsE_OS_LUN v
gure 4 - LUN
his point we
gure 5 - Del
VMware E
nt used for th 5.5. A 30 GBting system i
g.
, a large file wakes the spac space is now
ommands deme for Microsoft
g any files, thvolume. This
N Utilizatio
delete the d
leting Files
ESXi
is example cB datastore ( installed on i
was deleted ce available,
w available.
monstrated her Windows Serv
e ESXi serve volume is pr
on Prior to
esired file(s)
s on the Gu
Append
Thin LUN
consists of a (SuSE_OS_Da it. The datast
in a guest VM but the Data
re are fully exprvers and Hype
r reports tharesented to th
o File Delet
) on the virtu
uest Host
ix A: VMware
Space Recla
SuSE Linux Vatastore) hastore is a VPL
M. The operaastore and Ar
plained in the er-V VMs.
t there is 11.he host as an
tion
al machine.
ESXi UNMAP E
aim Using EMTechnic
Virtual Machs been createEX LUN with
ting system rray layers ar
Generic UNIX
.5 GB used on RDM.
Examples
2MC VPLEX cal Notes
ine ed and XtremIO
re not
/ Linux
n the
25
A
26 TT
Appendix A: V
Thin LUN SpaTechnical No
VMware ESXi U
ace Reclaim otes
Afteutil
Fig
Sincurrcom
Fig
Sinautthe free
Fig
UNMAP Examp
Using EMC V
er the deletioized. This m
gure 6 - LUN
ce this VM isrently suppo
mmand to wri
gure 7 - Usi
ce our back-eomatically id 4.5 GB file a
eing up that s
gure 8 - LUN
ples
VPLEX
on, notice thaeans that no
N Utilizatio
s leveraging arting the TRIMite zeroes ov
ing “dd” to
end array is Xdentify and oand the Xtremspace withou
N Utilizatio
at the ESXi Seo space has b
on After Fi
a version of tM and UNMA
ver the unclai
Fill the F
XtremIO that ptimize the f
mIO array hasut any further
on after Sp
erver still repbeen reclaim
ile Deletion
the SuSE OpeAP operationsimed disk sp
Free Disk Sp
t automaticalfreed space. s de-duplicatr actions.
pace Reclama
ports that 11ed by the arr
n
eration Systes, we will use
pace.
pace with Z
lly de-dups z In this examted the zeroe
ation
.5 GB is beinray.
em that is note the “dd”
Zeroes
zeroes, the arple, we have
es, immediat
ng
t
rray will e cleared ely
At tde-ESXfile we
Fig
Thisfile.
Fig
Fig
his point, theduped by the
Xi datastore h that was cre will also nee
gure 9 - Inf
s 16 GB inclu. Follow thes
1. Shut dow
2. Run vmk
gure 10 - Ex
3. Verify VM
gure 11 - De
e RDM disk he XtremIO bahas been inflated during t
ed to run the “
flated VMDK
udes the delee steps:
wn the guest
kfstools -
xample of Ru
MDK has bee
eflated VMDK
has been zeroack-end arraylated from bo the thinning “vmkfstoo
Size prior
eted file plus
t VM using th
--punchze
unning “vmk
en resized in
K Size afte
Append
Thin LUN
oed and the y. However, thoth the origin process. In ools –punch
r to vmkfsto
s the zeroes t
he VMDK to re
ero <VMDK
kfstools --p
vCenter.
er running v
ix A: VMware
Space Recla
space has behe VMDK filenal file and th order to resohzero” com
ools
that were wri
elease any fi
Filename>
punchzero"
vmkfstools
ESXi UNMAP E
aim Using EMTechnic
een automate that is storehe temporarylve this discrmmand.
tten over the
ile/device loc
> on the VMD
Examples
2MC VPLEX cal Notes
tically ed on the y zeroes repancy
e deleted
cks.
DK.
27
A
28 TT
Appendix B: W
Thin LUN SpaTechnical No
Windows RDM
ace Reclaim otes
This
Spa
Pag
Example
Using EMC V
s appendix p
ace Reclamat
ge Break – DO
VPLEX
App
presents the f
tion with Mic
O NOT DELET
pendix B
following top
crosoft Wind
TE
B Wind
pics:
ows ............
dows RD
....................
DM Exam
...................
mple
......... 29
s
Space Re
sdelete.exe
eclamatio
Therunof cend
Notesde
In tattaspaunuinfla
Priothe
Fig
As pautleav
Thisunu
on with M
e environmenning on a 40
copying an ISded by Xtrem
e: It should belete.exe is not
his example,ached to a Guace available used space. Aated files on
or to deleting WIN2012_R
gure 12 - Fi
previously diomatically zeving the data
s is where thused filesyste
Microsoft
nt used for th GB VMDK fil
SO file to a 10IO.
e noted that Wt needed to de
, a large file wuest VM. The so it will req
Also needed the datastor
g any files, thDM-1 volume
ile Size Pri
scussed, fileero out the da still intact o
e sdelete.em space wit
t Window
is example cle located on0 GB RDM all
Windows Serveeflate the RDM
was copied toe operating syquire the use will be the vre.
e Windows Se.
ior to Runn
e deletion onata. Only the
on the disk.
.exe commath zeroes and
A
Thin LUN
ws
consists of a n the WINServlocated from
er 2012 does sM devices.
o a Raw Deviystem does n of the Sdelemkfstools co
Server report
ning sdelete
older versioe pointer in th
and providesd ultimately f
Appendix B: W
Space Recla
Windows Sev_Datastore. a VPLEX that
space reclama
ice Mapped ( not automatiete.exe commommand on E
s that there i
e.exe
ons of Microshe filesystem
s a quick and facilitate spa
Windows RDM
aim Using EMTechnic
erver Virtual M. Our test willt has been b
ation by defau
(RDM) volumcally makes
mand to free t ESXi to free t
is 4.49 GB us
oft Server dom header is re
d easy way toace reclamati
Example
2MC VPLEX cal Notes
Machine l consist ack-
ult and
me the that he
sed on
oes not emoved,
o fill ion.
29
A
30 TT
Appendix B: W
Thin LUN SpaTechnical No
Windows RDM
ace Reclaim otes
Fig
AfteWIN
Fig
At tbachascreaneeexa
Example
Using EMC V
gure 13 - Ex
er deleting thN2012_RDM-
gure 14 - Fi
his point, theck-end storags been inflateated during ted to run the ample in App
VPLEX
xample of ru
he file(s), the-1 volume.
ile size aft
e RDM disk hge array. Howed from both the thinning p “vmkfstooendix-A.
unning sdel
Windows Se
ter running
has been zerowever, the VM the original
process. In ools –punch
lete.exe
erver reports
g sdelete.ex
oed and the MDK file that file and the torder to resolhzero” com
that there is
xe
space has be is stored on temporary zelve this discrmmand as in
145 MB use
een reclaime the ESXi dateroes file thaepancy we w
n the previou
ed on the
ed by the astore t was
will also s
This
Spa
App
s appendix p
ace Reclamat
pendix C
presents the f
tion through
C Linux
following top
VPLEX Mobi
Append
Thin LUN
x with E
pics:
ility Jobs ......
dix C: Linux wit
Space Recla
MC VPL
....................
th EMC VPLEX
aim Using EMTechnic
LEX and V
...................
X and VNX
3MC VPLEX cal Notes
VNX
......... 32
31
A
32 TT
W
Appendix C: L
Thin LUN SpaTechnical No
Space Re
How Data MoWorks
Linux with EMC
ace Reclaim otes
eclamatio
VPLdevwritis ru
In timmin t
NoteIt ca
Priostorand
Fig
Thepro
obility
C VPLEX and V
Using EMC V
on throug
LEX Data Mobvice that is batten to a thinunning on a d
his example,mediately mahe storage a
e: This exampan also be use
or to beginninrage to the V
d approximat
gure 15 - Su
e file is then dcedure.
NX
VPLEX
gh VPLEX
bility, along wacked by a st disk. The en
datastore on
, a large file wakes the spacrray.
le is used to ded from thick-t
ng, make notVPLEX Virtual tely 14.7GB o
uSE_OS_LUN_0
deleted and t
X Mobilit
with VPLEX’s torage array tnvironment in a VPLEX Virt
was deleted ce available,
demonstrate thto-thin to conv
te of the cons Volume. A 4
of capacity ha
0 Consumed
the filesystem
ty Jobs
thin-awaren that does non this examptual Volume
in the guest but the spac
hin-to-thin mivert a thickly p
sumed space.5GB file hasas been cons
Capacity
m is zeroed p
ess can be leot automaticaple is a Linux backed by an
VM. The opece is not retu
gration in ordprovisioned de
e on the VNXs been copiesumed.
per the Gene
everaged to rally duplicate virtual machn EMC VNX th
erating systemurned to the t
er to re-thin a evice to a thin
X LUN that prod to the files
ric UNIX / Lin
re-thin a e zeroes hine that hin LUN.
m thin pool
device. device.
ovides ystem
nux dd
V
VPLEX Data Mobility
Fig
Afteexp
Fig
VPLVPLthe
In t“Th
Fig
UndMob
gure 16 - De
er zeroing, nopected becau
gure 17 - Su
LEX Data MobLEX’s thin-aw space on the
his example,in Rebuild” a
gure 18 – Se
der the Data bility job.
eleting a fi
o change in Cuse the VNX w
uSE_OS_LUN_0
bility to a newwareness will
e LUN.
, a thin-to-thi attribute bein
etting the T
Mobility tab,
ile and zer
Consumed Cawill not autom
0 Consumed
w thin device not write the
in VPLEX datang set during
Thin Rebuil
, select Move
Append
Thin LUN
roing the fi
apacity is obmatically ded
Capacity un
e will facilitate zeroes to th
a mobility jog the claiming
ld Attribute
e Data within
dix C: Linux wit
Space Recla
ilesystem
bserved on thduplicate zer
nchanged
te reclaiminghe target dev
b will be comg process.
e
n Cluster to se
th EMC VPLEX
aim Using EMTechnic
he VNX LUN. Troes.
g the zeroed svice thereby f
mpleted due
et up the Dat
X and VNX
3MC VPLEX cal Notes
This is
space. freeing
to the
ta
33
A
34 TT
Appendix C: L
Thin LUN SpaTechnical No
Linux with EMC
ace Reclaim otes
Fig
The
Fig
AfteVolSuS
Fig
Thean u
C VPLEX and V
Using EMC V
gure 19 - VP
en click on th
gure 20 - Cr
er selecting tume that is b
SE_OS_vol Vi
gure 21 - Se
en select the unused Devic
NX
VPLEX
PLEX Data Mo
e Create Dat
reate Device
he local clusbeing used birtual Volume
elect Virtua
backing Devce that is bac
obility
a Mobility Jo
e Mobility
ster to create y the operatie.
al Volume
ice and creatcked by a ne
bs button.
Job
the Data Moing system fi
te the Sourcew thin LUN o
obility on, sellesystem. In
e-Target mapon the array.
lect the Virtu this case, it’
pping by iden
ual ’s the
ntifying
Fig
Statranconapp
Fig
At tThisuse
VPLseasyst
gure 22 - Cr
rt the Data Mnsferred to thnsumed by thproximately 1
gure 23 - Su
his point, thes will return a
e.
LEX Data Mobamless methotem.
reate Source
Mobility job ahe new LUN, he 4.5GB file 10.2GB.
uSE_OS_LUN_1
e original LU all of its cons
bility in coordod for re-thin
e / Target
nd commit it named SuSE has been rec
1 Consumed
N can be remsumed space
dination withning a LUN a
Append
Thin LUN
Mobility ma
t upon compE_OS_LUN_1claimed and
Capacity
moved from Ve to the thin p
h operating syafter freeing s
dix C: Linux wit
Space Recla
apping
letion. The d. The space t the new LUN
VPLEX and de pool to be av
ystem based space on the
th EMC VPLEX
aim Using EMTechnic
ata has been that was prevN is only cons
eleted from thvailable for fu
d utilities offee host operat
X and VNX
3MC VPLEX cal Notes
n viously suming
he array. uture
ers a ing
35