08-24-2019 11:06 PM
Hello friends
I'm trying to recover a fallen CPI, but I get an error of insufficient space to restore the database
cpis/admin# restore cpis-190814-0330__VER3.5.0.0.550_BKSZ16G_CPU4_MEM3G_RAM11G_SWAP15G_APP_CK2872026366.tar.gpg repository FTP application NCS
* NOTE *
If the system console is disconnected or got cleared on session timeout
run 'show restore log' to see the output of the last restore session.
Restore will restart the application services. Continue? (yes/no) [yes] ?
DO NOT press ^C while the restoration is in progress
Aborting restore with a ^C may leave the system in a unrecoverable state
Enter the backup password, if your backup is password protected. Otherwise, press Enter to continue the data restoration.
Password :
Initiating restore. Please wait...
Restore Started at 08/25/19 05:44:55
Stage 1 of 9: Transferring backup file ...
-- completed at 08/25/19 05:45:14
Stage 2 of 9: Decrypting backup file ...
-- completed at 08/25/19 05:46:52
Stage 3 of 9: Unpacking backup file ...
-- completed at 08/25/19 05:46:53
Stopping PI server ...
du: cannot access '/opt/oracle/base/oradata': No such file or directory
Stage 4 of 9: Decompressing backup ...
-- completed at 08/25/19 05:48:01
Stage 5 of 9: Restoring Support Files ...
-- completed at 08/25/19 05:48:57
Stage 6 of 9: Restoring Database Files ...( 0%)
Stage 6 of 9: Restoring Database Files .................( 80%)
find: '/opt/oracle/base/oradata/WCS': No such file or directory
Stage 6 of 9: Restoring Database Files ...
-- completed at 08/25/19 05:49:33
Stage 7 of 9: Recovering Database ...( 1%)cat: write error: No space left on device
cat: /var/tmp/oracle/runinstOPatch.log: No such file or directory
du: cannot access '/opt/oracle/base/oradata/WCS': No such file or directory
/opt/CSCOlumos/bin/restore_migration-ORACLE-INTERNAL.sh: line 252: *1024: syntax error: operand expected (error token is "*1024")
awk: cmd. line:1: (FILENAME=- FNR=591) fatal: print to "standard output" failed (Broken pipe)
grep: write error
tac: write error: Broken pipe
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/smosvg-rootvol 3.8G 48M 3.6G 2% /
devtmpfs 5.9G 0 5.9G 0% /dev
tmpfs 5.9G 0 5.9G 0% /dev/shm
tmpfs 5.9G 17M 5.9G 1% /run
tmpfs 5.9G 0 5.9G 0% /sys/fs/cgroup
/dev/mapper/smosvg-usrvol 6.7G 1.3G 5.1G 20% /usr
/dev/mapper/smosvg-recvol 93M 1.6M 87M 2% /recovery
/dev/mapper/smosvg-home 93M 1.9M 86M 3% /home
/dev/mapper/smosvg-altrootvol 93M 1.6M 87M 2% /altroot
/dev/sda2 93M 1.6M 87M 2% /storedconfig
/dev/mapper/smosvg-localdiskvol 44G 53M 41G 1% /localdisk
/dev/sda1 477M 122M 330M 27% /boot
/dev/mapper/smosvg-tmpvol 1.9G 8.8M 1.8G 1% /tmp
/dev/mapper/smosvg-storeddatavol 9.5G 1.9G 7.2G 21% /storeddata
/dev/mapper/smosvg-varvol 3.8G 3.8G 0 100% /var
/dev/mapper/smosvg-optvol 203G 20G 174G 10% /opt
Solved! Go to Solution.
08-24-2019 11:46 PM
- Looks like /var got full. Try cleaning up first before attempting the restore.
M.
08-24-2019 11:46 PM
- Looks like /var got full. Try cleaning up first before attempting the restore.
M.
08-25-2019 06:54 AM
yes, thanks, everything worked out
11-11-2019 03:34 PM
Could you tell me how to delete
12-09-2020 08:33 AM
rm /var/log/....
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: