sr-scripts 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/sr-start-slave +2 -1
- data/lib/sr-scripts/version.rb +1 -1
- metadata +4 -4
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
|
-
|
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
|
data/lib/sr-scripts/version.rb
CHANGED
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
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-
|
18
|
+
date: 2011-02-23 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|