[linux-lvm] How to use lvm with tmpfs

Bryn M. Reeves bmr at redhat.com
Tue Jan 4 16:59:16 UTC 2011


On 12/23/2010 01:44 PM, S U B A wrote:
> Hi members,
>                   Can tempfs be used with lvm, so that i can create a snapshot 
> of the filesystem mounted on the tmpfs. My actual goal is to create tmpfs and 
> sync all the files in that tmpfs to a remote storage. There can be file writes 
> during the sync ups, so i want to sync the partition without losing any info. 
> Creating an lvm partition can help in this scenario or should try a different 
> method?
> Thanks for your help,
> Suresh

Use a ramdisk or loopback devices.

Regards,
Bryn.




More information about the linux-lvm mailing list