I'm not expert in Linux. I try to do a LVM snapshot on Linux (CentOS Linux 
release 7.2.1511).

I get this error:

1/15/2016 11:12:16 ANS5250E An unexpected error was encountered.
   TSM function name : DSnapshotProvider::startSnapshot():
   TSM function      : File descriptor 3 
(/opt/tivoli/tsm/client/ba/bin/dsmopt.lock) leaked on lvcreate invocation. 
Parent PID 31371: /bin/sh
File descriptor 7 (/opt/tivoli/tsm/client/ba/bin/dsmopt.lock) leaked on 
lvcreate invocation. Parent PID 31371: /bin/sh
File descriptor 9 (/opt/tivoli/tsm/client/ba/bin/dsmopt.lock) leaked on 
lvcreate invocation. Parent PID 31371: /bin/sh
  Volume group "mongo_byg_pribuild" has insufficient free space (0 extents): 
26215 required.

   TSM return code   : 5
   TSM file          : DSnapshotProvider.cpp (648)
11/15/2016 11:12:16 ANS1259E The image snapshot operation failed. Diagnostic 
text: tsmStartSnapshot.
11/15/2016 11:12:16 ANS8103W A command  was not successful.
   command           : /sbin/lvremove -f 
/dev/mongo_byg_pribuild/tsmsnapshot_date_11_15_2016_time_11.12.16 1>/dev/null
   TSM function name : DSnapshotProvider::deleteSnapshot():
   error output      : File descriptor 3 
(/opt/tivoli/tsm/client/ba/bin/dsmopt.lock) leaked on lvremove invocation. 
Parent PID 31374: /bin/sh
File descriptor 7 (/opt/tivoli/tsm/client/ba/bin/dsmopt.lock) leaked on 
lvremove invocation. Parent PID 31374: /bin/sh
File descriptor 9 (/opt/tivoli/tsm/client/ba/bin/dsmopt.lock) leaked on 
lvremove invocation. Parent PID 31374: /bin/sh
  Failed to find logical volume 
"mongo_byg_pribuild/tsmsnapshot_date_11_15_2016_time_11.12.16"

   return code       : 5
   TSM file      : DSnapshotProvider.cpp (840)
11/15/2016 11:12:17 ANS1228E Sending of object '/mnt/mongo' failed.
11/15/2016 11:12:17 ANS1258E The image snapshot operation failed.

11/15/2016 11:12:17 ANS1813E Image Backup processing of '/mnt/mongo' finished 
with failures.

TSM client vers.: 7.1.4.0

Used command:
dsmc backup image /mnt/mongo -snapshotproviderimage=LINUX_LVM 
-SNAPSHOTCACHESIZE=10

lvdisplay:

--- Logical volume ---
  LV Path                /dev/mongo_byg_pribuild/mongo
  LV Name                mongo
  VG Name                mongo_byg_pribuild
  LV UUID                IiRkjV-qGSf-TBIq-989F-zGIK-iHt4-jzSZsd
  LV Write Access        read/write
  LV Creation host, time byg-pribuild, 2016-11-02 15:15:33 +0100
  LV Status              available
  # open                 1
  LV Size                1024.00 GiB
  Current LE             262143
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:2

/dev/mapper/mongo_byg_pribuild-mongo  1008G  366M  957G   1% /mnt/mongo

What do I missed or is it impossible ???
We expect the DB is growth to 2 Tb, therefor the snapshot technology.

Regards

Bo Nielsen


IT Service



Technical University of Denmark

IT Service

Frederiksborgvej 399

Building 109

DK - 4000 Roskilde

Denmark

Mobil +45 2337 0271

boa...@dtu.dk<mailto:boa...@dtu.dk>

Reply via email to