Skip to content
Browse files

sample file for my config

  • Loading branch information...
1 parent 5849d72 commit 9252a131f742e77530aa5ce4f3de482d66ca8caa @tomato42 committed Aug 2, 2012
Showing with 12 additions and 20 deletions.
  1. +12 −20 doc/sample.conf
View
32 doc/sample.conf
@@ -1,11 +1,11 @@
// for each logical volume that is to be monitored there needs to be a section
// defined, its name is just for usability purposes but has to be unique
-volume "LVName-VGName" {
+volume "stacja-dane" {
// name of logical volume to monitor
- LogicalVolume = name
+ LogicalVolume = dane
// name of volume group containing logical volume
- VolumeGroup = name
+ VolumeGroup = stacja
// the expotential decay of score
// default: 2^-15 ~= 0.00024414063
timeExponent = 0.00024414063
@@ -22,40 +22,32 @@ volume "LVName-VGName" {
// valid units are (s)econds, (m)inutes and (d)ays
// you can also specify more precise time with "hh:mm" or "hh:mm:ss" format
// default: 5m
- pvmoveWait = 5m
+ pvmoveWait = 10s
// amount of time to wait after detecting there's nothing to do
// format used is the same as for pvmoveWait
// default: 15m
- checkWait = 15m
+ checkWait = 1m
// definition of physical volume to store this logical volume
// names can be arbitrary but has to be unique
pv "disk-1" {
// the priority of physical volume to put logical volume contents
tier = 0
// score added to extent to pin it down to the logical volume
- pinningScore = 4000
+ pinningScore = 5
// path to device to contain data (from `pvs` or `pvdisplay`)
- path = /dev/sda1
+ path = /dev/md127
// don't put more than this much data on this physical volume
// You can use k, m, g, t or e for 2^10, 2^20, 2^30, 2^40 or 2^50
// byte units, SI prefixes are not supported (because extents have to
// be multiples of two)
- maxUsedSpace = 2G
+ maxUsedSpace = 40M
}
- pv "disk-2" {
- tier = 2
- pinningScore = 1000
- path = /dev/sdb1
- maxUsedSpace = 20G
- }
-
- // the basic device doesn't need scoreAdditive or maxUsedSpace (or rather
+ // the basic device doesn't need pinningScore or maxUsedSpace (or rather
// has the defaults of 0 and -1)
- pv "disk-3" {
- tier = 3
- pinningScore = 0
- path = /dev/sdc1
+ pv "disk-2" {
+ tier = 1
+ path = /dev/md126
}
}

0 comments on commit 9252a13

Please sign in to comment.
Something went wrong with that request. Please try again.