DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-01-19 08:26:42

daaron
New member
Registered: 2011-01-19
Posts: 4

DNS-323 drops to Read-Only File System shortly after reboot

I've been using my DNS-323 (hacked) for some time, and it has worked swimmingly. Today it started acting strange (reacted slowly to file deletes), so I rebooted. Now I can't modify files at all, except during the first 60-90 seconds after a reboot. Thereafter, all folders are made read-only via a mechanism that eludes me. If I log in with SSH and try something simple like 'echo 123 > abc', I get this error:

-sh: can't create abc: Read-only file system

What's happening, and how do I fix it?

Offline

 

#2 2011-01-19 12:40:29

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: DNS-323 drops to Read-Only File System shortly after reboot

Have a look at dmesg. I think a filesystem corruption is found, and the filesystem is remounted ro to prevent from further corruption.

Offline

 

#3 2011-01-19 20:47:06

daaron
New member
Registered: 2011-01-19
Posts: 4

Re: DNS-323 drops to Read-Only File System shortly after reboot

Mijzelf wrote:

Have a look at dmesg. I think a filesystem corruption is found, and the filesystem is remounted ro to prevent from further corruption.

You're absolutely right - it's a dirty drive, so it's mounted as read-only.

Now, here's the catch-22. The disk scan available through the web interface fails, so I am trying to run Fonz's fsck tool, as described here:

http://www.inreto.de/dns323/fsck/

Problem is, I can't install the necessary files because of the read-only filesystem, so I can't fix the problem. I also tried to remount the drive as read-write (with 'mount -aw') but that didn't accomplish what I expected.

How do I remount my RAID1 array as read-write so I can install fsck and scan the drive?

Thanks again,

Offline

 

#4 2011-01-19 20:58:55

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: DNS-323 drops to Read-Only File System shortly after reboot

Can you mount an usbstick? Reading the reload.sh, I think you could put the files on a stick, and run reload.sh from there.

Offline

 

#5 2011-01-19 21:46:15

daaron
New member
Registered: 2011-01-19
Posts: 4

Re: DNS-323 drops to Read-Only File System shortly after reboot

Great idea - hadn't thought of that. But it turns out I didn't need to. As I was trying to install the USB driver, I typed:

mount

to see a list of the current mount points, and on my device, /mnt/HD_b2 was still mounted rw, so I put the fsck files there! (This is the small partition shared as \Volume_2.)

The scan is currently running. (For some reason, I got a segmentation fault error the first time I tried e2fsck, but I just ran it again, and it's working nicely.) I'll report back with the results.

Thanks so much for your help, Mijzelf!!

Offline

 

#6 2011-01-20 00:10:44

daaron
New member
Registered: 2011-01-19
Posts: 4

Re: DNS-323 drops to Read-Only File System shortly after reboot

Well, 3 hours later, and my DNS-323 is back up and running. HD_a2 is once again mounted RW, and appears to be staying that way. FSCK found lots of errors, so my Enter-pressing finger got tired. Otherwise, all is well. Thanks so much for the help!

Offline

 

#7 2011-12-15 06:50:55

kernelsanders
New member
Registered: 2008-05-21
Posts: 1

Re: DNS-323 drops to Read-Only File System shortly after reboot

I have a similar problem, but I currently have no way of telnet'ing or ssh'ing into the system. Is there a way I can run fsck over the network?

I tried installing the fonz plugin over the old one and in the process realized I do not seem to have any write permissions. Even if I map the dns-323 as root to my windows pc i still get access denied when I try anything that requires write permission.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB