Has anyone successfully used hdparm to spin down SATA disks
on a TS-7800? I get this:
TS-7800:/# hdparm -i /dev/sda
/dev/sda:
HDIO_GET_IDENTITY failed: Invalid argument
TS-7800:/# hdparm -y /dev/sda
/dev/sda:
issuing standby command
HDIO_DRIVE_CMD(standby) failed: Invalid argument
Maybe someone can save me diving into the code?
Throughput is, as you'd expect, much better with the SATA intefrace.
I'm getting 22Mb/s write and 36Mb/s write (from bonnie++) with a 2.5"
160Gb 5400rpm Samsung. Much better than TS72xx USB which was under 1Mb/s.
A couple of piece of info that might save others some time.
I made a bootable ts7800 SD-card effectively like this:
wget -O- ftp://ftp.embeddedarm.com/ts7800-512mbsd.dd.bz2|bunzip2 -c
>/dev/mmcblk0
I haven't seen any info about the format of the first 3 partitions.
I used
ftp://ftp.embeddedarm.com/ts-7800-linux-sd/distributions/debian-etch-eabi-armel-512MB-oct042007.tar.gz
to set up an ts7800 NFS file system with 2 changes.
I needed to create /dev/ttyS0 (mknod dev/ttyS0 c 4 64) before it
would boot. Also /etc/hosts had an apparently incorrect address for
armel-debs.applieddata.net hard-wired which stopped apt-get working.
TS's scripts expect NFS server at 192.168.0.1 and gateway and nameserver
at 192.168.0.11. Rather than change them I configured my linux box to
grab these addresses, basically:
ifconfig eth0:1 192.168.0.1
ifconfig eth0:2 192.168.0.11
echo 1 > /proc/sys/net/ipv4/ip_forward
Also if someone from TS is reading, it be good to have rsync on the
distributed filesystems. Although its easy to add once you have apt-get
working, its a tool that can be useful before then.
Andrew
|