[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-fs
Subject:    How to handle message "provider hast/data has error 6 set"
From:       Bill Yuan <bycn82 () gmail ! com>
Date:       2022-07-29 3:05:59
Message-ID: CAC+JH2zAKq1G5efG0k=8rysZL4J3v0zZbCyA+wP-YYeKfxN6Lw () mail ! gmail ! com
[Download RAW message or body]

Hello,

I am trying to build a HA across 2 machines, but I am facing some
challenges and failed to get more explanations/answers from the internet.

What I did is a simple failover which means switching the secondary to
primary, and primary to secondary.

I noticed the status is "complete" on both machines, But, the device
/dev/hast/data is not founded on the primary machine. (data is the resource
name).

After a while, I restarted the hastd service, and I saw these error
messages. and a few seconds later, the /dev/hast/data appear.

g_access(961): provider hast/data has error 6 set
g_access(961): provider hast/data has error 6 set
g_access(961): provider hast/data has error 6 set

So, I got below questions need your help.
Q1. When the status is "complete", does it mean the information in the
block device is exactly the same on both machines?
Q2. If everything is correct, the /dev/hast/data should appear after the
status changed to primary, and does the partition size impact the time (I
meant, the duration between the status changed and the /dev/hast/data
appearing).
Q3. Is it correct that the /dev/hast/data may not appear due to some issue?
and is there any way to check whether any issue there?
Q4. As mentioned in the beginning, I restarted the hastd service and saw
that error message. My question is, what is the proper way to recover from
that situation?

Thanks!

Regards,
Bill Yuan

[Attachment #3 (text/html)]

<div dir="ltr"><div class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Hello,</div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><br></div><div \
class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,0)">I am \
trying to build a HA across 2 machines, but I am facing some challenges and failed to \
get more explanations/answers from the internet.  </div><div class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><br></div><div \
class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,0)">What I \
did is a simple failover which means switching the secondary to primary, and primary \
to secondary.</div><div class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><br></div><div \
class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,0)">I \
noticed the status is &quot;complete&quot; on both machines, But, the device \
/dev/hast/data is not founded on the primary machine. (data is the resource name).  \
</div><div class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><br></div><div \
class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,0)">After a \
while, I restarted the hastd service, and I saw these error messages. and a few \
seconds later, the /dev/hast/data appear.</div><div class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><br></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)">g_access(961): provider \
hast/data has error 6 set<br>g_access(961): provider hast/data has error 6 \
set<br>g_access(961): provider hast/data has error 6 set<br></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><br></div><div \
class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,0)">So, I \
got below questions need your help.</div><div class="gmail_default" \
style="font-family:verdana,sans-serif"><span \
style="background-color:rgb(255,255,255)"><font color="#0000ff">Q1. When the status \
is &quot;complete&quot;, does it mean the information in the block device is exactly \
the same on both machines?</font></span></div><div class="gmail_default" \
style="font-family:verdana,sans-serif"><span \
style="background-color:rgb(255,255,255)"><font color="#0000ff">Q2. If everything is \
correct, the /dev/hast/data should appear after the status changed to primary, and \
does the partition size impact the time (I meant, the duration between the status \
changed and the /dev/hast/data appearing).<br>Q3. Is it correct that the \
/dev/hast/data may not appear due to some issue? and is there any way to check \
whether any issue there?<br>Q4. As mentioned in the beginning, I restarted the hastd \
service and saw that error message. My question is, what is the proper way to recover \
from that situation?</font></span></div><div class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><br></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Thanks!</div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><br></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Regards,</div><div \
class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Bill \
Yuan</div><div class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small;color:#000000"><br></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small;color:#000000"><br></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small;color:#000000"><br></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small;color:#000000"><br></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small;color:#000000"><br></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small;color:#000000"><br></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small;color:#000000"><br></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic