Page 1 of 1

snapraid config.file error

Posted: June 11th, 2016, 7:07 pm
by photobuff
Getting the following error message. Using snapraid v10

Invalid command ' #>> ? ' '/etc/snapraid.conf' at line 1 (error message).

All previous content and parity files were deleted.
This is a fresh install of v10 .
Data disks are 3TB and 2TB drives.
Tried with 2 4TB parity drives ,made no difference.
OS is Ubuntu 14.04 LTS
Config file was made by un-commenting 'config.sample file.'

Below is my config file which seems ok

# 3TB parity drive
parity /media/WDx0597/snapraid.parity

# 4TB parity drive
2-parity /media/WDR052H/snapraid.2-parity

content /var/snapraid/content

content /media/WD85635/content
content /media/WD88653/content
content /media/WD73541/content
content /media/wdpetj9/content

disk d1 /media/WD85635/
disk d2 /media/WD88653/
disk d3 /media/WD73541/
disk d4 /media/WD97624/
disk d5 /media/WD66338/
disk d6 /media/wde3uc2/
disk d7 /media/wdr2t57/
disk d8 /media/wdc7n6d/
disk d9 /media/wdpetj9/


exclude *.bak
exclude *.unrecoverable
exclude /tmp/
exclude /lost+found/

include /RAIDMain/


block_size 256

Thanks for any help
Don

Re: snapraid config.file error

Posted: June 11th, 2016, 8:37 pm
by Ian
Line 1 is this: "# 3TB parity drive" which seems fine. Maybe try removing that line and see what happens? No idea why it's not happy about it given it's actually just a comment.

Re: snapraid config.file error

Posted: April 18th, 2017, 10:28 am
by Kingrucks
Was there ever a fix for this?