JohnnyVolcano wrote:
Regarding the similar problem you are having... Try using any liveCD linux distro that will let you boot to a command line. No GUI necessary.
Once you have the prompt, you need to unmount the drive you want to repair, since its probably automatically mounted by linux.
use this:
$ umount /mnt/hda1
After that, you can run the repair utility:
$ fsck -t ext3 -y /dev/hda1
This will run the fsck utility to repair ext3 filesystem.
I just ran this myself 15 minutes ago on the same drive that NasLite failed to repair, and it repaired it with no problems at all. once this was over and it reported the filesystem as clean, I rebooted into NasLite2, and now Im back to normal. (Until the next time this will occur...the clock is ticking).
Good luck.
I initially used:
e2fsck /dev/sda1 (from a forum post)
but gave up as it asked too many ?'s I'm not knowledgeable enough to answer (yet).
I tried a couple of commercial Linux rec' tools which list recoverable files & then you can buy to do the actual recovery.
1 or 2 of them actually crashed in XP (512 megs in pc)!
1 said it could do ~ 25%, another ~ 50%.
So, put hd back in NasLite box, firing up Knoppix 4, I tried your commands.
As I could see a disc icon, I was surprised to get an error message that sda1 wasn't mounted anyway, so it looks like Linux presents a disc icon even if the hd is totally alien to it.
fsck came up with several bad inodes, eventually freezing the box!
Reboot, same again, hmmm..............
I've been somewhat sceptical of the assertion that minimal ram is needed, eg., 64 megs.
So I've had 128 megs in this NAS, & until this failure, it's been fine.
So, I've doubled the ram to 256, ran Knoppix again & this time no crash, & after ~ 15 min's (BTW commercial tools took 1 hr to scan hd!) fsck *seems* to have recovered most (all?) of the files, phew!
Very worrying that the commercial tools are so poor.
From this experience I don't think it's realistic to treat the Nas as an appliance. Some knowledge is essential for a repair situation.
So, like you, I'm now wondering why our hd's crashed during a straightforward file copy. I'll leave the 256 Megs of ram in & see what happens. As I've only got this one 120G sata HD in currently, I'm wondering if 256 is going to be enough when I add 3 more hd's........
Next to find out why NFS transfers are not showing up as such.
Thanks again for your help, sorry I can't help any further yet, but obviously I'll try to find out more.