[MontelLUG] Lessfs

Samuele samuele.zanin a tiscali.it
Lun 10 Maggio 2010 13:15:42 CEST


Qualcuno ha esperienze con il suddetto file system.
Sono riuscito ad installarlo su una lenny (dopo qualche accrocchio con i
repository di sid e la compilazione a mano).
Sia sdb1 una partizione su un disco apposito addetto a backup e /mnt/sdb1 il
suo mountpoint creato su sda1.
Dentro a /etc/lessfs.cfg ho impostato i vari puntamneti a /mnt/sdb1/less/mta
e /mnt/sdb1/less/mda

lancio:
# lessfs /etc/lessfs.cfg /mnt/copie
faccio un
# dd if=/dev/zero of=/mnt/copie/test bs=1M count=10

df prima e dopo del dd e mi trovo occupato lo spazio su sda1 invece ceh
sdb1.

Dai log nulla di strano.
Dove mi sono intortato?

Allego lessfs.cfg
# Enable informational messages about compression.
DEBUG = 3
# The (chopped) hashlen in bytes, minimum is 20.
HASHLEN = 24
#BLOCKDATA_IO_TYPE=file_io
#BLOCKDATA_PATH=/data/dta/blockdata.dta
BLOCKDATA_PATH=/mnt/sdb1/less/dta
BLOCKDATA_BS=1048576
#
BLOCKUSAGE_PATH=/mnt/sdb1/less/mta
BLOCKUSAGE_BS=1048576

DIRENT_PATH=/mnt/sdb1/less/mta
DIRENT_BS=1048576
#
FILEBLOCK_PATH=/mnt/sdb1/less/mta
FILEBLOCK_BS=1048576

META_PATH=/mnt/sdb1/less/mta
META_BS=104857
#
HARDLINK_PATH=/mnt/sdb1/less/mta
HARDLINK_BS=1048576
#
SYMLINK_PATH=/mnt/sdb1/less/mta
SYMLINK_BS=1048576
#
# The freelist database is only used
# with the  file_io backend
#
FREELIST_PATH=/mnt/sdb1/less/mta
FREELIST_BS=1048576
#
# CACHESIZE in MB
CACHESIZE=128
# Flush data to disk after X seconds.
COMMIT_INTERVAL=30
#
LISTEN_IP=127.0.0.1
LISTEN_PORT=100
# Not more then 2 on most machines.
MAX_THREADS=2
#DYNAMIC_DEFRAGMENTATION on or off, default is off.
DYNAMIC_DEFRAGMENTATION=on
COREDUMPSIZE=256000000
# Consider SYNC_RELAX=1 or SYNC_RELAX=2 when exporting lessfs with NFS.
SYNC_RELAX=0
# Requires openssl and lessfs has to be configured with --with-crypto
ENCRYPT_DATA=off
# ENCRYPT_META on or off, default is off
# Requires ENCRYPT_DATA=on and is otherwise ignored.
ENCRYPT_META=on
#PASSWORD=1234
MIN_SPACE_FREE=10
#MIN_SPACE_CLEAN=15
#CLEAN_PROGRAM=/tmp/clean.sh
# Highly recommended.
ENABLE_TRANSACTIONS=on
# Select a blocksize to fit your needs.
# Most people should select 65536
#BLKSIZE=131072
BLKSIZE=65536
#BLKSIZE=32768
#BLKSIZE=16384







More information about the montellug mailing list