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 2007-11-10 17:32:23

Garfield62
Member
Registered: 2007-11-09
Posts: 10

DNS-323 1.03 how can i make a checkdisk and repair the filesystem

My knowledge about linux is zero an i need a way to make a checkdisk and repair of the ext2 system on the box, no raid-array

Offline

 

#2 2007-11-10 21:18:04

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

What symptoms are you seeing that makes you think your ext2 filesystem needs a "checkdisk" and "repair" run?


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#3 2007-11-10 21:21:32

Garfield62
Member
Registered: 2007-11-09
Posts: 10

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

there are some rar-files, i can not delete and when i open they seem partually corrupted.
Some days before they were ok

Last edited by Garfield62 (2007-11-10 21:22:27)

Offline

 

#4 2007-11-12 07:55:28

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

Unfortunately the "check disk" web page was removed by D-Link with the v1.03 firmware.
There is a way to run a "check disk" manually, but it will require some knowledge of Linux.

The first thing you will need to do is install Fonz's funplug http://dns323.kood.org/howto:fun_plug
It would also help if you would read relevant pages on the wiki, starting with http://dns323.kood.org/information:beginner_s_faq

The "check disk" utility in Linux is called 'e2fsck'.  This is located in /usr/bin/e2fsck for the D-Link firmware,
and there is a 'fsck' in /mnt/HD_a2/fun_plug.d/bin/fsck that comes with the Fonz's funplug.

I have never attempted to run either program on my DNS-323, so I have no personal knowledge of a
successful procedure, but there are other posters on this forum that have tired it.  Perhaps they could
respond with their experiences. 

There are no articles on the wiki about fsck, but there are several threads in the forum, if you search for 'fsck'
Here is one http://dns323.kood.org/forum/t1122-e2fs … nplug.html

Just a note of caution: With any hard disk manipulations, you run the risk of losing your data,
so be sure to have a BACKUP of your data, before attempting any disk repair process.

Last edited by mig (2007-11-12 07:59:49)


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#5 2007-11-12 11:15:43

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

Don't do an fsck with a mounted disk or you will loose date!

Offline

 

#6 2007-11-12 14:39:47

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

When you have fun_plug installed, visit this site and read the README.txt: http://www.inreto.de/dns323/fsck/

Offline

 

#7 2007-11-13 11:19:06

index monkey
Member
From: UK
Registered: 2007-06-14
Posts: 112

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

could you just change back to the old 1.02 firmware that permits checkdisk? Once complete go forward to the 1.03 firmware. No Linux knowledge required.
I have switched between 1.02 and 1.03 and back a few times, but never actually used the checkdisk.
As long as you have ext2 you wont need to refomat.  Backup data before trying!


DNS-323, HW B1, 2 x 2TB WD green, fw 1.08, fun_plug 0.5, transmission, automatic, nzbget newsreader & rsync time machine backup.

Offline

 

#8 2007-11-13 19:04:14

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

fsck was removed for a reason from the DNS-323 firmware.. Ie it didn't unmount the volumes before running, which is a really bad thing if something needs fixing..

/MiK

Offline

 

#9 2007-11-14 12:04:04

index monkey
Member
From: UK
Registered: 2007-06-14
Posts: 112

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

I thought the reason was because of ext3 and journaling issues that it was removed.


DNS-323, HW B1, 2 x 2TB WD green, fw 1.08, fun_plug 0.5, transmission, automatic, nzbget newsreader & rsync time machine backup.

Offline

 

#10 2007-11-14 19:20:18

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

Well, if it was just because of ext3, there would have been no reason to remove it once the ext3 support was removed from the DNS.. wink

I used the built in fsck to try and repair errors on an ext2 HDD, resulting in an amber "light of death" for that HDD. A complete reformat was required to make the DNS work again.. sad

Offline

 

#11 2007-11-17 00:17:18

xecode
Member
Registered: 2007-11-08
Posts: 9

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

what about unmounting the hd via telnet then running fsck... then it will already be unmounted... still issues with fsck?

Offline

 

#12 2007-11-17 00:26:40

leper
Member
From: sweden
Registered: 2007-05-17
Posts: 25
Website

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

try to remove the files from the command prompt, through telnet, when you have installed fonz' fun_plug. maybe it is just a matter of forked access rights? it has been known to occur sometimes, for no particular reason.

you could try ftp:ing to the dns and see if the rwx-stuff is set correctly.

you never know smile

Offline

 

#13 2007-11-17 11:05:53

Garfield62
Member
Registered: 2007-11-09
Posts: 10

Re: DNS-323 1.03 how can i make a checkdisk and repair the filesystem

What set of syntax or orders are available with telnet, where can i see this?
if i have installed the fonz'fun_plug, how can i remove. i know, it is not necessary, but i have tried it via windows explorer on the net-drive, but this failed...

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB