Home > Data Center Tips > > How to use Unix file system snapshots
Data Center Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


How to use Unix file system snapshots


David Douhitt, Contributor
06.19.2008
Rating: -4.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Snapshots can be a useful tool for administering a system and especially for keeping the system up during major maintenance. A snapshot is a copy of a file system at a specific point in time, even while the original file system continues to be updated and used normally.

For example, snapshots can be quite useful for backups and for making copies of databases. Databases often exist in an unstable state during operation: that is, a flat database file copy does not result in a valid database that can be restored from. Most databases can be placed into a state where a copy can be made and a valid database file will result.

Combined with this capability, a snapshot can permit taking a copy of a database with minimal downtime - perhaps unnoticeable downtime.

The Veritas File System (and the related HP Online JFS) offer the capability to perform snapshots. Mounting a snapshot basically consists of mounting a prepared disk volume onto a standard mount point, but with a special option that specifies the original file system.

To make a Veritas File System snapshot, use the following command (such as under HP-UX using LVM):

This will take a snapshot of the file system mounte...


BROWSE BY TAG
AIX, IBM pSeries server administration,   Server hardware,   Unix operating systems and servers,   HP Integrity server, Itanium servers and HP-UX,   Sun Solaris Unix and Sparc server platforms,   VIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
AIX, IBM pSeries server administration
Unix updates are slower, and users like it that way
IT pros pooh-pooh latest monopoly claims against IBM
IBM VMworld news in brief
IBM announces Power7 upgrade path in uncertain Unix market
Comparing Unix versions: AIX, HP-UX and Solaris
Top 50 universal Unix commands
IBM doubles refund for Sparc migrations: News in brief
Sun shops prefer Oracle to IBM, but worries persist
Uncertain future for Sun Microsystems overshadows new products
IBM withdraws from deal to purchase Sun; Dallas colo investigated

HP Integrity server, Itanium servers and HP-UX
Unix updates are slower, and users like it that way
Comparing Unix versions: AIX, HP-UX and Solaris
Itanium processor delays put HP's plans in question
Top 50 universal Unix commands
IBM doubles refund for Sparc migrations: News in brief
HP's Bladesystem Matrix to challenge Cisco's Unified Computing System
Reports of IBM, Sun buyout roil data center waters
IBM mainframe migration boosts OLTP, batch processing
IBM buys former adversary and mainframe startup PSI
Unix admin tutorial: How much memory is in this machine?

Sun Solaris Unix and Sparc server platforms
Are containerized data centers catching on outside Microsoft, Google?
Will Oracle hold a Sun yard sale as the acquisition's value declines?
Sun Microsystems customers stew in limbo
Will Solaris on x86 survive the Oracle-Sun acquisition and Linux?
Unix updates are slower, and users like it that way
New eBay data center director dishes
How should Sun customers read Oracle's latest rumblings?
With Exadata, Oracle embraces Sun hardware
Solaris Project Crossbow offers virtualized network management
IBM announces Power7 upgrade path in uncertain Unix market

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


d at /fs and mount it at /snap (using the logical volume /dev/vg00/lvsnap). The logical volume needs a file system just like a normal volume.

One thing to remember is that the snapshot volume will continue filling, so it can preserve the original view. If the snapshot is kept online too long, it will stop working. A snapshot is also transitory: a reboot will lose the snapshot.

HP has something called a Disk Checkpoint which does not require a separate snapshot volume and which is not transitory - it will survive a reboot. However, this is a new feature of HP-UX 11i v3 and will not be discussed here.

The Veritas file system snapshot should be available wherever the file system is used (such as under HP-UX or Solaris). Check your man pages for full details on the mount_vxfs(1) command.

ABOUT THE AUTHOR: David Douthitt (RHCE, LPIC1, SCSA, Linux+, CNA) is a UNIX Systems Administrator for a major healthcare software company. His blog is Unix Administratosphere, where he continues to write on UNIX, Linux and OpenVMS. He has also written two books on system administration. He still has his copy of Red Hat 2.0 and 4.4BSD.

Rate this Tip
To rate tips, you must be a member of SearchDataCenter.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



White Papers - Data Center Networking

The Intel IT Technology Center - Power, Performance and Mobility Solutions

HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts