01-11-2011 11:36 PM
I was able to just re-assemble the raid5(mdadm --assemble /dev/sda4 /dev/sdb4 /dev/sdc4 /dev/sdd4), but will have to re-create everything on there, as /dev/md3 was being used as an lvm device, and I don't have access to the old configuration information.
Might be a good idea to log into the box and grab a copy of it prior to installing the firmware. I will test this out to see if that works.
01-14-2011 12:19 AM
Hi Hajo, and a really big warm thanks!
This installation works like a charm on the Blackarmor 110 NAS. The only thing i had to do was mounting /dev/md3
I now have a fogproject storage node running on a NAS, and man is it fast!
Again, thanks so very much =)
01-16-2011 06:06 AM
my SP intentionally does not configure (reassemble, mount, fsck) the data partition. I would be too much work to reliably figure out the setup (raid1, raid5, crypto ...). Additionally, if things go wrong, the NAS might not boot at all.
It should not be a problem to manually set up the data volume.
01-19-2011 03:05 PM
First, thanks for this wonderful 'hack' to blackarmor. But i have a few questions, that I hope you can answer me.
1: I have enabled ssh, with you're howto. Do I have to restore it to default settings before installing Debian?
2: Do you know about a bittorent client that works on the linux that is allredy installed? Or will it be easier to just install debian and use webmin?
3: I have never used webmin before, but have taken a look at it, and it looks kind of nice, so I wonder if it`s kind of simple to add users who can access my files..
I have tried to google the topic about torrent client on a Blackarmor, but can`t seem to find anything, do you guys in here know anything about this?
01-20-2011 12:30 AM
1.) No, you do not have to restore the default settings.
2.) Any bittorrent client compiled for the 'armel' architecture probably works.
3.) I've never used webmin. User 'tuxmania' recommened http://www.fogproject.org/ which might be a nice alternative.
01-20-2011 03:33 PM - edited 01-21-2011 08:48 PM
How long does the installation normally takes? My 420 has been standing there for 2 hours now, and I still can't connect to it using ssh. I beginning to think that something went wrong. I have checked that it did not change IP.. On the screen it just says 'SystemBootingNow....' Some suggestion? I have not tried to reboot it manually, as I am afraid it still installing, therefore I am asking.
Or will it be best to just restore it?
I restored the blackarmor, and tryed again, everything from scratch.. But I don't get any further.. So I don't think it works on 420... Hope you will continue the work on this Hajo, as it would be nice to get it working some day...
01-22-2011 05:28 PM
This does indeed work on a 420. It should only take a few mins for this to work, as the nas device does get rebooted. Are you sure you have that port opened up? This is especially important if you are using windows vista or windows 7, and have their firewall enabled.
01-22-2011 06:07 PM
Well, I have NO idea then what I am doing wrong. I am using mac, it's on the same network.
I only used recoverytools.exe or something to restore it.. Only took some minutes. Maybe I need to clean the disks to be 100% sure everything is deleted?
01-24-2011 07:10 AM
the IP of your NAS might have changed after the installation of the Debian system. Please try to scan your network for new IPs.
My Debian system does not change the contents of the LCD display (my BA220 does not have a display). You can use the /usr/bin/show_lcm command to send your own messages to the display after login via SSH.
If your problems persist, you have to attach a serial cable to your NAS to view the logs during system boot ($5 for a CA-42 3.3v mobile phone cable, and you need basic soldering skills for attaching a 2x5 pin-connector).
01-25-2011 08:16 PM
Hi, thanks for insisting on the IP change solution..
I have been watched the ip from my router, thought it would update as soon as the mac adress changed IP-adress. But it did not, so i used a IP scanner, and what do you know!
One last question. When I was troubleshooting for why it 'did not work'. I took the power from the NAS, and booted it again. And the NAS loaded a file I think, and I got back to the web interface, but the nfs/afp servers were not available, so then i recovered the blackarmor using recovery tools. Anyway, I was thinking, will this happen when i reboot the NAS, or it loses the power supply? I was able to find nanddump.mtd2s4000.img in the /mnt/md2/ file.. witch is a partition on the first hardisk. So i was wondering if thats the file, it uses to recover to the orginal system when it looses power. What i DON'T want to happened. I was thinking of this just now, after some hours with configuring the server.