Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not reduce file size #1605

Open
sandip094 opened this issue Jan 6, 2025 · 2 comments
Open

could not reduce file size #1605

sandip094 opened this issue Jan 6, 2025 · 2 comments
Assignees
Milestone

Comments

@sandip094
Copy link

Which version of blobfuse was used?

blobfuse2 version: 2.4.0

Which OS distribution and version are you using?

CentOS Linux release 7.9.2009 (Core)

What was the issue encountered?
Getting the below error while running the RMAN backup.
released channel: C1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of backup plus archivelog command at 01/06/2025 11:53:13 ORA-19510: failed to set size of 1758986 blocks for file "/rman-backup/step/0/2025-01-03_1146/STEP_148867_1_c33ei92k_20250106.incr0" (block size=8192) ORA-27059: could not reduce file size Linux-x86_64 Error: 103: Software caused connection abort Additional information: 2

Configuration file is as below -/etc/blobfuse/blobfuseconfig.yaml
`# Refer ./setup/baseConfig.yaml for full set of config parameters
#allow-other: false

logging:
type: base
level: log_info
max-file-size-mb: 32
file-count: 10
track-time: true
max-concurrency: 8
components:

  • libfuse
  • file_cache
  • azstorage

libfuse:
default-permission: 0644
attribute-expiration-sec: 120
entry-expiration-sec: 120
negative-entry-expiration-sec: 240
ignore-open-flags: true

file_cache:
path: /mnt/blobfusetmp
timeout-sec: 20
max-size-mb: 75776
allow-non-empty-temp: true
cleanup-on-start: true

azstorage:
type: block
account-name: x
account-key: x
mode: key
container: x
blobfuse2.log
`

So far tried these options:

  • Changed the RMAN backup location from blobfuse container to disk and its completed successfully
  • Changed the temp storage ~74GB and still it fails. Database is not big so not sure the reason for the failure
  • Attached the logs for further reference
@vibhansa-msft
Copy link
Member

I do not see any failure logs in the shared log file. Neither could I find any reference to ""/rman-backup/step/0/2025-01-03_1146/STEP_148867_1_c33ei92k_20250106.incr0" file in the logs. Are you sure correct logs are shared. As per logs the last mount was just trying to create blobfuse2.log file on the container, which makes me curious about the log file location. Are you trying to save blobfuse logs in the mounted container itself ?

@sandip094
Copy link
Author

@vibhansa-msft , @ashruti-msft : Attached the fresh logs now.

Starting backup at 07-JAN-2025 11:27:58
channel C1: starting incremental level 0 datafile backup set
channel C1: specifying datafile(s) in backup set
input datafile file number=00015 name=/database/db1/oradata/step/stepsysdata_step_3.dbf
channel C1: starting piece 1 at 07-JAN-2025 11:27:59
released channel: C1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 01/07/2025 11:29:34
ORA-19510: failed to set size of 1758986 blocks for file "/rman-backup/step/0/2025-01-03_1146/STEP_148978_1_fi3eks1v_20250107.incr0" (block size=8192)
ORA-27059: could not reduce file size
Linux-x86_64 Error: 103: Software caused connection abort
Additional information: 2

blobfuse2-07-01.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants