vblade exportiert ein block device über ein LAN mit dem aoe protokoll von CORAID. Auf einem anderen rechner kann man dieses exportierte device als block device mounten und benutzen. dies ist eine kostengünstige NAS Lösung.
Ein kleines Beipiel aus der README von vblade. Hier wird ein file auf einem loop device verwendet, aber es sollte mit allen seekable files gehen:
root@host vblade# modprobe loop
root@host vblade# dd if=/dev/zero bs=1k count=1 seek=
Here’s how you can use the Linux aoe driver to access the storage from
another host on the LAN.
expr 1024 \* 4096 of=bd-file
[snip]
root@host vblade# losetup /dev/loop7 bd-file
root@host vblade# ./vblade 9 0 eth0 /dev/loop7
ioctl returned 0
4294968320 bytes
pid 16967: e9.0, 8388610 sectors
root@host2 root# modprobe aoe
root@host2 root# aoe-stat
e9.0 eth1 up
root@host2 root# mkfs -t ext3 /dev/etherd/e9.0
[snip]
root@host2 root# mkdir /mnt/e9.0
root@host2 root# mount /dev/etherd/e9.0 /mnt/e9.0
root@host2 root# echo hooray > /mnt/e9.0/test.txt
root@host2 root# cat /mnt/e9.0/test.txt
hooray
0 Responses to “ATA over Ethernet mit vblade”
Leave a Reply