ODABR is failing to take bakcup LVMs though given destination has enough space

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ODABR is failing to take bakcup LVMs though given destination has enough space

Pinto
Hello Experts,

My environment is ODA X7.

I was trying to take the backup of LVMs using the odabr utility as below but the backup is not going to the given destination also it is geting failed for /u01.

> df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/mapper/VolGroupSys-LogVolRoot

                       30G  6.2G   22G  22% /

tmpfs                 189G  1.1G  188G   1% /dev/shm

/dev/md0              477M   41M  412M   9% /boot

/dev/sda1             500M  320K  500M   1% /boot/efi

/dev/mapper/VolGroupSys-LogVolOpt

                       59G   39G   18G  69% /opt

/dev/mapper/VolGroupSys-LogVolU01

                      198G  120G   68G  64% /u01

/dev/asm/commonstore-73

                      5.0G  559M  4.5G  11% /opt/oracle/dcs/commonstore

/dev/asm/cloudfs-73   500G   82G  419G  17% /cloudfs

 

[root@********* odabr]# /opt/odabr/odabr backup -snap -destination /cloudfs/odabr

INFO: 2019-08-12 00:53:02: Please check the logfile '/opt/odabr/out/log/odabr_77312.log' for more details

--------------------------------------------------------

odabr - ODA node Backup Restore

Author: Ruggero Citton <ruggero.citton@oracle.com>

RAC Pack, Cloud Innovation and Solution Engineering Team

Copyright Oracle, Inc. 2013, 2019

Version: 2.0.1-47

--------------------------------------------------------

INFO: 2019-08-12 00:53:02: Checking superuser

INFO: 2019-08-12 00:53:02: Checking Bare Metal

INFO: 2019-08-12 00:53:02: Making a snapshot and rsync backup

INFO: 2019-08-12 00:53:02: Local destination is '/cloudfs/odabr'

************************

ODA System Node backup

************************

choose the filesystem to backup:

  0. All following filesystems

  1. /boot filesystem

  2. /     filesystem

  3. /opt  filesystem

  4. /u01  filesystem

  5. exit

Enter your choice: 0

INFO: 2019-08-12 00:53:22: Checking LVM size

INFO: 2019-08-12 00:53:22: Checking 'boot' device size

INFO: 2019-08-12 00:53:22: Checking 'root' device size

INFO: 2019-08-12 00:53:22: Checking 'opt' device size

INFO: 2019-08-12 00:53:22: Checking 'u01' device size

INFO: 2019-08-12 00:53:22: Destination needs 164 Gb free

INFO: 2019-08-12 00:53:22: Making boot device backup

INFO: 2019-08-12 00:53:22: ...getting boot device

INFO: 2019-08-12 00:53:22: ...making boot device backup

INFO: 2019-08-12 00:53:26: ...boot device backup saved as '/opt/odabr/out/hbi/boot.img'

INFO: 2019-08-12 00:53:26: Getting EFI device

INFO: 2019-08-12 00:53:26: ...making efi device backup

INFO: 2019-08-12 00:53:31: EFI device backup saved as '/opt/odabr/out/hbi/efi.img'

INFO: 2019-08-12 00:53:31: Making OCR backup

INFO: 2019-08-12 00:53:34: ...ocr backup saved as '/opt/odabr/out/hbi/ocrbackup_77312.bck'

INFO: 2019-08-12 00:53:34: Making LVM snapshot backup

SUCCESS: 2019-08-12 00:53:34: ...snapshot backup for 'opt' created successfully

ERROR: 2019-08-12 00:53:35: Command: 'lvcreate --size 100G --snapshot --name u01_snap  /dev/VolGroupSys/LogVolU01' failed as   Volume group "VolGroupSys" has insufficient free space (2272 extents): 3200 required.

[root@**********odabr]#  

 

Also i have noticed that LVM for /opt has been backed up but not in /cloudfs/odabr (given destination).

 

[root@******** odabr]# /opt/odabr/odabr infosnap

--------------------------------------------------------

odabr - ODA node Backup Restore

Author: Ruggero Citton <ruggero.citton@oracle.com>

RAC Pack, Cloud Innovation and Solution Engineering Team

Copyright Oracle, Inc. 2013, 2019

Version: 2.0.1-47

--------------------------------------------------------

LVM snap name         Status                COW Size              Data%

-------------         ----------            ----------            ------

WARNING: 2019-08-12 01:00:36: LVM snapshot for 'root' does not exist

opt_snap              active                60.00 GiB             0.16%

WARNING: 2019-08-12 01:00:36: LVM snapshot for 'u01' does not exist

 
Regards,
Pinto
Reply | Threaded
Open this post in threaded view
|

Re: ODABR is failing to take bakcup LVMs though given destination has enough space

ErmanArslansOracleBlog
Administrator
It seems you don't have the required free space in your VG named VolGroupSys.
Check this note -> ODA (Oracle Database Appliance): ODABR a System Backup/Restore Utility (Doc ID 2466177.1)

There it is written as follows;

About LVM snapshot size by default odabr  is creating LVM snapshots with the following size:

root LVM snapshot  30Gb
opt  LVM snapshot  60Gb
u01  LVM snapshot 100Gb

Following the original from factory LVM volume size.
If for any reason, your LVM volume are different in size and or you have less then 190Gb of available free space, you could override these using -rsize/-osize/-usize command option.

Note that, you must guarantee enough free space to keep all blocks changes..