Skip to content

Category Archives: Unix and Linux

Linux/Unix based computers, including NAS servers, VPN servers, cron-running machines, and desktop workstations.

Adding cache device to ZFS

04-Apr-10

I went ahead and bought this USB stick to put in the back of my Portwell machine. The idea is to use it as a device cache to speed up my ZFS tank. Based on this post by Alexander Leidinger, it should reduce latency (when data is in the cache), but not otherwise. I was […]

Adding new repos to CentOS / RHEL5

16-Mar-10

From http://www.trinitycore.org/forum/mercurial-centos-t3113.html?t=3113 Essentially, the post shows one how to install priorities, to provide priority protection against a foreign RPM repository from over-riding (upgrading) a native CentOS/RHEL repository. Then, the RPMForge repository is added with a priority of 9 (so you can add packages, but the package definitions from native repos will over-ride RPMForge). Be the […]

Replaced my 250GB hard drive with a 1TB hard drive

25-Feb-10

the replacement 1 TB Hitachi arrived. So, I decided to take out the 250 GB hard drive and replace that slice with the 1 TB Hitachi.

FreeBSD and ZFS drive ordering

14-Feb-10

So, as it turns out, ZFS relies on the FreeBSD slice names to determine what goes where. This can be a problem, since the slice drive names can move around–if, for example, you switch what USB ports your drives plug into. Which is what I just did. I have no idea what ordering they were […]

Locking down a publicly-exposed ssh server

26-Jan-10

I’ve disabled all authentication types (including PAM)–at least the ones that aren’t disabled by default. Since public key authentication is on by default, I don’t have to change it.

Sharing Samba shares between users

19-Jan-10

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.

Freebsd + Samba with ZFS

18-Jan-10

I then used the following script to create user ZFS filesystems under the /tank directory, for each user, and with compression on for the [cci]Documents[/cci] directory:

OpenSolaris dev b130 (Xorg crash) and SATA drive incompatibilities

15-Jan-10

I’ve recently got my OpenSolaris machine set up pretty much all right. During this set up, I disabled/disconnected a few hard drives. Namely, B) an external eSATA/USB Maxtor model 250 GB hard drive C) an internal SATA Maxtor model 250 GB hard drive, and D) an external 1 TB USB drive. Now that the set […]

OpenSolars 2009.06 to dev b130: Xorg modules, ICEauthority, ptmx

15-Jan-10

Following my previous investigation, it seemed like Xorg was looking for modules in the wrong place. I therefore edited Xorg.conf and removed the entire . That fixed the problem of X not starting. Then, I had a problem with .ICEauthority. Apparently, it used to be in , but is now in . The thing to […]

Follow up 1: OpenSolaris xorg failure after upgrading 2009.06 to dev b130

14-Jan-10

Update 8 AM This post on xwin-discuss explains the changes that caused this failure in xorg startup. Original Post OK. So, it seemed like a lot of stuff was missing. So, I tried to un-install and re-install the corresponding Xorg packages. I did a: When I tried to reinstall these packages, I got: The way […]