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 2008-04-29 05:38:54

luusac
Member
Registered: 2008-04-29
Posts: 360

fixing raid1 /ext2 fs errors

Hi,
I have a raid1 setup and am getting errors.  Just installed telnet and noticed the "EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended" that has been posted about so many times before!  I am hopeing someone can help, but my 'nix knowledge is very rusty, so explanations of the commands would be appreciated!

# e2fsck -nv /dev/md0

e2fsck 1.32 (09-Nov-2002)
/dev/md0 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inode 17989655, i_blocks is 2224, should be 2176.  Fix? no
...
Pass 5: Checking group summary information
Block bitmap differences:  -(39977506--39977511)
Fix? no
Free blocks count wrong for group #86 (32246, counted=32254).
Fix? no
Free inodes count wrong (30216004, counted=30216002).
Fix? no
/dev/md0: ********** WARNING: Filesystem still has errors **********

ERROR# #

See attachment for more info.  How can I fix the errors?  So far I have come up with

#umount /dev/md0
#e2fsck /dev/md0

and "stop and start RAID".  What does "stop and start raid" mean - use the restart via the web interface?  Once e2fsck has finished is there anything else I need to do, do I have to remount /dev/md0 - if so, how?

Also, is there a graceful way of logging off from the telnet shell - I have just been closing putty to end the session.

thanks


Attachments:
Attachment Icon raid problem.txt, Size: 6,131 bytes, Downloads: 248

Offline

 

#2 2008-06-07 22:48:57

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: fixing raid1 /ext2 fs errors

Type exit to end the telnet session.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB