mirror of
https://github.com/ewwhite/zfs-ha.git
synced 2026-05-15 14:16:09 -06:00
[GH-ISSUE #17] Getting error of resource create #18
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/zfs-ha#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cai on GitHub (Apr 29, 2018).
Original GitHub issue: https://github.com/ewwhite/zfs-ha/issues/17
Hi,
I'm following the steps to here and got errors:
[root@rhino-nfs-3-1 ~]# pcs resource create pool1 ZFS params pool="pool1" importargs="-d /dev/mapper/" op start timeout="90" op stop timeout="90" --group=nfsgrp
Error: missing value of 'params' option
CentOS7.4, ZFS 0.7.8
Thanks,
-H
@ewwhite commented on GitHub (Apr 29, 2018):
Hello. Did you create the ZFS zpool yet?
If so, what is the ZFS zpool's name and what command did you use to create it?
@cai commented on GitHub (Apr 29, 2018):
Thank you for getting back to me.
Yes I created zpool:
[root@rhino-nfs-3-1 ~]# zpool status
pool: pool1
state: ONLINE
scan: none requested
config:
errors: No known data errors
@cai commented on GitHub (Apr 29, 2018):
Here is the command I used:
% zpool create pool1 -f -o ashift=12 raidz2 35000cca024a2089c 35000cca024a203a0 35000cca024a1521c 35000cca024a3e008
@ewwhite commented on GitHub (Apr 29, 2018):
Create the ZFS pool with
-o cachefile=none- that part is critical.For the PCS resource, go ahead and try it without the "params" keyword.