-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VG <vg_name> init failed: invalid parameters for sanlock #203
Comments
Can you get any more information by adding a '--verbose' flag? Please share
your /etc/lvm/lvm.conf file and any parameters used when starting sanlock.
…--Marc
On Wed, Sep 27, 2017 at 3:41 PM, axxana ***@***.***> wrote:
Hi,
Sanlock and lvmlockd are running on my system.
When trying to create a shared VG (vgcreate --shared <vg_name> /dev/sdb1
/dev/sdc1) I receive the following errors
*VG <vg_name> init failed: invalid parameters for sanlock. Failed to
initialize lock args for lock type sanlock*
What are the invalid parameters? How should they be sent?
Please advise.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#203>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFkL3ggoM4w0j7iltp1nJ4pQWtlyqD0oks5smqTUgaJpZM4PmStN>
.
|
Also any relevant log lines in /var/log/ (perhaps /var/log/sanlock.log if
it is generated).
On Thu, Sep 28, 2017 at 11:49 AM, Marc Smith <[email protected]>
wrote:
… Can you get any more information by adding a '--verbose' flag? Please
share your /etc/lvm/lvm.conf file and any parameters used when starting
sanlock.
--Marc
On Wed, Sep 27, 2017 at 3:41 PM, axxana ***@***.***> wrote:
> Hi,
> Sanlock and lvmlockd are running on my system.
> When trying to create a shared VG (vgcreate --shared <vg_name> /dev/sdb1
> /dev/sdc1) I receive the following errors
>
> *VG <vg_name> init failed: invalid parameters for sanlock. Failed to
> initialize lock args for lock type sanlock*
>
> What are the invalid parameters? How should they be sent?
>
> Please advise.
>
> Thanks.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#203>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AFkL3ggoM4w0j7iltp1nJ4pQWtlyqD0oks5smqTUgaJpZM4PmStN>
> .
>
|
VGCREATE with --verbose No PV label found on /dev/vglock/locklv. |
/var/log/sanlock.log 2017-09-29 20:24:25 179338 [5835]: sanlock daemon started 3.5.0 host b8d64a1d-e3d3-44d7-985a-949bd1266d13.ubuntu16-1 |
I also added the LV to activation/volume_list Thanks. |
Does the 'lock_type' parameter need to be updated? Is lvmlockd running? Have you read the man page for lvmlockd yet -- it talks quite a bit about sanlock and needing a special VG for it... maybe that's what you're trying to create now. There is currently a GH issue open for adding sanlock support. --Marc |
I get the same error with or without --lock-type. #Create the lock VG #Craete the shared VG Thanks a lot. |
Huh, systemctl? You're not using ESOS? In either case, I'd go to the
linux-lvm mailing list and inquire on usage. We haven't added support for
sanlock to ESOS yet, and haven't QA'd it even on a different Linux distro
yet.
…--Marc
On Tue, Oct 3, 2017 at 10:07 PM, axxana ***@***.***> wrote:
I get the same error with or without --lock-type.
I read the manual. Here's my script. Any comments?
#Create the lock VG
vgcreate ff --config global/use_lvmlockd=0 vglock /dev/sdb2
lvcreate -n locklv -L 10MB vglock
systemctl start sanlock
lvmlockd -g sanlock --host-id 1
systemctl status sanlock
sanlock direct init -s lsgl:1:/dev/vglock/locklv:0
#Craete the shared VG
pvcreate -ff --config global/use_lvmlockd=0 /dev/sdb1 /dev/sdc1
vgcreate --verbose --shared vg1 /dev/sdb1 /dev/sdc1 --lock-type sanlock
Thanks a lot.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#203 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFkL3owlqr_MeLV3NkltxaUPaiJKxKrhks5souh2gaJpZM4PmStN>
.
|
Will do, thanks a lot! |
Do you have an estimation when the support for sanlock in ESOS will be released? |
I'm curious... why and how would use sanlock in a dual-head ESOS array
(cluster) vs. the standard/supported methods (the Linux cluster stack)? It
is something we'd like to add support for eventually... it's worth
mentioning that Parodyne customers do get preference for new ESOS features
if you're interested: https://www.parodyne.com/init/products/support
…--Marc
On Tue, Oct 10, 2017 at 1:16 PM, axxana ***@***.***> wrote:
Reopened #203 <#203>.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#203 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFkL3kKllPhsYLVhZB2HDg8oxx0OqEMRks5sq6Z9gaJpZM4PmStN>
.
|
Issue #202 already exists for the sanlock enhancement request, so we'll close this one. |
Hi,
Sanlock and lvmlockd are running on my system.
When trying to create a shared VG (vgcreate --shared <vg_name> /dev/sdb1 /dev/sdc1) I receive the following errors
VG <vg_name> init failed: invalid parameters for sanlock.
Failed to initialize lock args for lock type sanlock
What are the invalid parameters? How should they be sent?
Please advise.
Thanks.
The text was updated successfully, but these errors were encountered: