1832778 Members
2963 Online
110045 Solutions
New Discussion

snapshot

 
Bedare Nikhil
Advisor

snapshot

Hi,
How to create a snapshot of a volume using HP LVM ?
any help is really appreciated.


Thanks
4 REPLIES 4
Ranveer
HPE Pro

Re: snapshot

Seems snapshot of LVM not available but Almost same functionality can be achieved by using "lvsplit" command.
The lvsplit command splits a mirrored lv into two logical volumes.The second volume contains the copy of data. You can mount the second volume & can use it for backup etc without touching your original data.

#man lvsplit will give more info

Regards
Ranveer


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Michal Kapalka (mikap)
Honored Contributor

Re: snapshot

hi,

as "ranveer" alredy mentioned, you could use lvsplit, but the system will be without mirroring, during the tame of lvsplit and the time for sync with lvmerge.

and also its very importatnt for lvmerge which is LVOL master and wich is a copy.

mikap
VK2COT
Honored Contributor

Re: snapshot

Hello,

"snapof" option is a feature of OnlineJFS
(vxfs) file systems and works well under
LVM, VxVM, or even whole disks for file
systems.

If you have OnlineJFS installed,
it is a simple as:

# mount -F vxfs -o snapof=/myfilesystem /dev/myvg/mylvol /snapmyfs

Regards,

VK2COT
VK2COT - Dusan Baljevic
James R. Ferguson
Acclaimed Contributor

Re: snapshot

Hi:

The procedure for VxFS (JFS) snapshots is documented here:

http://docs.hp.com/en/5992-6576/ch03s06.html#bajcggcd

Regards!

...JRF...