What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

[RT-AC68U] Checking/Repairing EXT4 telnet commands

tim

Regular Contributor
Ok i'm a total Linix noob, my expertise lie elsewhere.

I am getting this message in the system log:
Code:
Jan 27 13:43:55 kernel: EXT4-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended

Using the "Disk Utility > Rescan" makes no difference.

I tried:
Code:
admin@RT-AC68U:/# e2fsck /dev/sda1
e2fsck 1.38 (30-Jun-2005)
/dev/sda1 is mounted.

WARNING!!!  Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)? n
no

check aborted.

So then i did:
Code:
admin@RT-AC68U:/# umount /dev/sda1
umount: can't umount /tmp/mnt/External: Device or resource busy

Ok so I "Safely remove disk" in the GUI, now I get
Code:
admin@RT-AC68U:/# e2fsck /dev/sda1
e2fsck 1.38 (30-Jun-2005)
e2fsck: while trying to open /dev/sda1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

e2fsck:

Reached the limit of my knowledge now :(
What do I need to do to check the EXT4 filesystem and mark it clean?

Thanks.
 
you have a corrupted file system on that drive... dirty shutdown or pulled the drive without unmounting it first?

First things first - stop trying to fix it in place - it's only going to make things worse.

Best bet at this point is to go into recovery mode - make a LiveCD (Ubuntu or Knoppix or whatever) and read-only mount the drive there and try to recover as much as you can onto something else.

Then you can blow away the filesystem and start over when you've gotten all the data off the drive, or at least as much as you can.

Best of luck!

sfx
 
Ok thanks. Just testing so nothing important on there yet. I will just wipe and start again.

1 more question, what is the recommended best file system for the external HD?
I only used EXT4 because it's the most current filesystem.

Thanks
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top