sr-scripts 0.1.6 → 0.1.7
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 +4 -3
- data/lib/sr-scripts/version.rb +1 -1
- metadata +3 -3
data/bin/sr-start-slave
CHANGED
@@ -130,9 +130,10 @@ end
|
|
130
130
|
`mkdir /mnt/mysql`
|
131
131
|
# 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
|
132
132
|
if latest_snapshots.length > 1
|
133
|
-
|
134
|
-
|
135
|
-
|
133
|
+
#`/sbin/mdadm --assemble /dev/md0 #{master_disks.join(' ')}`
|
134
|
+
# mdadm should already start the array as /dev/md127
|
135
|
+
`/sbin/blockdev --setra 65536 /dev/md127`
|
136
|
+
`mount -o noatime -t xfs /dev/md127 /mnt/mysql`
|
136
137
|
else
|
137
138
|
# `mount -t xfs /dev/md0 /mnt/mysql`
|
138
139
|
end
|
data/lib/sr-scripts/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 7
|
9
|
+
version: 0.1.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Davy Campano
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2012-03-20 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|