Hello,
Since the
Sheevaplug forum over at NewIT is very quiet, I figured I'd have more chance getting help by asking here.
I use a
Sheevaplug at home just to host a couple of personal web sites. It was migrated from its original Ubuntu 9 to Debian after Ubuntu stopped supporting ARM processors.
Since I'm no *nix expert, I simply installed Debian on a USB keydrive and have been running the Plug off it for a couple of years now. It works but it means I'm not using the on-board 512MB Flash memory and the SD slot.
Here's how files are currently layed out:
Code:
root@sheevaplug:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=63484,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=51512k,mode=755)
/dev/disk/by-uuid/a82663a4-cc9d-4551-b1a3-704eccf43343 on / type ext4 (rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=147240k)
/dev/sda1 on /boot type ext2 (rw,relatime,errors=continue)
Note: /dev/disk/by-uuid/a82663a4-cc9d-4551-b1a3-704eccf43343 = sda2
root@sheevaplug:~# fdisk -l
Disk /dev/mmcblk0: 16.0 GB, 16012804096 bytes
255 heads, 63 sectors/track, 1946 cylinders, total 31275008 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x40c68308
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2048 31275007 15636480 c W95 FAT32 (LBA)
Disk /dev/sda: 3999 MB, 3999268864 bytes
124 heads, 62 sectors/track, 1016 cylinders, total 7811072 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bbc04
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 444415 221184 83 Linux
/dev/sda2 444416 7364607 3460096 83 Linux
/dev/sda3 7366654 7809023 221185 5 Extended
/dev/sda5 7366656 7809023 221184 82 Linux swap / Solaris
IOW, all permanent files reside on a USB keydrive; Temporary files (tmpfs, etc.) live in RAM; The 512MB Flash RAM and the 16GB SD card are not used at all.
I have a couple of questions:
1. Is this a good way to install files? If not, how would you reorganize things?
2. The only Internet-accessible service is Nginx to run the web server. Very rarely, eg. a couple of times a year, the web server becomes unreachable, from the Net or from the LAN. Instead of just logging on through SSH and restarting Nginx, is there a way to investigate the cause of the problem?
Thank you.