How to: LVM Snapshot

LVM snapshot can be useful for filesystem integrity check and backups. A snapshot of size 15GB can be created with the following command:
lvcreate -L15G -s -n snapshotname /dev/vg0/lv0

-s tag is to mention the logical volume of type 'snapshot', /dev/vg0/lv0 is the original LV.
  • lvm, snapshot, filesystem, linux
  • 0 Users Found This Useful
這篇文章有幫助嗎?

相關文章

LVM Cheatsheet

To install LVM2 in CentOS/Redhat servers: yum install lvm2 1. Add a partition to physical...

How to: Extend LVM partition

To increase the partition lv0 under volume group vg0 by 50GB, use lvextend command: lvextend...

How to: Device Mapper Number to LV Name

It is often confusing when device mapper number appears while troubleshooting in place of logical...

How to: Repair a lvm thin pool

Sometimes there can be error like the following:Thin's thin-pool needs inspection.It can appear...

How to: List volume id or uuid in Linux

There are places where it is called volume id like r1soft, while most of the cases they are...