Creating Linux Snapshots With Lvm; Monitoring A Snapshot; Deleting Linux Snapshots - Novell LINUX ENTERPRISE SERVER 11 - STORAGE ADMINISTRATION GUIDE 2-23-2010 Administration Manual

Table of Contents

Advertisement

14.2 Creating Linux Snapshots with LVM

The Logical Volume Manager (LVM) can be used for creating snapshots of your file system.
1 Open a terminal console, log in as the
lvcreate -s -L 1G -n snap_volume source_volume_path
For example:
lvcreate -s -L 1G -n linux01-snap /dev/lvm/linux01
The snapshot is created as the

14.3 Monitoring a Snapshot

1 Open a terminal console, log in as the
lvdisplay snap_volume
For example:
lvdisplay /dev/vg01/linux01-snap
--- Logical volume ---
LV Name
VG Name
LV UUID
LV Write Access
LV snapshot status
LV Status
# open
LV Size
Current LE
COW-table size
COW-table LE
Allocated to snapshot
Snapshot chunk size
Segments
Allocation
Read ahead sectors
Block device

14.4 Deleting Linux Snapshots

1 Open a terminal console, log in as the
lvremove snap_volume_path
For example:
lvremove /dev/lvm/linux01-snap
132 SLES 11: Storage Administration Guide
user, then enter
root
/dev/lvm/linux01-snap
user, then enter
root
/dev/lvm/linux01
vg01
QHVJYh-PR3s-A4SG-s4Aa-MyWN-Ra7a-HL47KL
read/write
active destination for /dev/lvm/linux01
available
0
80.00 GB
1024
8.00 GB
512
30%
8.00 KB
1
inherit
0
254:5
user, then enter
root
volume.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11 storage

Table of Contents