--=-Y64HBS9PyTFj3Id7Uol1
Content-Type: multipart/alternative; boundary="=-VOwXxmsV44gjJMcDeOV9"
--=-VOwXxmsV44gjJMcDeOV9
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
I was able to recreate the dom_md/ids file using the provided
instructions. The data center and gluster storage are active. Thank
you.
Cameron
On Sat, 2016-02-20 at 00:24 +0200, Nir Soffer wrote:
On Fri, Feb 19, 2016 at 11:54 PM, Cameron Christensen
<cameron.christensen(a)uk2group.com> wrote:
> I cannot put the gluster domain into maintenance. I'm believe this
> is
> because the data center has a status of Non responsive (because a
> host
> cannot connect to storage or start SPM). The only option available
> on the
> gluster storage is activate. I have put all the hosts into
> maintenance. Is
> this enough to continue with the initialize lockspace step?
=20
Yes, if all hosts are in maintenance, no host will access the gluster
storage domain, and you can repair is safely.
=20
>=20
> On Fri, 2016-02-19 at 23:34 +0200, Nir Soffer wrote:
>=20
> On Fri, Feb 19, 2016 at 10:58 PM, Cameron Christensen
> <cameron.christensen(a)uk2group.com> wrote:
>=20
> Hello,
>=20
> I am using glusterfs storage and ran into a split-brain issue. One
> of the
> file affected by split-brain was dom_md/ids. In attempts to fix the
> split-brain issue I deleted the dom_md/ids file. Is there a method
> to
> recreate or reconstruct this file?
>=20
>=20
> You can do this:
>=20
> 1. Put the gluster domain to maintenance (via engine)
>=20
> No host should access it while you reconstruct the ids file
>=20
> 2. Mount the gluster volume manually
>=20
> mkdir repair
> mount -t glusterfs <server>:/<path> repair/
>=20
> 3. Create the file:
>=20
> touch repair/<sd_uuid>/dom_md/ids
>=20
> 4. Initialize the lockspace
>=20
> sanlock direct init -s <sd_uuid>:0:repair/<sd_uuid>/dom_md/ids:0
>=20
> 5. Unmount the gluster volume
>=20
> umount repair
>=20
> 6. Activate the gluster domain (via engine)
>=20
> The domain should become active after a while.
>=20
>=20
> David: can you confirm this is the best way to reconstruct the ids
> file?
>=20
> Nir
--=-VOwXxmsV44gjJMcDeOV9
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<html><head></head><body><div>I was able to recreate the
dom_md/ids file us=
ing the provided instructions. The data center and gluster storage are acti=
ve. Thank
you.</div><div><br></div><div>Cameron</div><div><br></div><div>On=
Sat, 2016-02-20 at 00:24 +0200, Nir Soffer wrote:</div><blockquote type=3D=
"cite"><pre>On Fri, Feb 19, 2016 at 11:54 PM, Cameron Christensen
<<a
href=3D"mailto:cameron.christensen@uk2group.com">cameron.christensen=
@uk2group.com</a>> wrote:
<blockquote type=3D"cite">
I cannot put the gluster domain into maintenance. I'm believe this is
because the data center has a status of Non responsive (because a host
cannot connect to storage or start SPM). The only option available on the
gluster storage is activate. I have put all the hosts into maintenance. Is
this enough to continue with the initialize lockspace step?
</blockquote>
Yes, if all hosts are in maintenance, no host will access the gluster
storage domain, and you can repair is safely.
<blockquote type=3D"cite">
On Fri, 2016-02-19 at 23:34 +0200, Nir Soffer wrote:
On Fri, Feb 19, 2016 at 10:58 PM, Cameron Christensen
<<a
href=3D"mailto:cameron.christensen@uk2group.com">cameron.christensen=
@uk2group.com</a>> wrote:
Hello,
I am using glusterfs storage and ran into a split-brain issue. One of the
file affected by split-brain was dom_md/ids. In attempts to fix the
split-brain issue I deleted the dom_md/ids file. Is there a method to
recreate or reconstruct this file?
You can do this:
1. Put the gluster domain to maintenance (via engine)
No host should access it while you reconstruct the ids file
2. Mount the gluster volume manually
mkdir repair
mount -t glusterfs <server>:/<path> repair/
3. Create the file:
touch repair/<sd_uuid>/dom_md/ids
4. Initialize the lockspace
sanlock direct init -s
<sd_uuid>:0:repair/<sd_uuid>/dom_md/ids:=
0
5. Unmount the gluster volume
umount repair
6. Activate the gluster domain (via engine)
The domain should become active after a while.
David: can you confirm this is the best way to reconstruct the ids file?
Nir
</blockquote></pre></blockquote></body></html>
--=-VOwXxmsV44gjJMcDeOV9--
--=-Y64HBS9PyTFj3Id7Uol1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJWx5t3AAoJEM1PCzopIAOt3FQH/jN7Db9O1r83C4up1XaEZpvn
Iq1cex1iH0TtOtwWmFElA6iW/9wUL3IfD3rgxHFwk+NOMYvidH1towCKww6UucVO
nqF/9mvAiKjS1KD7JG7VOxKrcww2Q7KQMFYSTiaqSOFQGrTlD4Zt2767aYc4Xeln
H9F4tnk21A3ceU9NAWCVRwQi2xiNaRHJCqzCRK1M/wM1EBzCQDRhLBtJka5mbOd9
RrvAuor7zEu64i9bMpnKZc0BwzFFDahNxlmUqT2rs4cU3lwqpgRx66UgoSuQUppx
3Zt/CObzMFqLrqSlDDf39JDyTBwKaGSkJDtHKgXLnPZLArECbMmyPsr+Oted8S8=
=pWig
-----END PGP SIGNATURE-----
--=-Y64HBS9PyTFj3Id7Uol1--