Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-11-2006, 02:37 AM
|
#1
|
LQ Newbie
Registered: Dec 2005
Posts: 4
Rep:
|
LVM Snapshot question
I don't know what happen when I have made a snapshot of a filesystem. What is in the snapshot LV? When I remove some files from my filesystem which has been taken a snapshot, these files still can be gotten from my snapshot LV. Are these files removed to the snapshot LV?
What are saved in the snapshot logic volume?
Thanks!
|
|
|
03-12-2006, 01:26 AM
|
#2
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
Whenever a file is modified in a logical volume that has a snapshot running, a copy of the original, unmodified file is retained in the snapshot.
The snapshot allows you to “freeze” the filesystem at an arbitrary point in time while allowing the original logical volume to remain in use.
Although the word “snapshot” seems to infer that it is a full duplicate of the original logical volume, it is not. The snapshot only contains the originals of files that have changed since it was created.
The snapshot is especially useful when backing up a filesystem that is actively being used. When a logical volume snapshot is mounted and its contents copied to tape, to another drive, etc., what you get is an exact duplicate of the entire original logical volume at the moment the snapshot was created.
|
|
|
03-12-2006, 02:20 AM
|
#3
|
LQ Newbie
Registered: Dec 2005
Posts: 4
Original Poster
Rep:
|
Thank you for your message!
I have another question : A file is divided into many blocks and storaged in the filesystem.When a file has been changed, is the entire file is moved to the snapshot LV? or only the original blocks which are changed in the filesystem are moved to the snapshot LV?
|
|
|
03-12-2006, 09:41 AM
|
#4
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
Just the blocks that have changed are copied (or at least that’s what the documentation says).
See: http://www.ibiblio.org/pub/Linux/doc...#snapshotintro
|
|
|
All times are GMT -5. The time now is 08:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|