Skip to content

Home server progress

September 1, 2006

Progress on the new home server:

All the user accounts have been created each with their own ZFS file system for their home directory.

I’ve installed my ZFS snapshot script and have crontab entries like this:

10,20,30,40,50 * * * * /tank/local/snapshot minute 0 * * * * /tank/local/snapshot hour 1 1 * * * /tank/local/snapshot day 2 1 1 * * /tank/local/snapshot month

I think there is some scope for improvement here which would mean keeping the snapshots for longer. When the proposal to have user defined properties becomes real I will define the snapshot rules in the file systems and have the script use those rather than a one size fits all.


I have samba running from SMF thanks to Trevor’s manifest and script. I did the changes to the script suggested in the comments. This all worked perfectly and now the PC flies and that is before I install gigabit Ethernet in it. Already you can see the snapshot directories under .zfs in each of the samba file systems on the PC which is just about as cool as it can get.


Finally I have solaris serving dhcp and have turned off the server on the Qube. Most uncharacteristically I used the GUI tool to configure dhcp and apart from having to create another ZFS file system to put the data in the GUI did it all. Very slick. Plus by some magic it managed to hand out the same IP addresses as the Qube used to to each computer. I suspect I should have done DNS before DHCP since the DHCP server can update the DNS records so this may have to be done again.


Tags: topic:[opensolaris] topic:[solaris] topic:[home server]

Advertisements

From → Solaris

Home server progress

September 1, 2006

Progress on the new home server:

All the user accounts have been created each with their own ZFS file system for their home directory.

I’ve installed my ZFS snapshot script and have crontab entries like this:

10,20,30,40,50 * * * * /tank/local/snapshot minute 0 * * * * /tank/local/snapshot hour 1 1 * * * /tank/local/snapshot day 2 1 1 * * /tank/local/snapshot month

I think there is some scope for improvement here which would mean keeping the snapshots for longer. When the proposal to have user defined properties becomes real I will define the snapshot rules in the file systems and have the script use those rather than a one size fits all.


I have samba running from SMF thanks to Trevor’s manifest and script. I did the changes to the script suggested in the comments. This all worked perfectly and now the PC flies and that is before I install gigabit Ethernet in it. Already you can see the snapshot directories under .zfs in each of the samba file systems on the PC which is just about as cool as it can get.


Finally I have solaris serving dhcp and have turned off the server on the Qube. Most uncharacteristically I used the GUI tool to configure dhcp and apart from having to create another ZFS file system to put the data in the GUI did it all. Very slick. Plus by some magic it managed to hand out the same IP addresses as the Qube used to to each computer. I suspect I should have done DNS before DHCP since the DHCP server can update the DNS records so this may have to be done again.


Tags: topic:[opensolaris] topic:[solaris] topic:[home server]

From → Solaris

3 Comments
  1. ThinGuy permalink

    Hanging any Sun Rays off the new addition?

  2. That is the plan in the medium term. Spread throughout the house.

  3. I wrote an SMF manifest to manage ZFS snapshots if you’re interested ? More here (and subsequent posts) – I’m updating it at the moment to also support full and incremental send/recieves to a remote server…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: