# 1. Install required package jordi@topper:~$ sudo aptitude install nfs-kernel-server # 2. Modify zfs configuration jordi@topper:~$ sudo nano /etc/default/zfs: [...] # Run `zfs share -a` during system start? # nb: The shareiscsi, sharenfs, and sharesmb dataset properties. ZFS_SHARE='yes' # Run `zfs unshare -a` during system stop? ZFS_UNSHARE='yes' [...] # 3. Set nfs configuration for our pools jordi@topper:~$ sudo zfs set sharenfs='rw=@10.0.0.0/24,no_subtree_check,all_squash,insecure,anonuid=1000,anongid=100' tank jordi@topper:~$ sudo zfs set sharenfs='rw=@10.0.0.0/24,no_subtree_check,all_squash,insecure,anonuid=1000,anongid=100' pool # 4. Share everything jordi@topper:~$ sudo zfs share -a # Unshare everything (when needed) jordi@topper:~$ sudo zfs unshare -a
Saturday, March 2, 2013
ZFS + NFS: sharing files for XBMC
The NFS - XBMC page says that NFS has a lower protocol overhead than SMB, so let's try it and see if file sharing performance improves.
Sunday, February 17, 2013
Registry Tweak to Decrease Window Border Size and Padding in Windows 8
http://www.askvg.com/registry-tweak-to-decrease-window-border-size-and-padding-in-windows-8/
In short:
In short:
Windows Registry Editor Version 5.00 ;Created by Vishal Gupta for AskVG.com [HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics] "BorderWidth"="0" "PaddedBorderWidth"="0"
Set or change the mount point of a filesystem
sudo zfs set mountpoint=/zpools/new-mountpoint filesystem
Friday, February 15, 2013
Monday, January 28, 2013
Sunday, January 27, 2013
Ruby on Rails learning material
Ruby on Rails Tutorial shows how to write a microblog application (like twitter).
Ruby on Rails Guides shows how to write a simple blog application with comments.
Saturday, January 26, 2013
Friday, January 25, 2013
Sunday, January 20, 2013
Destroy all ZFS snapshots in a zpool
Test:
sudo zfs list -r -H -o name -t snapshot filesystem-name | xargs -n1 sudo zfs destroy -n -vDestroy (remove -n option):
sudo zfs list -r -H -o name -t snapshot filesystem-name | xargs -n1 sudo zfs destroy -v
Friday, January 18, 2013
Find package that installs a certain file
The following command works on Debian derivatives (Ubuntu included):
jordi@topper:~$ dpkg -S /sbin/getty util-linux: /sbin/getty
Subscribe to:
Posts (Atom)