Re: [zfs-discuss] ZFS + OpenSolaris for home NAS?

2008-10-29 Thread Martti Kuparinen
Bob Friesenhahn wrote:
 AMD Athelon/Opteron dual core likely matches or exceeds 
 Intel quad core for ZFS use due to a less bottlenecked memory channel.

How big is the difference? Does anyone have benchmarking results (maybe even 
when using ZFS on Solaris 10)?

Martti
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Automatic removal of old snapshots

2008-09-25 Thread Martti Kuparinen
Hi,

I'm building a new ZFS fileserver for our lab and I'd like to have these 
features:

- take a snapshot of users' home directories every N minutes (N is 5 or 10)
- remove all old snapshots, keep just these:
   - all snapshots made during last H hours (H=24)
   - keep one snapshot per day (e.g. made at 16:00 hrs) for the last D days 
(D=7)
   - keep one snapshot per week for the last W weeks (W=4)
   - keep the last Y monthly snapshots (Y=12)

In other words, every user would have (H * 60/N) + D + W + Y snapshots in 
their home directories (N=5 = 311 snapshots).

Before re-inventing the wheel, does anyone have any nice shell script to do 
this 
kind of thing (to be executed from cron)?

We have only few users and quite static home directories so this kind of 
snapshot amount should be fine...

Martti
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss