09-04-2012
We did have a problem, we used completely local filesystems instead. Then set up several dynamic rsync connections to keep files synced across machines. Our files on the servers are never more than about 1 minute behind time. We use inotify: checksum and then copy files to a special directory on close if there is a change. rsync is called to update the remote file.
None of our files is huge, all less than 1MB. The remote boxes are in remote locations with only DSL or satellite available.
3 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I'm looking for a means to ensure that servers in the two or three datacenters, connected in a ring via IP through two ISPs, can distribute load and/or replicate data among at least two SAN-class disk devices.
I want to evaluate several solutions, and I'm open to solutions ranging from free,... (6 Replies)
Discussion started by: otheus
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local.
Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies
3. IP Networking
Hi.
Can you please help me with a routing problem?
There are 2 networks:
192.168.10.0/24 (eth0)
192.168.11.0/24 (eth0:1)
The default gateway is 192.168.10.1
iPv4 routing is already enabled and working.
With vpnc I've built up an VPN connection and can access my home network... (0 Replies)
Discussion started by: tschmi
0 Replies
LEARN ABOUT NETBSD
resize_lfs
RESIZE_LFS(8) BSD System Manager's Manual RESIZE_LFS(8)
NAME
resize_lfs -- resize a mounted log-structured filesystem
SYNOPSIS
resize_lfs [-v] [-s new-size] mounted-file-system
DESCRIPTION
resize_lfs grows or shrinks a mounted log-structured filesystem to the specified size. mounted-file-system is the name of the filesystem to
be resized, and new-size is the desired new filesystem size, in sectors. If new-size is not specified, resize_lfs will default to the cur-
rent size of the partition containing the filesystem in question.
When growing, the partition must be large enough to contain a filesystem of the specified size; when shrinking, resize_lfs must first
``clean'' the segments that will be invalid when the filesystem is shrunk. If this cleaning process results in these segments becoming
redirtied, this indicates that the given new size is not large enough to contain the existing filesystem data, and resize_lfs will return an
error.
EXAMPLES
To resize the file system mounted at /home to 32576 sectors:
resize_lfs -s 32576 /home
SEE ALSO
fsck_lfs(8), lfs_cleanerd(8), newfs_lfs(8)
HISTORY
The resize_lfs command first appeared in NetBSD 3.0.
AUTHORS
Konrad Schroder <perseant@NetBSD.org>
BUGS
resize_lfs should be able to resize an unmounted filesystem as well.
BSD
September 4, 2006 BSD