Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
can you introduce a complete Reference for use Lessfs(deduplication) and hamsterdb ?
I search in google and find a few links but they not complete ,
Thanks for your helps,
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
← #5 .
"Add /usr/local/BerkeleyDB.4.8/ to ld.so.conf"
means ``Add /usr/local/BerkeleyDB.4.8/ to /etc/ld.so.conf´´
But installing an alien version of db4 to /usr/local isn't recommended.
Please install libdb4.8 / libdb4, for your OS :
Fedora, CentOS : # yum install libdb4
Debian based OS : # apt-get install libdb4.8
Because the kernel is less than version 2.6.26, it doesn't support block sizes over 4096.
Change the following variable to look like this:
BLKSIZE=4096
Quote:
5.2 Prepare the volume
By default the DB is configured in the /data directory. The following commands will create the database and file structure in /data, and then create the mountpoint used to work with the files.
mklessfs -fc /etc/lessfs.cfg
mkdir /lessfs
Quote:
5.3 Edit /etc/rc.d/rc.local
Add the following line:
modprobe fuse > /dev/null 2>&1
Quote:
5.4 Load the fuse module
modprobe fuse
Quote:
5.5 Configure lessfs startup
You should still be in the lessfs source directory
i do phases in up link , but it show below error :
Quote:
[root@localhost lessfs-1.7.0]# /etc/init.d/lessfs start
Starting lessfs:
[root@localhost lessfs-1.7.0]# [root@localhost lessfs-1.7.0]# mount
/dev/mapper/VolGroup-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_ubject_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
vmware-vmblock on /var/run/vmblock-fuse type fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
/dev/sr0 on /media/CentOS_6.5_Final type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=0,gid=0,iocharset=utf8,mode=0400,dmode=0500)
[root@localhost lessfs-1.7.0]# [root@localhost lessfs-1.7.0]# df -t fuse.lessfs
df: no file systems processed
[root@localhost lessfs-1.7.0]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.