/dev/sda2 mounted on /var
/dev/sda1 mounted on /share
The idea was to get better speed and more space for swap by putting /var on the hard disk. /share is bulk storage space for media files. The disk partitions are configured (using disk labels) in fstab
This was running ok until the first time I rebooted the Pi.
When the Pi boots it can't "see" the disk partitions. Thus it fails to mount /var which leaves the machine a bit upset because it can't find a bunch of files, and you can't start X because it needs to write into /var.
Now, interestingly once the machine has been running for few seconds or so, if I run "mount -a" as root, the disk partitions mount and most things start working.
However at this point things look a bit weird-
- The command "mount" shows each of /var and /share being mounted TWICE. So for example /var is listed as mounted on both /dev/sda2 AND /dev/sdb2
- Even stranger, if I list /dev, there ARE no sda or sdb devices, my disk now shows as /dev/sdc, /dev/sdc1, and /dev/sdc2
Am I on a hiding to nothing here and i'd be better off starting from scratch, or is there a way of persuading the Pi to wait for the disk devices to be ready before i tries to mount them?
Any hints much appreciated.
PS: What AM I doing wrong with the BBCode for numbered lists in the forum? I can never get them to work...