Ok, I followed these instructions almost exactly and everything worked like a charm.
The small differences that I made were:
1. I only installed one add-on, the "EnableRootSSH_v1.0", this gave me root access over ssh so I guess that it made the same thing as the two other add ons that Zappes recommended.
2. On my new Duo there already existed a /backup directory, which in addition also was an symbolic link to /c/backup so I didn't use that name. Instead I created my own directory: /oldfiles to use as an backup during the formatting of c.
This meant that everywhere in the instructions where /backup is mentioned I instead wrote /oldfiles
BTW: I used the old trustworthy "Putty" software as SSH-client.
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.htmlNow I have a filesystem that should be readable in any computer with ext3 support, this feels good as an starting point for my computer security upgrade. (moving on from burning DVD's as backup discs, way to seldom and also I have noticed that some of my old discs arent readable anymore either.) The next step for me is to add a second NAS in a friends home to make the family photos redundant, theft and fire might still do a lot of damage to my digital life.
Thank you Zappes for not only giving me the solution but also for pointing out the existance of this problem. I didn't know about this before accidentally stumbling upon this thread.
/Eisandar
Zappes wrote:You get shell access using the two addons "enable shell access" and "enable root access" - note that you must install BOTH of them. After that you connect to your ReadyNAS using SSH (search for a tool named "putty" with google...), log in as "root" with the admin password you use in frontview and you are in.
Stop the addons by simply deactivating them with Frontview - that doesn't even involve any Linux skills.
To stop Samba, use this command:
- Code: Select all
/etc/init.d/samba stop
If your RAID is completely empty, you can make the part where you have to save and restore the home directories really easy... Just use the following commands before doing the actual thing:
- Code: Select all
mkdir /oldfiles
cp -a /c/* /oldfiles
This simply copies anything on the RAID array to the system partition. As your NAS is essentially empty, this will be no problem.
Now you have to unmount the RAID array as it can only be formatted when it's not mounted:
- Code: Select all
umount /dev/c/c
Now format the bugger - this is the moment we have been waiting for...
- Code: Select all
mkfs.ext3 -b 4096 -i 16384 /dev/c/c
Mount the partition:
- Code: Select all
mount /dev/c/c
Restore your copied data and delete the backup - be sure to get the second command (rm) EXACTLY as it is written down here, errors may be quite unpretty:
- Code: Select all
cp -a /oldfiles/* /c
rm -rf /oldfiles
Restart Samba:
- Code: Select all
/etc/init.d/samba start
At this point you should be able to access your home shares again. Now go to Frontview, re-enable the services you need (uPnP-Sever or whatever) and reboot the device. If everything works: Great. If not: Factory reset, redo from start, try top figure out what went wrong. Google is your friend.

Edit: I have too replaced the /backup with /oldfiles so no one will get confused and make a bad mistake. /Eisandar