|
Playing songs with XMMS on OCFS2 connected to Playstation3/iSCSI |
The Oracle Cluster Filesytem v2 and Internet Small Computer Systems Interface (iSCSI) on WiFI networks prototype is up and running. For more information on cluster filesystems, have a look at Clustered_file_system and Shared_disk_file_system.
The ocfs2 modules and ocfs2-tools package are running on OS/2008 r51-3 (2.6.21-omap1) with N800 Hardware! Currently, testing with rw and ro mounts are underway.
The .debs are now online at LIO-Cluster link
Untar ocfs2-2.6.21-omap1.tar to your /media/mmc2 directory, which should create /media/mmc/ocfs2/ for the ocfs2 kernel modules.
The required userspace debs are ocfs2-tools, libcomerr2, and bash3 and are located on LIO-Cluster above.
To provide shared storage to OS2008, have a look at Core-iSCSI/Nokia 800 for iSCSI Initiator builds.
The current prototype is connected to a two (2) node cluster, with the 2nd initiator being a Ubuntu 7.10 i386 VM running 2.6.21 with Open/iSCSI.
The iSCSI Target storage for the prototype is provided by Playstation3/iSCSI running 2.6.25 with LIO-Target.
If any Nokia or Mameo folks are interested in seeing this setup on new/development hardware, or would like to discuss the prototype, please contact nab (AT) linux-iscsi.org for more information.
Contents |
Nokia-N800-51-3:/# dmesg | grep OCFS
[ 118.765625] OCFS2 Node Manager 1.3.3
[ 118.875000] OCFS2 DLM 1.3.3
[ 118.929687] OCFS2 DLMFS 1.3.3
[ 118.945312] OCFS2 User DLM kernel interface loaded
[ 119.117187] OCFS2 1.3.3
Nokia-N800-51-3:/# /etc/init.d/o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Online
Heartbeat dead threshold = 15
Network idle timeout: 10000
Network keepalive delay: 5000
Network reconnect delay: 2000
Checking O2CB heartbeat: Active
Nokia-N800-51-3:/# mounted.ocfs2 -f
Device FS Nodes
/dev/sdb ocfs2 Nokia-N800-51-3, ubuntu_initiator
Nokia-N800-51-3:/# cat /proc/mounts | tail -n 4
/dev/sda /iqn.2003-01.org.linux-iscsi.playstation3.cell:sn.73b073c4e157/PS3_FILEIO ext3 ro,data=ordered 0 0
configfs /sys/kernel/config configfs rw 0 0
ocfs2_dlmfs /dlm ocfs2_dlmfs rw 0 0
/dev/sdb /iqn.2003-01.org.linux-iscsi.playstation3.cell:sn.73b073c4e157/PS3_OCFS2 ocfs2 ro 0 0
Nokia-N800-51-3:/# lsmod
Module Size Used by
ocfs2 359764 1 - Live 0xbf132000
ocfs2_dlmfs 18792 1 - Live 0xbf12c000
ocfs2_dlm 178472 2 ocfs2,ocfs2_dlmfs, Live 0xbf0ff000
ocfs2_nodemanager 125260 7 ocfs2,ocfs2_dlmfs,ocfs2_dlm, Live 0xbf0df000
configfs 23280 2 ocfs2_nodemanager, Live 0xbf0d8000
iscsi_initiator_mod 277956 3 - Live 0xbf093000
ext2 51080 0 - Live 0xbf085000
ext3 107304 1 - Live 0xbf069000
mbcache 7108 2 ext2,ext3, Live 0xbf066000
jbd 51592 2 ocfs2,ext3, Live 0xbf058000
g_file_storage 27560 0 - Live 0xbf050000
cx3110x 56200 0 - Live 0xbf041000
umac 258788 1 cx3110x, Live 0xbf000000 (P)
Nokia-N800-51-3:/# /etc/init.d/initiator status | tail -n 5
Core-iSCSI Initiator Stack v1.6.2.10 on Linux/armv6l on 2.6.21-omap1
iSCSI InitiatorName: iqn.2003-01.org.linux-iscsi.Nokia-N800-51-3.armv6l:sn.506dcc5299c
Linux Nokia-N800-51-3 2.6.21-omap1 #2 Fri Dec 7 11:17:13 EET 2007 armv6l unknown
13:35:59 up 13:15, load average: 0.42, 0.34, 0.34