Getting Started

48 views
Skip to first unread message

Jay Smith

unread,
Feb 28, 2014, 12:03:27 PM2/28/14
to les...@googlegroups.com

Hello,


I believe I have sucessfully installed fuse, mhash, tokyocabinet, and lessfs from source.


When I try to run lessfs I do it in the following way.


./lessfs ../etc/MylessFS.cfg ./mnt


where:

etc/MylessFS.cfg points to a file with the following content.


BLOCKDATA_IO_TYPE=file_io
BLOCKDATA_PATH=/home/jsmith/app/lessfs/bin/blockData/dataFile
BLOCKDATA_BS=10485760

BLOCKUSAGE_PATH=/home/jsmith/app/lessfs/bin/metaData/
BLOCKUSAGE_BS=10485760

#The path to the directory that holds the directory structures.
#DIRENT_PATH=
DIRENT_BS=1048576

HARDLINK_PATH=/home/jsmith/app/lessfs/bin/hardlinkData
HARDLINK_BS=1048576

SYMLINK_PATH=/home/jsmith/app/lessfs/bin/symlinkData
SYMLINK_BS=1048576

FREELIST_PATH=/home/jsmith/app/lessfs/bin/freelistData
FREELIST_BS=1048576

LISTEN_IP=127.0.0.1
LISTEN_PORT=100

MIN_SPACE_FREE=10

#Determines when the CLEAN_PROGRAM shell script is run
#MIN_SPACE_CLEAN=25
#Not an actual shell script
#CLEAN_PROGRAM=/usr/local/bin/warn_me.sh

HASHLEN=24
CACHESIZE=512

COMMIT_INTERVAL=30
MAX_THREADS=2

DYNAMIC_DEFRAGMENTATION=on
COREDUMPSIZE=25600000

SYNC_RELAX=0
ENCRYPT_DATA=off
ENCRYPT_META=off

ENABLE_TRANSACTIONS=on

COMPRESSION=qlz

HASHNAME=TIGER192
BLKSIZE=131072
BACKGROUND_DELETE=off
REPLICATION=off
ROTATE_REPLOG_SIZE=1073741824



#REPLICATION_PARTNER_PORT=201

MAX_BACKLOG_SIZE=0
STICKY_ON_LOCKED=off
DEBUG=5


and /mnt/ points to an empty directory that I intend to be the mount point for the virtual file system created by lessFS.


No output is produced and no change happens.


When I attempt to check the program using gdb I get the following output.


[jsmith@discfarm bin]$ gdb ./lessfs

GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6)

Copyright (C) 2010 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. Type "show copying"

and "show warranty" for details.

This GDB was configured as "x86_64-redhat-linux-gnu".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>...

Reading symbols from /home/jsmith/app/lessfs/bin/lessfs...(no debugging symbols found)...done.

(gdb) r ../etc/MylessFS.cfg /mnt/

Starting program: /home/jsmith/app/lessfs/bin/lessfs ../etc/MylessFS.cfg /mnt/

[Thread debugging using libthread_db enabled]


Program exited with code 05.

Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-7.el6_0.x86_64 glibc-2.12-1.80.el6_3.6.x86_64 zlib-1.2.3-27.el6.x86_64

(gdb)


Any idea what could be causing this? 


The following is the relevent version information:


I am running this on a 64 bit cluster using red hat kernel version 2.6.32

Lessfs | 1.7.0 although I have also tried 1.5.4 with similar success

Fuse | 2.8.7

Mhash | 0.9.9.9

Tokyocabinet | 1.4.48

Mark Ruijter

unread,
Feb 28, 2014, 5:53:54 PM2/28/14
to les...@googlegroups.com

Hi Jay,

I think you forgot to run : mklessfs /etc/lessfs.cfg. ?
Also, please configure and compile to use BDB for production.

Hope this helps,

Mark Ruijter
--
You received this message because you are subscribed to the Google Groups "lessfs " group.
To unsubscribe from this group and stop receiving emails from it, send an email to lessfs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Jayse Hulett

unread,
Mar 5, 2014, 12:43:38 PM3/5/14
to les...@googlegroups.com
Thanks Mark,

Once I do that the metaDeta path gets populated with a blockusage.tch and blockusage.tch.wal files.

Unfortunately I am now running into additional problems. Now when I try to run it the following happens:

(gdb) r ../etc/MylessFS.cfg ./mnt/
Starting program: /home/jsmith/app/lessfs/bin/lessfs ../etc/MylessFS.cfg ./mnt/
[Thread debugging using libthread_db enabled]

Program exited with code 04.
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-7.el6_0.x86_64 glibc-2.12-1.80.el6_3.6.x86_64 zlib-1.2.3-27.el6.x86_64
(gdb)

Any idea what could be causing this? 

Thanks,

Jay


--
You received this message because you are subscribed to a topic in the Google Groups "lessfs " group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lessfs/dkXDckXYnqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lessfs+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages