(06-28-2016, 08:23 AM)martinayotte Wrote: Why are you creating so many partitions ?
You should have ONLY a single one with everything inside it, especially true for the /dev, /proc, /run, /srv, /sys and /tmp which must be empty folders inside the rootfs /dev/sda1.
I presume that if you were looking at serial debug port, you would have seen that it stopped and failed trying to mount /proc because it doesn't exist inside your /dev/sda1.
this experiment shows that /tem , /SAVE and swap only are OK .
fdisk -l /dev/sda
---------------------------------------------------------------------------------------
Device Boot Start End Sectors Size Id Type
/dev/sda1 10487808 15730687 5242880 2.5G 83 Linux
/dev/sda2 2048 4196351 4194304 2G 82 Linux swap / Solaris
/dev/sda3
and
rewite /etc/fstab
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
/dev/sda1 /SAVE ext4 defaults,noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/sda3 /tmp ext4 defaults,noatime 0 1
and
head /etc/apache2/apache2.conf
NameVirtualHost *:80
<VirtualHost *:80>
ServerName s---------------.mydns.jp
DocumentRoot /var/www/d1
</VirtualHost>
----
ln -s /SAVE/d1 /var/www/d1
and more
/proc , /sys and /dev is very small , and /run is small ( in banana pi M1, 580 kB )
the work is left to sd card .
the work /tmp , swap and www is left to hard disk .
namely
sd card's burden becomes less .
i expect sd card gets longer life time .
-----------
regards