Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/vlbi/dokuwiki/doku.php/difx/fusemk5
Дата изменения: Unknown
Дата индексирования: Sun Apr 10 18:52:33 2016
Кодировка: IBM-866

Поисковые слова: южная атлантическая аномалия
difx:fusemk5 [ATNF VLBI Wiki]

User Tools

Site Tools


difx:fusemk5

Installing fuseMK5

fuseMK5 has been developed by Jan Wagner. Most of the following information has been compiled from Jan's documentation (see http://fusemk5a.sourceforge.net/).

These instructions refer to installing fuseMK5 on the Mark5 computers with kernel 2.6.X and the StreamStore library version 7.X.

Install additional Debian packages

Copy the following packages to e.g. /root on the MK5 machine:

fuse-source_2.5.3-1bpo1_all.deb fuse-utils_2.5.3-1bpo1_i386.deb libfuse2_2.5.3-1bpo1_i386.deb libfuse-dev_2.5.3-1bpo1_i386.deb makedev_2.3.1-83_bpo.1_all.deb

package debhelper needs to be installed (do with eg. synaptic installer)

As user root run:

 dpkg -i makedev_2.3.1-83~bpo.1_all.deb
 dpkg -i fuse-source_2.5.3-1bpo1_all.deb
 dpkg -i fuse-utils_2.5.3-1bpo1_i386.deb
 dpkg -i libfuse2_2.5.3-1bpo1_i386.deb
 dpkg -i libfuse-dev_2.5.3-1bpo1_i386.deb
 apt-get install module-assistant

Build fuse kernel module

As user root run:

module-assistant prepare module-assistant build fuse module-assistant install fuse

Load the fuse kernel module:

 modprobe fuse

Verfiy that the module has loaded:

lsmod | grep fuse
should yield something like:
fuse                   41420  0

Make sure the module will be loaded during boot:

echo "fuse" >> /etc/modules

Install fuseMK5

download fusemk5a-v1.0.2d.tar Create directory /root/fuseMk5 and unpack the tar into that directory.

possibly you need to change the path to the Streamstore installation in the Makefile (look for the SSD variable).

cd /root/fuseMk5
make
make install

Finishing up

Create the mountpoint for the fuseMK5 filesystem:

chmod a+rwxt /mnt/diskpack 

Check environment (add to .cshrc)

setenv STREAMSTOR_BIB_PATH /home/streamstor/Sdk/bib/

allow non-root users to read fuse filesystem

in /etc/fuse.conf enter

user_allow_other

change /etc/group

 fuse:x:1000:oper,root

Running & testing fuseMk5

The MK5 software needs to be stoped before fuseMk5 can work:

EndM5

mount the diskpack:

./fuseMK5 /mnt/diskpack

now you should be able to see the contents of the diskpack

ls /mnt/diskpack

and copy file from the diskpack:

cp /mnt/diskpack/* .

when you are finished don't forget to unmount the diskpack

fusermount -u /mnt/diskpack

Mounting the diskpack as a non-root user

change permissions of the relevant devices (must be repeated after every reboot)

chmod a+rw /dev/fuse
chmod a+rw /dev/windrv6

alternatively you can setup udev rules to do that for you

go to /etc/udev/rules.d and create these two files

040_fuse.rules

 KERNEL="fuse", NAME="%k", MODE="0666"

041_windrvr.rules

 KERNEL="windrvr6", NAME="%k", MODE="0666"
 KERNEL="windrvr", NAME="%k", MODE="0666"
difx/fusemk5.txt ۤ Last modified: 2015/10/21 10:08 (external edit)