Be the first to like. Like Unlike
Meta
Blogroll
Top Liked Posts
Powered by WP LikesYour IP Address
52.14.201.233
Be the first to like. Like Unlike
Note that the Samba shares resides in a ZFS pool with dedup turned on. Since the blocks that make up the file being sent are probably already on the pool, it’s not necessarily writing the block data to disk. Using the same method as last time: Whoa. That’s way worse than before. Let’s re-run each: […]
I’m about to upgrade to FreeBSD. While I csup the latest RELENG-9.0 branch, I’m looking at my Samba performance on 8.2. I’m measuring a copy of to the Samba server using the following batch file (taken from here): That’s a 1751164811 byte file, so that’s 21.59 MiB/s. To receive: This is a 2,388,531,200 byte file, […]
This all-in-one printer can scan to a Windows share. I have a Windows share hosted by Samba on FreeBSD. Unfortunately, the printer/scanner intermittently (and pretty often) says it can’t find my FreeBSD machine when I–or more importantly my wife tries to scan a document. I went pretty deep on this and took a packet capture: […]
I’ve finally taken the time to figure things out step-by-step. NFSv4 ACL’s, which are supported by ZFS on FreeBSD (and Solaris) are pretty cool. However, I’ve never really understand how they work. By taking the time to use the command-line, I’ve figured out what I think is a good approach for a public share–one where […]
My latest security schemees that I’ve mapped the Samba guest user to a new user “samba_guest”. I’ve made nobody the owner of public shares. I’ve removed the allow settings for the “nobody” user. I then enable everyone to read: Note that I’ve set up Samba with the ZFS ACL module. For each share, I’ve added […]
This time, I’m going to to try using FreeBSD’s support for NFS ACL’s, using http://forums.freebsd.org/showthread.php?t=17627 as a reference: server# zfs set aclmode=passthrough tank/Users server# zfs set aclinherit=passthrough tank/Users I created ZFS filesystems within tank/Users/Public like so: [cce_bash] server% cat add_pub.sh #!/bin/sh u=”$1″ zfs create tank/Users/$u chown nobody:nogroup /tank/Users/$u for d in “Documents” “Music” “Videos” “Pictures”; […]
It’s documented here: http://micheljansen.org/blog/entry/182. However, I only found this post after learning each lesson individually. I wanted to set up a \\server\Public share that anyone on the network could connect to. Certain users can write, but everyone can read. I tried enabling in (and changed the file/directory masks, so anyone can read by default): [cc_ini] […]
I’ve already compiled a custom kernel that enables polling. I’m now following http://forums.freebsd.org/showthread.php?t=9187: in : Luckily, I had already built samba with AIO support. In : In : in : See also http://www.psc.edu/networking/projects/tcptune/. Nuts. Still topping out at 11 MB/s. Wonder if it’s the disk, or if it’s the Windows 7 machine that I’m using […]
As far as the UNIX groups, etc., I created a UNIX group called [cci]Users[/cci] to house the entire family. The UNIX directory [cci]/tank/Users/Public[/cci] has the group set to [cci]Users[/cci]. So, only members of the group can read/write (at the UNIX) level, and only the wife and I can write at the Samba level.