Posts tagged “Linux”.

Exactly what I wanted to see on a production server…

RHEL 6.1 / Scientific Linux 6.1 dmesg:

TECH PREVIEW: fscache may not be fully supported.
Please review provided documentation for limitations.
FS-Cache: Loaded
FS-Cache: Netfs 'nfs' registered for caching

Excerpt from RHEL 6.1 Technical Notes, Chapter 3. Technology Previews:

FS-Cache
FS-Cache is a new feature in Red Hat Enterprise Linux 6 that enables networked file systems (e.g. NFS) to have a persistent cache of data on the client machine.

… and nothing about the limitations or how to disable fscache.

Tried to add install fscache /bin/true to /etc/modprobe.d/fscache.conf with the following dmesg result (of course, no NFS filesystems mounted):

nfs: Unknown symbol __fscache_read_or_alloc_pages
nfs: Unknown symbol __fscache_relinquish_cookie
nfs: Unknown symbol __fscache_unregister_netfs
nfs: Unknown symbol __fscache_maybe_release_page
nfs: Unknown symbol __fscache_read_or_alloc_page
nfs: Unknown symbol __fscache_uncache_page
nfs: Unknown symbol __fscache_register_netfs
nfs: Unknown symbol __fscache_write_page
nfs: Unknown symbol __fscache_wait_on_page_write
nfs: Unknown symbol __fscache_acquire_cookie
nfs: Unknown symbol __fscache_read_or_alloc_pages
nfs: Unknown symbol __fscache_relinquish_cookie
nfs: Unknown symbol __fscache_unregister_netfs
nfs: Unknown symbol __fscache_maybe_release_page
nfs: Unknown symbol __fscache_read_or_alloc_page
nfs: Unknown symbol __fscache_uncache_page
nfs: Unknown symbol __fscache_register_netfs
nfs: Unknown symbol __fscache_write_page
nfs: Unknown symbol __fscache_wait_on_page_write
nfs: Unknown symbol __fscache_acquire_cookie

(Open)Solaris, Linux and FreeBSD tunnelbroker.net IPv6 setup

After you create a Regular Tunnel at Hurricane Electric‘s tunnelbroker.net you will receive the following informations:

Server IPv4 Address
Server IPv6 Address
Client IPv4 Address
Client IPv6 Address
Routed /64

Solaris and OpenSolaris IPv6 tunnel setup

Create /etc/hostname6.ip.tun0 file:
tsrc Client_IPv4_Address tdst Server_IPv4_Address up
addif Client_IPv6_Address Server_IPv6_Address up

Add the permanent IPv6 default gateway:
route -p add -inet6 default Server_IPv6_Address

(Tested on Solaris 10 5/09 and 10/09, OpenSolaris 2009.06 and 2010.02 preview snv_127)

Linux (RHEL / Fedora / CentOS) IPv6 tunnel setup

Create /etc/sysconfig/network-scripts/ifcfg-sit1 file:

DEVICE=sit1
BOOTPROTO=none
ONBOOT=yes
IPV6INIT=yes
IPV6TUNNELIPV4=Server_IPv4_Address
IPV6TUNNELIPV4LOCAL=Client_IPv4_Address
IPV6ADDR=Client_IPv6_Address/64

Add the following to /etc/sysconfig/network file:

NETWORKING_IPV6=yes
IPV6_DEFAULTDEV=sit1

(Tested with Fedora 11 and 12, CentOS 5.3 and 5.4)

FreeBSD IPv6 tunnel setup

Add the following lines to /etc/rc.conf file:

gif_interfaces="gif0"
gifconfig_gif0="Client_IPv4_Address Server_IPv4_Address"
ipv6_enable="YES"
ipv6_network_interfaces="lo0 gif0"
ipv6_ifconfig_gif0="Client_IPv6_Address prefixlen 128"
ipv6_defaultrouter="Server_IPv6_Address"

(Tested with FreeBSD 6.4)