Source:SEP sesam Logical Volume Manager (LVM) for Linux: Difference between revisions

From SEPsesam
m (Reviewed by ASE)
(Added -a allow_no_lvm=1 (ASE))
Line 105: Line 105:
}}  
}}  


<translate><!--T:30-->
See [https://linux.die.net/man/8/lvcreate Linux man page <tt>man lvcreate</tt>] options '''-L''' and '''-l''' for supported values.</translate>
</ul>
</ul>
<li><translate>
Specify a normal ''Path'' backup instead of LVM when creating a backup task with a source other than an LVM path.</translate></li>
  -a allow_no_lvm=1
<li><translate><!--T:31-->
<li><translate><!--T:31-->
All other options of the '''-a''' switch are added to <tt>lv_create</tt> call as long option:</translate></li>
All other options of the '''-a''' switch are added to the <tt>lv_create</tt> call as long option:</translate></li>
   -a ignoremonitoring ->  lvcreate -s -l 10%ORIGIN -n Sesam_ssid --ignoremonitoring  "/dev/sesam/sesam"
   -a ignoremonitoring ->  lvcreate -s -l 10%ORIGIN -n Sesam_ssid --ignoremonitoring  "/dev/sesam/sesam"
<translate><!--T:30-->
See [https://linux.die.net/man/8/lvcreate Linux man page <tt>man lvcreate</tt>] options '''-L''' and '''-l''' for supported values.</translate>
</ul></ol>
</ul></ol>



Revision as of 09:08, 11 June 2021

Other languages:
Copyright © SEP AG 1999-2024. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3/5.0.0 Jaglion. For previous documentation version(s), check Documentation archive.


Overview

SEP sesam uses logical volume manager (LVM) snapshots to perform consistent backups of open files on Linux distributions. LVM snapshots enable backing up a frozen copy of the file system without taking the "live" volume offline during the backup.

A snapshot volume is a special type of volume that temporarily preserves the original data at some point in time and represents an exact copy of a logical volume (LV). It is created as a new logical volume in the same volume group as the original LV. LVM snapshots work only with partitions created with LVM (see prerequisites).

When SEP sesam backs up the LVM snapshot, the data is stored in a saveset using the original pathname.

Prerequisites

To use LVM snapshots for SEP sesam backup, make sure that the following conditions are met depending on the SEP sesam version:

  • Installed and configured SEP sesam Server and SEP sesam Linux Client with a partition configured for LVM.
  • LVM partition must be added to a volume group (VG) with sufficient free space available for an LVM snapshot.
  • SEP sesam ≥ 5.0.0 Jaglion: one or multiple data sources can be selected. Multiple data sources can be:
    • different directories on the same LVM partition
    • different directories on different LVM partitions on the same volume group (VG)
    • different directories on different LVM partitions on different volume groups (VGs)
  • SEP sesam ≤ 4.4.3.84 Beefalo V2: data to be backed up with one backup task must be on the same partition. If you want to back up data from more than one partition, you need to set up a backup task for each partition.

Activating LVM backup

For general information on backup configuration and prerequisites, see Standard Backup Procedure. This section covers only LVM-related specifics when configuring a backup task.

  1. In the Main Selection -> Tasks -> By Clients, select your Linux client then click New Backup Task. The New Backup Task window appears. You can create a new backup task or modify an existing one. To specify the Source, click the browse button. Note that the selected data must reside on the same partition. Selecting the source automatically sets the task type and task name.
    Select the Backup with LVM option.
  2. Linux new backup task Beefalo V2.jpg
    Information sign.png Note

    The backup will fail if the source path is not on an LVM volume or if VG has no free space.

  3. Switch to the Options tab. You can set the following options in the Backup options (previously Save options) field:
    • snapsize=<size>, where <size> can be specified as:
      • 2GB
      • 10%VG
      • 20%ORIGIN;
      • The default snapshot size is 10% of the saved LVM size (10%ORIGIN).
        Information sign.png Note

        It is not recommended to use the snapsize option for thin-provisioned volumes as this slows down backup performance. Thus, as of SEP sesam ≥ 5.0.0 Jaglion, this option has no effect on source LVM volumes that are thin-provisioned.

    • Specify a normal Path backup instead of LVM when creating a backup task with a source other than an LVM path.
    • -a allow_no_lvm=1
    • All other options of the -a switch are added to the lv_create call as long option:
    • -a ignoremonitoring -> lvcreate -s -l 10%ORIGIN -n Sesam_ssid --ignoremonitoring "/dev/sesam/sesam" See Linux man page man lvcreate options -L and -l for supported values.