[GH-ISSUE #17] Getting error of resource create #18

Open
opened 2026-05-05 03:28:59 -06:00 by gitea-mirror · 4 comments
Owner

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

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
Author
Owner

@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?

<!-- gh-comment-id:385262799 --> @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?
Author
Owner

@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:

    NAME                   STATE     READ WRITE CKSUM
    pool1                  ONLINE       0     0     0
      raidz2-0             ONLINE       0     0     0
        35000cca024a2089c  ONLINE       0     0     0
        35000cca024a203a0  ONLINE       0     0     0
        35000cca024a1521c  ONLINE       0     0     0
        35000cca024a3e008  ONLINE       0     0     0

errors: No known data errors

<!-- gh-comment-id:385272487 --> @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: NAME STATE READ WRITE CKSUM pool1 ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 35000cca024a2089c ONLINE 0 0 0 35000cca024a203a0 ONLINE 0 0 0 35000cca024a1521c ONLINE 0 0 0 35000cca024a3e008 ONLINE 0 0 0 errors: No known data errors
Author
Owner

@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

<!-- gh-comment-id:385272544 --> @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
Author
Owner

@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.

<!-- gh-comment-id:385280223 --> @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.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/zfs-ha#18
No description provided.