From the computer of: qmchenry
(335 recipes)
Created: Jun 14, 2006
To create a clone, you must first create a snapshot. If you already have a snapshot, you can skip the first command in the example below. To create a snapshot and then a clone called 'polly' from the filesystem techrx/rex, use these commands:
The new filesystem techrx/polly is mounted at /techrx/polly and is a normal ZFS filesystem (it's just populated with the files of the original filesystem).
Both clones and snapshots show up in a 'zfs list' command:
At this point (nothing done with the original or clone filesystems after their creating the snapshot and clone), both the snapshot and clone use no additional disk space (USED columns show 0).
Subscribe to the Tech-Recipes Newsletter
You can get tips like this delivered in your email every week!
We will never, ever sell your email address or spam you.
Related recipes:
ZFS: Create a snapshot of a filesystem
ZFS: Create a new filesystem from an existing pool
ZFS: Create a basic filesystem or pool using zpool
ZFS: Set or change the mount point of a filesystem
Solaris 10: Create multi-terabyte UFS filesystem
Solaris: Mount filesystem with UFS logging enabled
Solaris: unmounting a filesystem with umount
ZFS: Create a mirrored storage pool
Automatically answer yes to all fsck questions
Check filesystem integrity
Sponsored links
Login
Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.Search
Tech Recipes
· Home
· Mac OS X
· Solaris
· Windows
· Programming
· UNIX
· Cisco
· MySQL
· Google
· Instant messaging
· Add recipes
· Leave feedback
· Recommend us
· RSS Syndication
Hot recipes
Make XP look like Windows Vista / Longhorn for free!
Hacks to Beat Rapidshare Download Limits and Waiting Time
XP: Small, Free Way to Use and Mount Images (ISO files) Without Burning Them
How Do I Use or Open Bin, Cue, or ISO Files?
Vista: Should I Install 64-bit or 32-bit Version? (x64 vs x86)
How to patch up your UXtheme.dll file in XP home or pro
MySpace: Hack to Download Any Song on MySpace
MySpace Hack: View Pictures and Comments on a Private Profile
Who's Online
There are currently, 2197 guest(s) and 1 member(s) that are online.
You are Anonymous user. You can register for free by clicking here
Information
Wish to advertise with us?
All logos and trademarks in this site are property of their respective owner. The comments and forum posts are property of their posters, all the rest © 2003-2007 by QD Ideas, LLC.
Users of this site are legally bound by the Terms and conditions and Disclaimer. Do not use this web site if you do not agree with these policies.
The members, admins, and authors of this website respect your privacy.
Page Generation: 0.56 Seconds
Sat May 17 5:53:17 2008