Вы находитесь на странице: 1из 26

http://www.microsoft.

com/china/technet



Volume Shadow Copy
Windows
, PMP/MCSE
yy@yuyong.net
www.yuyong.net
http://www.microsoft.com/china/technet
Windows
4 1206 Windows
4 1214 Volume Shadow Copy
4 1223 WindowsNTFS
4 1227
4 VSSExchange
4 Windows Virtual Disk Service
http://www.microsoft.com/china/technet/webcasts/default.mspx
http://www.microsoft.com/china/technet
Volume Shadow Copy Service
Overview
4 VSS is a new service in
Microsoft Windows XP and
Windows Server 2003 that enables the
system to make a read-only snapshot
of a disk volume at a specific point in
time.

http://www.microsoft.com/china/technet
Volume Shadow Copy Service
Overview (continued)
4 Overview of VSS.
4 Shadow copies of shared folders.

http://www.microsoft.com/china/technet
How VSS works
4 Methods for Creating Shadow Copies
4 Volume Shadow Copy Service Architecture
4 Components Used for Creating Shadow Copies
4 How Shadow Copies are Created
http://www.microsoft.com/china/technet
Methods for Creating Shadow Copies
4 Clone (Full Copy/Split Mirror)
4 Copy-on-Write (Differential Copy)


http://www.microsoft.com/china/technet
Snapshot type clone
4 Make a complete copy of entire volume up
front:
1. Clone the volume.
2. Break off the clone.

4 Pro
Very fast after split
Best practice clone has better disaster
protection than copy on write
4 Cons
Requires n+1 clones to support n hot snaps
Takes time to synchronize clone
http://www.microsoft.com/china/technet
Snapshot type copy-on-write
OOOOOOOOOOG

Recover old view (t
1
) by laying
snapshot side store over current
data
OO O OOO G
Copy replaced sectors to a side store
OOO
Sectors modified between time t
1
and
t
2

Sectors on disk at time of snapshot
(t
1
)
OOOOOOOOOOG
4 Only copy changes made since snapshot
4 Done as software (volume or file) filter or hardware
4 Pro: rapid creation
4 Cons:
Overhead increases with use
Not a completely redundant data set
Not inherently fault tolerant
http://www.microsoft.com/china/technet
Volume Shadow Copy Service
Architecture
4 Volume Shadow Copy Service
4 Requestor
4 Writer
4 Provider
4 Source volume
4 Storage volume
http://www.microsoft.com/china/technet
Components Used for Creating Shadow
Copies
4 Requestors: Initiating Shadow Copy Creation
4 Writers: Preventing Data Inconsistencies
Applications that are not shadow copyenabled
4 Providers: Creating Shadow Copies
4 Hardware-based Providers
4 Software-based Providers
4 System Provider




http://www.microsoft.com/china/technet

