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

Re: [linux-lvm] LVM2 snapshot contents on a reboot



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


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