Re: LVM2 snapshot contents on a reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 22, 2006 at 07:51:33PM +0530, Vasan V S wrote:
[snip]
> For the creation of snapshot:
> 
> lvcreate -s -L <snap size> -n <snapshot Name> -p <R-W permission> <original
> volume>
> 
> For deleting the snapshot:
> 
> lvremove -f <snap shot node entry>
Why/when are you removing the snapshot?

> However, if the server (running Linux 2.6.15.4) is not rebooted, the
> snapshot contents are correctly shown even if there has been any changes on
> the source volume.
As expected.

> Should we do anything specific at the time of the server shutdown to ensure
> that the snapshot contents should not be getting synced with the source
> volume on start up?
No, you just create the snapshot once and leave it be, it'll stay
around until you lvremove it.

Yours, Peter.

-- 
Peter Rockai | me()mornfall!net | prockai()redhat!com
 http://blog.mornfall.net | http://web.mornfall.net

"In My Egotistical Opinion, most people's C programs should be
 indented six feet downward and covered with dirt."
     -- Blair P. Houghton on the subject of C program indentation

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux