Re: Newbie to snapshot

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

 



armani wrote:
> Hello List
> 


> 
> As the description, I make a Original LV device named /dev/Vol1/LV1,
> and then I make a snapshot device named "/dev/Vol1/snapshot" for
> /dev/Vol1/LV1 .
> So I try to put something for /dev/Vol1/LV1
> 
> # mount /dev/Vol1/LV1 /mnt/LV1
> # mount /dev/Vol1/snapshot /mnt/snapshot [ I'm using ext3 ]
> # dd if=/dev/zero of=/mnt/LV1/test bs=1M count=10
> 

A snapshot will only capture what you have in the fs at the moment you
create the snapshot - like a photograph. After creation, the two are
totally independent of each other ( for most practical purposes.)

So to test it, just make another snapshot. The 2nd snapshot will now
contain your 10M test file. If you delete it out of the original fs, the
2nd snapshot will still have your test file.


-toby


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.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