http://www.microsoft.com/china/technet
How Shadow Copies are Created
http://www.microsoft.com/china/technet
VSS Tools
4 DiskRaid.exe
RAID Configuration Tool
4 VSSadmin.exe
Volume Shadow Copy Service Administrative Tool
4 VolPerf.exe
Shadow Copy Performance Counters
4 VolRest.exe
Shadow Copies for Shared Folders Restore Tool
4 Vrfydsk.exe
Verify Disk (Run CHKDSK without take the disk offline)
http://support.microsoft.com/default.aspx?scid=kb;en-us;837326
http://www.microsoft.com/china/technet
Shadow Copies of Shared Folders
General information
4 With Shadow Copies of Shared Folders
users can access and retrieve files and
folders that have been deleted,
modified, or corrupted.
4 Shadow copies are periodically created
on a user-specified schedule.
4 Intended primarily for use on network
file servers.
http://www.microsoft.com/china/technet
Shadow Copies of Shared Folders
Overview
4 Creates a point in-time snapshot of
data that has been modified since the
last shadow copy was taken.
4 After shadow copies are created, you
can access them by using the Previous
Versions client.
4 Regular backups are still required.
http://www.microsoft.com/china/technet
Shadow Copies of Shared Folders
Previous Versions client
http://www.microsoft.com/china/technet
Shadow Copies of Shared Folders
Previous Versions client
4 The Previous Versions client setup package for
Windows XP is part of the default Windows
Server 2003 install. It can be located under:
%Systemroot%\System32\clients\twclient
4 You can also download the Windows XP and
Windows 2000 client here:
http://www.microsoft.com/downloads/details.as
px?FamilyID=e382358f-33c3-4de7-acd8-
a33ac92d295e&DisplayLang=en
4 This site also includes downloads for
Windows 98 clients. Windows 98 has limited
support.
http://www.microsoft.com/china/technet
Shadow Copies of Shared Folders
Overview (continued)
4 Users can quickly restore their own
files without needing to have a backup
administrator restore files from tape.
4 Shadow copies are not permanent;
they use the first in, first out (FIFO)
process.
4 After they are created, shadow copies
cannot be moved from volume to
volume or system to system.
http://www.microsoft.com/china/technet
Shadow Copies of Shared Folders
Accessing shadow copies
4 From the local server or another
Windows 2003 Server computer, you can access
shadow copies by connecting through the UNC
network path of \\servername\sharename
4 For Windows XP or earlier operating systems, you
must install the Previous Versions client.
Supported on:
Windows XP
Windows 2000 (SP3 and later)
http://www.microsoft.com/china/technet
Shadow Copies of Shared Folders
Expected overhead
4 Disk I/O:
The expected impact for Shadow Copy is an average of 5
percent to 6 percent increase in CPU utilization, because
of the additional disk activity.
4 Disk space usage:
A minimum of 100 MB is allocated per volume for shadow
copies. This space will dynamically grow up to a user-
defined limit. In Service Pack 1, we will see an increase to
300 MB.
Default limit is 10 percent of the volume size.
When the limit is reached, the oldest shadow copy is
deleted to reclaim space for the newly created copies.
http://www.microsoft.com/china/technet
Shadow Copies of Shared Folders
Implementing
4 Source file
4 Disk space
4 Location of copies
4 Schedule
4 Test design
http://www.microsoft.com/china/technet
Additional resources
4 Introduction to Shadow Copies of Shared Folders
http://www.microsoft.com/windowsserver2003/techinfo/overview/scr.
mspx
4 Description of the Shadow Copies Feature in Windows Server
2003
http://support.microsoft.com/default.aspx?kbid=304606
4 Shadow Copy Client Download:
http://www.microsoft.com/windowsserver2003/downloads/shadowco
pyclient.mspx
4 A Volume Shadow Copy Service (VSS) update package is available
for Windows Server 2003
http://support.microsoft.com/default.aspx?scid=kb;en-us;833167

http://www.microsoft.com/china/technet
Additional resources
4 Shadow Copies May Be Lost When You
Defragment a Volume
http://support.microsoft.com/default.aspx?kbid=
312067
4 Windows Server 2003 Active Directory Fast
Recovery with Volume Shadow Copy Service and
Virtual Disk Service
http://www.microsoft.com/windows/storage/prod
uctinformation/whitepapers/w2k3actdirfastrec.m
spx
http://www.microsoft.com/china/technet
TechNet?
4
IT TechNet

4 DVDCD

TechNet
4 www.microsoft.com/china/technet

--
TechNet
4
,
TechNet
4
4,
TechNet

4
4

http://www.microsoft.com/china/technet
TechNet?
4 TechNet
www.microsoft.com/China/technet
4 TechNet
www.microsoft.com/china/technet/abouttn/subscriptions/flash.mspx
4
http://www.microsoft.com/china/community/
4 TechNet
4 www.microsoft.com/china/technet
4 TechNet
www.microsoft.com/china/technet

http://www.microsoft.com/china/technet

Вам также может понравиться