Jump to content

SnapRAID Rename Content Error

I am a noob. I was doing scrubbing of my pool for the first time and at 45% of the run there was an error of renaming the "content.tmp" to "content" I didn't touch the computer the moment this error had happened.

 

What went wrong for me?

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

I'm going to admit first and foremost. I've never used SnapRAID before. Just going to put that out there but I see it requires the use of a config file. Can you post what yours looks like?

Link to comment
Share on other sites

Link to post
Share on other sites

Quote

# You can use multiple specification to store more copies
# You must have least one copy for each parity file plus one. Some more don't hurt
# They can be in the disks used for data, parity or boot,
# but each file must be in a different disk
# Format: "content FILE"
content E:\snapraid.content
content F:\snapraid.content
content G:\snapraid.content
content H:\snapraid.content
content J:\snapraid.content
content K:\snapraid.content
content L:\snapraid.content

# Defines the data disks to use
# The name and mount point association is relevant for parity, do not change it
# WARNING: Adding here your boot C:\\ disk is NOT a good idea!
# SnapRAID is better suited for files that rarely changes!
# Format: "data DISK_NAME DISK_MOUNT_POINT"
disk d1 E:\
disk d2 F:\
disk d3 G:\
disk d4 H:\
disk d5 J:\
disk d6 K:\
disk d7 L:\

# Excludes hidden files and directories (uncomment to enable).
#nohidden

# Defines files and directories to exclude
# Remember that all the paths are relative at the mount points
# Format: "exclude FILE"
# Format: "exclude DIR\"
# Format: "exclude \PATH\FILE"
# Format: "exclude \PATH\DIR\"
exclude *.covefs
exclude *.unrecoverable
exclude Thumbs.db
exclude \$RECYCLE.BIN
exclude \System Volume Information
exclude \Program Files\
exclude \Program Files(x86)\
exclude \Program Files (x86)\
exclude \Windows\
exclude \Windows.old\
exclude \Boot\
exclude \bootmgr\

# Defines the block size in kibi bytes (1024 bytes) (uncomment to enable).
# WARNING: Changing this value is for experts only!
# Default value is 256 -> 256 kibi bytes -> 262144 bytes
# Format: "blocksize SIZE_IN_KiB"
block_size 256

# Defines the hash size in bytes (uncomment to enable).
# WARNING: Changing this value is for experts only!
# Default value is 16 -> 128 bits
# Format: "hashsize SIZE_IN_BYTES"
#hashsize 16

# Automatically save the state when syncing after the specified amount
# of GB processed (uncomment to enable).
# This option is useful to avoid to restart from scratch long 'sync'
# commands interrupted by a machine crash.
# It also improves the recovering if a disk break during a 'sync'.
# Default value is 0, meaning disabled.
# Format: "autosave SIZE_IN_GB"
autosave 50

# Defines the pooling directory where the virtual view of the disk
# array is created using the "pool" command (uncomment to enable).
# The files are not really copied here, but just linked using
# symbolic links.
# This directory must be outside the array.
# Format: "pool DIR"
#pool C:\\pool

# Defines the Windows UNC path required to access disks from the pooling
# directory when shared in the network.
# If present (uncomment to enable), the symbolic links created in the
# pool virtual view, instead of using local paths, are created using the
# specified UNC path, adding the disk names and file path.
# This allows to share the pool directory in the network.
# See the manual page for more details.
#
# Format: "share UNC_DIR"
#share \\\\server

# Defines a custom smartctl command to obtain the SMART attributes
# for each disk. This may be required for RAID controllers and for
# some USB disk that cannot be autodetected.
# In the specified options, the "%s" string is replaced by the device name.
# Refers at the smartmontools documentation about the possible options:
# RAID -> https://www.smartmontools.org/wiki/Supported_RAID-Controllers
# USB -> https://www.smartmontools.org/wiki/Supported_USB-Devices
#smartctl d1 -d sat %s
#smartctl d2 -d usbjmicron %s
#smartctl parity -d areca,1/1 /dev/arcmsr0
#smartctl 2-parity -d areca,2/1 /dev/arcmsr0

 

Link to comment
Share on other sites

Link to post
Share on other sites

Hmn, looking at a couple config files online did you try adding:

exclude *.tmp

In the exception section?

 

Do note this will ignore all files with the .tmp extension so if you had any plans of wanting to back those up...

Link to comment
Share on other sites

Link to post
Share on other sites

On 7/13/2020 at 8:46 AM, Windows7ge said:

Hmn, looking at a couple config files online did you try adding:


exclude *.tmp

In the exception section?

 

Do note this will ignore all files with the .tmp extension so if you had any plans of wanting to back those up...

Good suggestion. I will give this a try. I am currently making another scrubbing attempt running at 26%. If this fails again, then I will add the tmp extension to my config file and report back.

 

Update: The second run ran fine and completed without the need to add the exclude tmp. Don't know about why the error happened at the first run. I have enough free space in the HDDs to accommodate many files.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×