Got a power failure, the box waits shutted down. Now after reboot there are no files and folders in filesystem visible except the usb and md0 mounts.
# ls -la /
total 0
# ls -la /etc
total 0
# ls -la /mnt
total 12
drwxr-xr-x 4 root root 80 Jun 13 22:18 .
drwxr-xr-x 25 root root 4096 Jun 13 22:18 ..
drwxr-xr-x 9 root root 4096 Oct 16 2011 md0
drwxr-xr-x 4 root root 4096 Jun 8 20:56 sdc1
The webif and dropbear is running, minidlna has rescanned and is up. In dmesg i see this
aufs au_xino_write:414:ls[635]: I/O Error, write failed (-5)
aufs au_xino_do_write:378:ls[643]: I/O Error, write failed (4294967268)
aufs au_xino_write:414:ls[643]: I/O Error, write failed (-5)
aufs au_xino_do_write:378:ls[649]: I/O Error, write failed (4294967268)
aufs au_xino_write:414:ls[649]: I/O Error, write failed (-5)
aufs au_xino_do_write:378:ls[652]: I/O Error, write failed (4294967268)
aufs au_xino_write:414:ls[652]: I/O Error, write failed (-5)
aufs au_xino_do_write:378:sh[637]: I/O Error, write failed (4294967268)
aufs au_xino_write:414:sh[637]: I/O Error, write failed (-5)
aufs au_xino_do_write:378:ls[901]: I/O Error, write failed (4294967268)
aufs au_xino_write:414:ls[901]: I/O Error, write failed (-5)
Is this a filesystem error in the aufs? How to fix that?
What filesystems are missing? What else do you expect?What do you mean with "there are no files and folders in filesystem visible"? when using samba? using the command line? At the administrative web pages?
Please post the output ofaufs.sh -l
Where is the Alt-F folder located? '/Alt-F' is a symbolic link to it, post the output ofls -l /ls -l /Alt-F/etc
Is the filesystem where Alt-F resides in read-only (RO) or Read/Write (RW?) mode? Post the output ofcat /proc/mounts
Have you been "playing" with the Alt-F folder?I can't understand how can minidlna (or the whole system, as a matter of fact) be running with an empty /etc folder...
One reboot later, the files and folfers are visible again. I login with ssh to see this.
Have you been "playing" with the Alt-F folder?I can't understand how can minidlna (or the whole system, as a matter of fact) be running with an empty /etc folder...Only with vi on the /etc/minidlna.conf and /etc/init.d/S61smb, these changes seems to survice full reboots.
The problems seems to go away. Is it possible that we have a race condition when the raid filesystem is dirty and alt-f is booting?
Eric
No ipkg instalation found, install ipkg in: (*no choices available in dropdown)
# aufs.sh -laufs on / type aufs (rw,relatime,si=41938bf1)/rootmnt/root=rw/rootmnt/rootsq=rr## ls -l /total 28-rw-r--r-- 1 root root 17987 Sep 25 2010 COPYING-rw-r--r-- 1 root root 245 Sep 25 2010 LICENCEdrwxr-xr-x 2 root root 1520 Feb 22 01:34 bindrwxr-xr-x 2 root root 40 Feb 21 22:31 bootdrwxr-xr-x 3 root root 1400 Aug 2 09:56 devdrwxr-xr-x 9 root root 980 Aug 2 10:17 etc-rwxr-xr-x 1 root root 2440 Dec 7 2010 initdrwxr-xr-x 2 root root 500 Feb 22 01:34 libdrwxr-xr-x 4 root root 80 Aug 2 09:56 mntdr-xr-xr-x 45 root root 0 Jan 1 1970 procdrwxr-x--- 2 root root 100 Aug 11 14:34 rootdrwxrwxrwt 4 root root 100 Aug 2 09:56 rootmntdrwxr-xr-x 2 root root 1320 Aug 2 09:56 sbindrwxr-xr-x 11 root root 0 Aug 2 09:56 sysdrwxrwxrwt 6 root root 180 Aug 11 14:25 tmpdrwxrwxrwt 2 root root 40 Aug 2 09:56 tmprootdrwxr-xr-x 10 root root 60 Feb 22 01:34 usrdrwxr-xr-x 4 root root 180 Aug 2 09:56 var## ls -l /Alt-F/etcls: /Alt-F/etc: No such file or directory#
# cat /proc/mountsrootfs / rootfs rw 0 0tmpfs /rootmnt tmpfs rw,relatime 0 0
aufs / aufs rw,relatime,si=41938bf1 0 0
/dev/loop0 /rootmnt/rootsq squashfs ro,relatime 0 0proc /proc proc rw,relatime 0 0usbfs /proc/bus/usb usbfs rw,relatime,devgid=9,devmode=664 0 0sysfs /sys sysfs rw,relatime 0 0
tmpfs /tmp tmpfs rw,relatime,size=54272k 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
#
Hi - I seem to have a similar problem. I seem to have lost my filesystem. From the admin panel, I find nothing in the directories menu and when I go to Packages:Alt-F I get:No ipkg instalation found, install ipkg in: (*no choices available in dropdown)There was no power failure and I wasn't editing anything. The only activity on the box was a torrent downloading over night. I've done several restarts and get nothing. Most everything is backed up, but wanted to double-check before give up reformat/get a new drive. Below is the output from the questions you asked Erik.Thanks for your help.