Many problems after power failure (mtab empty)

3 853
Edited by SFluet at Dec 04, 2016 16:23

Hi to all,

I need your help. I have googled a lot and nobody seem to have my problems.

I have a Banana Pi M1 running Bananian since June with Samba, Transmission, Munin, Monit, Webmin, OpenVPN. No problems so far.

I have experienced a power failure and now I have strange behaviors:

1. Samba, OpenVPN and Transmission servers stop working
2. Cannot login with SSH (see below)
3. Cannot not open a terminal in the GUI (blank terminal, no prompt)
4. DF command not working anymore (see below)
5. File /etc/mtab is empty

Errors while trying to login with SSH:

Server refused to allocate pty
stdin: is not a tty

Error with the command DF:

df -h
df: cannot read table of mounted file systems

Mount command show no output

File /etc/mtab is empty

File /etc/fstab has this:

cat /etc/fstab


# 512 MB swapfile
/swapfile1 swap swap defaults 0 0

UUID="A214C52A14C50271" /mnt/USB1800GB/ ntfs nls-utf8,umask-0222,uid-1000,gid-1000 0 0
UUID="3880832A8082EDA6" /mnt/USB1400GB/ ntfs nls-utf8,umask-0222,uid-1000,gid-1000 0 0

Version running:

uname -a

Linux NAS 3.4.111-bananian #5 SMP PREEMPT Fri Mar 25 17:24:42 UTC 2016 armv7l GNU/Linux

Cannot see what is running with PS command:

ps -ef
Error, do this: mount -t proc proc /proc

Partial solution:

Command "mount -t proc proc /proc" seem to bring back everything because I can use DF and PS after running it.

Now I see that:

/dev/mmcblk0p2 on / type ext4 (rw,noatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=496748k,nr_inodes=124187,mode=755)
sysfs on /sys type sysfs (rw,relatime)proc on /proc type proc (rw,relatime)

df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        29G  2.3G   26G   9% /
devtmpfs        486M  4.0K  486M   1% /dev

cat /etc/mtabrootfs / rootfs rw 0 0/dev/root / ext4 rw,relatime 0 0
devtmpfs /dev devtmpfs rw,relatime,size=496748k,nr_inodes=124187,mode=755 0 0
sysfs /sys sysfs rw,relatime 0 0proc /proc proc rw,relatime 0 0

But if I reboot, the problem come back.
How can I solved this ?
Thanks in advance.

SD card might be corrupt. Try to restore the system from a previous backup to a new SD card.

I have experienced a power failure and now I have strange behaviors.  MD-101 dumps

If you are buying a game for your children (or another child you know) discuss the purchase with them first. Don't just buy on a whim. Sports games are quite different from RPG games, so if they have a particular interest, you want to make sure that you know what that is.

You have to log in before you can reply Login | Sign Up

Points Rules