sr-scripts 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/bin/sr-start-slave CHANGED
@@ -120,7 +120,8 @@ sleep 15
120
120
  # NEED TO FIND OUT IF NUMBER OF DISKS IS GREATER THAN 1, IF SO, THEN use mdadm to create an array and mount, if not, then just mount
121
121
  if latest_snapshots.length > 1
122
122
  `/sbin/mdadm --assemble /dev/md0 #{master_disks.join(' ')}`
123
- `mount -t xfs /dev/md0 /mnt/mysql`
123
+ `/sbin/blockdev --setra 65536 /dev/md0`
124
+ `mount -o noatime -t xfs /dev/md0 /mnt/mysql`
124
125
  else
125
126
  # `mount -t xfs /dev/md0 /mnt/mysql`
126
127
  end
@@ -1,5 +1,5 @@
1
1
  module Sr
2
2
  module Scripts
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sr-scripts
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Davy Campano
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-22 00:00:00 -05:00
18
+ date: 2011-02-23 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies: []
21
21