Hi everyone, I have received existing corrupted GPFS 4.2.2 lab and I am trying to make it work. There are 2 nodes in a cluster: [root@LH20-GPFS1 ~]# mmgetstate -a Node number Node name GPFS state ------------------------------------------ 1 LH20-GPFS1 active 3 LH20-GPFS2 active The Cluster status is: [root@LH20-GPFS1 ~]# mmlscluster GPFS cluster information ======================== GPFS cluster name: MyCluster.LH20-GPFS2 GPFS cluster id: 10777108240438931454 GPFS UID domain: MyCluster.LH20-GPFS2 Remote shell command: /usr/bin/ssh Remote file copy command: /usr/bin/scp Repository type: CCR Node Daemon node name IP address Admin node name Designation -------------------------------------------------------------------- 1 LH20-GPFS1 10.10.158.61 LH20-GPFS1 quorum-manager 3 LH20-GPFS2 10.10.158.62 LH20-GPFS2 There is a file system: [root@LH20-GPFS1 ~]# mmlsnsd File system Disk name NSD servers --------------------------------------------------------------------------- fs_gpfs01 nynsd1 (directly attached) fs_gpfs01 nynsd2 (directly attached) [root@LH20-GPFS1 ~]# On each Node, There is folder /fs_gpfs01 The next step is to mount this fs_gpfs01 to be synced between the 2 nodes. Whilte executing mmmount i get exception: [root@LH20-GPFS1 ~]# mmmount /fs_gpfs01 Tue Jul 4 11:14:18 IDT 2017: mmmount: Mounting file systems ... mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmmount: Command failed. Examine previous error messages to determine cause. What am i doing wrong ?
What exactly do you mean by "I have received existing corrupted GPFS 4.2.2 lab"? Is the file system corrupted ? Maybe this error is then due to file system corruption. Can you once try: mmmount fs_gpfs01 -a If this does not work then try: mmmount -o rs fs_gpfs01 Let me know which mount is working. Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0... . If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. From: Ilan Schwarts <ilan84@gmail.com> To: gpfsug-discuss@spectrumscale.org Date: 07/04/2017 01:47 PM Subject: [gpfsug-discuss] Fail to mount file system Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi everyone, I have received existing corrupted GPFS 4.2.2 lab and I am trying to make it work. There are 2 nodes in a cluster: [root@LH20-GPFS1 ~]# mmgetstate -a Node number Node name GPFS state ------------------------------------------ 1 LH20-GPFS1 active 3 LH20-GPFS2 active The Cluster status is: [root@LH20-GPFS1 ~]# mmlscluster GPFS cluster information ======================== GPFS cluster name: MyCluster.LH20-GPFS2 GPFS cluster id: 10777108240438931454 GPFS UID domain: MyCluster.LH20-GPFS2 Remote shell command: /usr/bin/ssh Remote file copy command: /usr/bin/scp Repository type: CCR Node Daemon node name IP address Admin node name Designation -------------------------------------------------------------------- 1 LH20-GPFS1 10.10.158.61 LH20-GPFS1 quorum-manager 3 LH20-GPFS2 10.10.158.62 LH20-GPFS2 There is a file system: [root@LH20-GPFS1 ~]# mmlsnsd File system Disk name NSD servers --------------------------------------------------------------------------- fs_gpfs01 nynsd1 (directly attached) fs_gpfs01 nynsd2 (directly attached) [root@LH20-GPFS1 ~]# On each Node, There is folder /fs_gpfs01 The next step is to mount this fs_gpfs01 to be synced between the 2 nodes. Whilte executing mmmount i get exception: [root@LH20-GPFS1 ~]# mmmount /fs_gpfs01 Tue Jul 4 11:14:18 IDT 2017: mmmount: Mounting file systems ... mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmmount: Command failed. Examine previous error messages to determine cause. What am i doing wrong ? _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
I mean the person tried to configure it... didnt do good job so now its me to continue On Jul 4, 2017 11:37, "IBM Spectrum Scale" <scale@us.ibm.com> wrote:
What exactly do you mean by "I have received existing corrupted GPFS 4.2.2 lab"? Is the file system corrupted ? Maybe this error is then due to file system corruption.
Can you once try: mmmount fs_gpfs01 -a If this does not work then try: mmmount -o rs fs_gpfs01
Let me know which mount is working.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------ ------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/ forums/html/forum?id=11111111-0000-0000-0000-000000000479.
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
From: Ilan Schwarts <ilan84@gmail.com> To: gpfsug-discuss@spectrumscale.org Date: 07/04/2017 01:47 PM Subject: [gpfsug-discuss] Fail to mount file system Sent by: gpfsug-discuss-bounces@spectrumscale.org ------------------------------
Hi everyone, I have received existing corrupted GPFS 4.2.2 lab and I am trying to make it work. There are 2 nodes in a cluster: [root@LH20-GPFS1 ~]# mmgetstate -a
Node number Node name GPFS state ------------------------------------------ 1 LH20-GPFS1 active 3 LH20-GPFS2 active
The Cluster status is: [root@LH20-GPFS1 ~]# mmlscluster
GPFS cluster information ======================== GPFS cluster name: MyCluster.LH20-GPFS2 GPFS cluster id: 10777108240438931454 GPFS UID domain: MyCluster.LH20-GPFS2 Remote shell command: /usr/bin/ssh Remote file copy command: /usr/bin/scp Repository type: CCR
Node Daemon node name IP address Admin node name Designation -------------------------------------------------------------------- 1 LH20-GPFS1 10.10.158.61 LH20-GPFS1 quorum-manager 3 LH20-GPFS2 10.10.158.62 LH20-GPFS2
There is a file system: [root@LH20-GPFS1 ~]# mmlsnsd
File system Disk name NSD servers ------------------------------------------------------------ --------------- fs_gpfs01 nynsd1 (directly attached) fs_gpfs01 nynsd2 (directly attached)
[root@LH20-GPFS1 ~]#
On each Node, There is folder /fs_gpfs01 The next step is to mount this fs_gpfs01 to be synced between the 2 nodes. Whilte executing mmmount i get exception: [root@LH20-GPFS1 ~]# mmmount /fs_gpfs01 Tue Jul 4 11:14:18 IDT 2017: mmmount: Mounting file systems ... mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmmount: Command failed. Examine previous error messages to determine cause.
What am i doing wrong ? _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
[root@LH20-GPFS1 ~]# mmmount fs_gpfs01 -a Tue Jul 4 13:52:07 IDT 2017: mmmount: Mounting file systems ... LH20-GPFS1: mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmdsh: LH20-GPFS1 remote shell process had return code 32. LH20-GPFS2: mount: mount fs_gpfs01 on /fs_gpfs01 failed: Stale file handle mmdsh: LH20-GPFS2 remote shell process had return code 32. mmmount: Command failed. Examine previous error messages to determine cause. [root@LH20-GPFS1 ~]# mmmount -o rs /fs_gpfs01 mmmount: Mount point can not be a relative path name: rs [root@LH20-GPFS1 ~]# mmmount -o rs fs_gpfs01 mmmount: Mount point can not be a relative path name: rs I recieve in "dmesg": [ 18.338044] sd 2:0:0:1: [sdc] Attached SCSI disk [ 141.363422] hvt_cn_callback: unexpected netlink message! [ 141.366153] hvt_cn_callback: unexpected netlink message! [ 4479.292850] tracedev: loading out-of-tree module taints kernel. [ 4479.292888] tracedev: module verification failed: signature and/or required key missing - tainting kernel [ 4482.928413] ------------[ cut here ]------------ [ 4482.928445] WARNING: at fs/xfs/xfs_aops.c:906 xfs_do_writepage+0x537/0x550 [xfs]() [ 4482.928446] Modules linked in: mmfs26(OE) mmfslinux(OE) tracedev(OE) iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ext4 mbcache jbd2 loop intel_powerclamp iosf_mbi sg pcspkr hv_utils i2c_piix4 i2c_core nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_common ata_generic pata_acpi hv_netvsc hyperv_keyboard hid_hyperv hv_storvsc hyperv_fb serio_raw fjes floppy libata hv_vmbus dm_mirror dm_region_hash dm_log dm_mod [ 4482.928471] CPU: 1 PID: 15210 Comm: mmfsd Tainted: G OE ------------ 3.10.0-514.21.2.el7.x86_64 #1 On Tue, Jul 4, 2017 at 11:36 AM, IBM Spectrum Scale <scale@us.ibm.com> wrote:
What exactly do you mean by "I have received existing corrupted GPFS 4.2.2 lab"? Is the file system corrupted ? Maybe this error is then due to file system corruption.
Can you once try: mmmount fs_gpfs01 -a If this does not work then try: mmmount -o rs fs_gpfs01
Let me know which mount is working.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0....
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
From: Ilan Schwarts <ilan84@gmail.com> To: gpfsug-discuss@spectrumscale.org Date: 07/04/2017 01:47 PM Subject: [gpfsug-discuss] Fail to mount file system Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________
Hi everyone, I have received existing corrupted GPFS 4.2.2 lab and I am trying to make it work. There are 2 nodes in a cluster: [root@LH20-GPFS1 ~]# mmgetstate -a
Node number Node name GPFS state ------------------------------------------ 1 LH20-GPFS1 active 3 LH20-GPFS2 active
The Cluster status is: [root@LH20-GPFS1 ~]# mmlscluster
GPFS cluster information ======================== GPFS cluster name: MyCluster.LH20-GPFS2 GPFS cluster id: 10777108240438931454 GPFS UID domain: MyCluster.LH20-GPFS2 Remote shell command: /usr/bin/ssh Remote file copy command: /usr/bin/scp Repository type: CCR
Node Daemon node name IP address Admin node name Designation -------------------------------------------------------------------- 1 LH20-GPFS1 10.10.158.61 LH20-GPFS1 quorum-manager 3 LH20-GPFS2 10.10.158.62 LH20-GPFS2
There is a file system: [root@LH20-GPFS1 ~]# mmlsnsd
File system Disk name NSD servers --------------------------------------------------------------------------- fs_gpfs01 nynsd1 (directly attached) fs_gpfs01 nynsd2 (directly attached)
[root@LH20-GPFS1 ~]#
On each Node, There is folder /fs_gpfs01 The next step is to mount this fs_gpfs01 to be synced between the 2 nodes. Whilte executing mmmount i get exception: [root@LH20-GPFS1 ~]# mmmount /fs_gpfs01 Tue Jul 4 11:14:18 IDT 2017: mmmount: Mounting file systems ... mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmmount: Command failed. Examine previous error messages to determine cause.
What am i doing wrong ? _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- - Ilan Schwarts
My bad gave the wrong command, the right one is: mmmount fs_gpfs01 -o rs Also can you send output of mmlsnsd -X, need to check device type of the NSDs. Are you ok with deleting the file system and disks and building everything from scratch? Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0... . If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. From: Ilan Schwarts <ilan84@gmail.com> To: IBM Spectrum Scale <scale@us.ibm.com> Cc: gpfsug-discuss-bounces@spectrumscale.org, gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 07/04/2017 04:26 PM Subject: Re: [gpfsug-discuss] Fail to mount file system [root@LH20-GPFS1 ~]# mmmount fs_gpfs01 -a Tue Jul 4 13:52:07 IDT 2017: mmmount: Mounting file systems ... LH20-GPFS1: mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmdsh: LH20-GPFS1 remote shell process had return code 32. LH20-GPFS2: mount: mount fs_gpfs01 on /fs_gpfs01 failed: Stale file handle mmdsh: LH20-GPFS2 remote shell process had return code 32. mmmount: Command failed. Examine previous error messages to determine cause. [root@LH20-GPFS1 ~]# mmmount -o rs /fs_gpfs01 mmmount: Mount point can not be a relative path name: rs [root@LH20-GPFS1 ~]# mmmount -o rs fs_gpfs01 mmmount: Mount point can not be a relative path name: rs I recieve in "dmesg": [ 18.338044] sd 2:0:0:1: [sdc] Attached SCSI disk [ 141.363422] hvt_cn_callback: unexpected netlink message! [ 141.366153] hvt_cn_callback: unexpected netlink message! [ 4479.292850] tracedev: loading out-of-tree module taints kernel. [ 4479.292888] tracedev: module verification failed: signature and/or required key missing - tainting kernel [ 4482.928413] ------------[ cut here ]------------ [ 4482.928445] WARNING: at fs/xfs/xfs_aops.c:906 xfs_do_writepage+0x537/0x550 [xfs]() [ 4482.928446] Modules linked in: mmfs26(OE) mmfslinux(OE) tracedev(OE) iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ext4 mbcache jbd2 loop intel_powerclamp iosf_mbi sg pcspkr hv_utils i2c_piix4 i2c_core nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_common ata_generic pata_acpi hv_netvsc hyperv_keyboard hid_hyperv hv_storvsc hyperv_fb serio_raw fjes floppy libata hv_vmbus dm_mirror dm_region_hash dm_log dm_mod [ 4482.928471] CPU: 1 PID: 15210 Comm: mmfsd Tainted: G OE ------------ 3.10.0-514.21.2.el7.x86_64 #1 On Tue, Jul 4, 2017 at 11:36 AM, IBM Spectrum Scale <scale@us.ibm.com> wrote:
What exactly do you mean by "I have received existing corrupted GPFS 4.2.2 lab"? Is the file system corrupted ? Maybe this error is then due to file system corruption.
Can you once try: mmmount fs_gpfs01 -a If this does not work then try: mmmount -o rs fs_gpfs01
Let me know which mount is working.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------------------------------------------------------------
If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at
https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0... .
If your query concerns a potential software error in Spectrum Scale
(GPFS)
and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
From: Ilan Schwarts <ilan84@gmail.com> To: gpfsug-discuss@spectrumscale.org Date: 07/04/2017 01:47 PM Subject: [gpfsug-discuss] Fail to mount file system Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________
Hi everyone, I have received existing corrupted GPFS 4.2.2 lab and I am trying to make it work. There are 2 nodes in a cluster: [root@LH20-GPFS1 ~]# mmgetstate -a
Node number Node name GPFS state ------------------------------------------ 1 LH20-GPFS1 active 3 LH20-GPFS2 active
The Cluster status is: [root@LH20-GPFS1 ~]# mmlscluster
GPFS cluster information ======================== GPFS cluster name: MyCluster.LH20-GPFS2 GPFS cluster id: 10777108240438931454 GPFS UID domain: MyCluster.LH20-GPFS2 Remote shell command: /usr/bin/ssh Remote file copy command: /usr/bin/scp Repository type: CCR
Node Daemon node name IP address Admin node name Designation -------------------------------------------------------------------- 1 LH20-GPFS1 10.10.158.61 LH20-GPFS1 quorum-manager 3 LH20-GPFS2 10.10.158.62 LH20-GPFS2
There is a file system: [root@LH20-GPFS1 ~]# mmlsnsd
File system Disk name NSD servers
---------------------------------------------------------------------------
fs_gpfs01 nynsd1 (directly attached) fs_gpfs01 nynsd2 (directly attached)
[root@LH20-GPFS1 ~]#
On each Node, There is folder /fs_gpfs01 The next step is to mount this fs_gpfs01 to be synced between the 2 nodes. Whilte executing mmmount i get exception: [root@LH20-GPFS1 ~]# mmmount /fs_gpfs01 Tue Jul 4 11:14:18 IDT 2017: mmmount: Mounting file systems ... mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmmount: Command failed. Examine previous error messages to determine cause.
What am i doing wrong ? _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- - Ilan Schwarts
Yes I am ok with deleting. I follow a guide from john olsen at the ibm team from tuscon.. but the guide had steps after the gpfs setup... Is there step by step guide for gpfs cluster setup other than the one in the ibm site? Thank My bad gave the wrong command, the right one is: mmmount fs_gpfs01-o rs Also can you send output of mmlsnsd -X, need to check device type of the NSDs. Are you ok with deleting the file system and disks and building everything from scratch? Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------ ------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111- 0000-0000-0000-000000000479. If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. From: Ilan Schwarts <ilan84@gmail.com> To: IBM Spectrum Scale <scale@us.ibm.com> Cc: gpfsug-discuss-bounces@spectrumscale.org, gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 07/04/2017 04:26 PM Subject: Re: [gpfsug-discuss] Fail to mount file system ------------------------------ [root@LH20-GPFS1 ~]# mmmount fs_gpfs01 -a Tue Jul 4 13:52:07 IDT 2017: mmmount: Mounting file systems ... LH20-GPFS1: mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmdsh: LH20-GPFS1 remote shell process had return code 32. LH20-GPFS2: mount: mount fs_gpfs01 on /fs_gpfs01 failed: Stale file handle mmdsh: LH20-GPFS2 remote shell process had return code 32. mmmount: Command failed. Examine previous error messages to determine cause. [root@LH20-GPFS1 ~]# mmmount -o rs /fs_gpfs01 mmmount: Mount point can not be a relative path name: rs [root@LH20-GPFS1 ~]# mmmount -o rs fs_gpfs01 mmmount: Mount point can not be a relative path name: rs I recieve in "dmesg": [ 18.338044] sd 2:0:0:1: [sdc] Attached SCSI disk [ 141.363422] hvt_cn_callback: unexpected netlink message! [ 141.366153] hvt_cn_callback: unexpected netlink message! [ 4479.292850] tracedev: loading out-of-tree module taints kernel. [ 4479.292888] tracedev: module verification failed: signature and/or required key missing - tainting kernel [ 4482.928413] ------------[ cut here ]------------ [ 4482.928445] WARNING: at fs/xfs/xfs_aops.c:906 xfs_do_writepage+0x537/0x550 [xfs]() [ 4482.928446] Modules linked in: mmfs26(OE) mmfslinux(OE) tracedev(OE) iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ext4 mbcache jbd2 loop intel_powerclamp iosf_mbi sg pcspkr hv_utils i2c_piix4 i2c_core nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_common ata_generic pata_acpi hv_netvsc hyperv_keyboard hid_hyperv hv_storvsc hyperv_fb serio_raw fjes floppy libata hv_vmbus dm_mirror dm_region_hash dm_log dm_mod [ 4482.928471] CPU: 1 PID: 15210 Comm: mmfsd Tainted: G OE ------------ 3.10.0-514.21.2.el7.x86_64 #1 On Tue, Jul 4, 2017 at 11:36 AM, IBM Spectrum Scale <scale@us.ibm.com> wrote:
What exactly do you mean by "I have received existing corrupted GPFS 4.2.2 lab"? Is the file system corrupted ? Maybe this error is then due to file system corruption.
Can you once try: mmmount fs_gpfs01 -a If this does not work then try: mmmount -o rs fs_gpfs01
Let me know which mount is working.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------
If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/ forums/html/forum?id=11111111-0000-0000-0000-000000000479.
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
From: Ilan Schwarts <ilan84@gmail.com> To: gpfsug-discuss@spectrumscale.org Date: 07/04/2017 01:47 PM Subject: [gpfsug-discuss] Fail to mount file system Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________
Hi everyone, I have received existing corrupted GPFS 4.2.2 lab and I am trying to make it work. There are 2 nodes in a cluster: [root@LH20-GPFS1 ~]# mmgetstate -a
Node number Node name GPFS state ------------------------------------------ 1 LH20-GPFS1 active 3 LH20-GPFS2 active
The Cluster status is: [root@LH20-GPFS1 ~]# mmlscluster
GPFS cluster information ======================== GPFS cluster name: MyCluster.LH20-GPFS2 GPFS cluster id: 10777108240438931454 GPFS UID domain: MyCluster.LH20-GPFS2 Remote shell command: /usr/bin/ssh Remote file copy command: /usr/bin/scp Repository type: CCR
Node Daemon node name IP address Admin node name Designation -------------------------------------------------------------------- 1 LH20-GPFS1 10.10.158.61 LH20-GPFS1 quorum-manager 3 LH20-GPFS2 10.10.158.62 LH20-GPFS2
There is a file system: [root@LH20-GPFS1 ~]# mmlsnsd
File system Disk name NSD servers ------------------------------------------------------------
fs_gpfs01 nynsd1 (directly attached) fs_gpfs01 nynsd2 (directly attached)
[root@LH20-GPFS1 ~]#
On each Node, There is folder /fs_gpfs01 The next step is to mount this fs_gpfs01 to be synced between the 2 nodes. Whilte executing mmmount i get exception: [root@LH20-GPFS1 ~]# mmmount /fs_gpfs01 Tue Jul 4 11:14:18 IDT 2017: mmmount: Mounting file systems ... mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmmount: Command failed. Examine previous error messages to determine cause.
What am i doing wrong ? _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- - Ilan Schwarts
You can refer to the concepts, planning and installation guide at the link ( https://www.ibm.com/support/knowledgecenter/STXKQY_4.2.2/com.ibm.spectrum.sc... ) for finding detailed steps on setting up a cluster or creating a file system. Or open a PMR and work with IBM support to set it up. In your case (just as an example) you can use the below simple steps to delete and recreate the file system: 1) To delete file system and NSDs: a) Unmount file system - mmumount <fs> -a b) Delete file system - mmdelfs <fs> c) Delete NSDs - mmdelnsd "nynsd1;nynsd2" 2) To create file system with both disks in one system pool and having dataAndMetadata and data and metadata replica and directly attached to the nodes, you can use following steps: a) Create a /tmp/nsd file and fill it up with below information <Disk name>:::dataAndMetadata:1:nynsd1:system <Disk name>:::dataAndMetadata:2:nynsd2:system b) Use mmcrnsd -F /tmp/nsd to create NSDs c) Create file system using (just an example with assumptions on config) - mmcrfs /dev/fs_gpfs01 -F /tmp/nsd -A yes -B 256K -n 32 -m 2 -r 2 -T /fs_gpfs01 You can refer to above guide for configuring it in other ways as you want. If you have any issues with these steps you can raise PMR and follow proper channel to setup file system as well. Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0... . If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. From: Ilan Schwarts <ilan84@gmail.com> To: IBM Spectrum Scale <scale@us.ibm.com> Cc: gpfsug-discuss-bounces@spectrumscale.org, gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 07/04/2017 10:16 PM Subject: Re: [gpfsug-discuss] Fail to mount file system Yes I am ok with deleting. I follow a guide from john olsen at the ibm team from tuscon.. but the guide had steps after the gpfs setup... Is there step by step guide for gpfs cluster setup other than the one in the ibm site? Thank My bad gave the wrong command, the right one is: mmmount fs_gpfs01-o rs Also can you send output of mmlsnsd -X, need to check device type of the NSDs. Are you ok with deleting the file system and disks and building everything from scratch? Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0... . If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. From: Ilan Schwarts <ilan84@gmail.com> To: IBM Spectrum Scale <scale@us.ibm.com> Cc: gpfsug-discuss-bounces@spectrumscale.org, gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 07/04/2017 04:26 PM Subject: Re: [gpfsug-discuss] Fail to mount file system [root@LH20-GPFS1 ~]# mmmount fs_gpfs01 -a Tue Jul 4 13:52:07 IDT 2017: mmmount: Mounting file systems ... LH20-GPFS1: mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmdsh: LH20-GPFS1 remote shell process had return code 32. LH20-GPFS2: mount: mount fs_gpfs01 on /fs_gpfs01 failed: Stale file handle mmdsh: LH20-GPFS2 remote shell process had return code 32. mmmount: Command failed. Examine previous error messages to determine cause. [root@LH20-GPFS1 ~]# mmmount -o rs /fs_gpfs01 mmmount: Mount point can not be a relative path name: rs [root@LH20-GPFS1 ~]# mmmount -o rs fs_gpfs01 mmmount: Mount point can not be a relative path name: rs I recieve in "dmesg": [ 18.338044] sd 2:0:0:1: [sdc] Attached SCSI disk [ 141.363422] hvt_cn_callback: unexpected netlink message! [ 141.366153] hvt_cn_callback: unexpected netlink message! [ 4479.292850] tracedev: loading out-of-tree module taints kernel. [ 4479.292888] tracedev: module verification failed: signature and/or required key missing - tainting kernel [ 4482.928413] ------------[ cut here ]------------ [ 4482.928445] WARNING: at fs/xfs/xfs_aops.c:906 xfs_do_writepage+0x537/0x550 [xfs]() [ 4482.928446] Modules linked in: mmfs26(OE) mmfslinux(OE) tracedev(OE) iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ext4 mbcache jbd2 loop intel_powerclamp iosf_mbi sg pcspkr hv_utils i2c_piix4 i2c_core nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_common ata_generic pata_acpi hv_netvsc hyperv_keyboard hid_hyperv hv_storvsc hyperv_fb serio_raw fjes floppy libata hv_vmbus dm_mirror dm_region_hash dm_log dm_mod [ 4482.928471] CPU: 1 PID: 15210 Comm: mmfsd Tainted: G OE ------------ 3.10.0-514.21.2.el7.x86_64 #1 On Tue, Jul 4, 2017 at 11:36 AM, IBM Spectrum Scale <scale@us.ibm.com> wrote:
What exactly do you mean by "I have received existing corrupted GPFS 4.2.2 lab"? Is the file system corrupted ? Maybe this error is then due to file system corruption.
Can you once try: mmmount fs_gpfs01 -a If this does not work then try: mmmount -o rs fs_gpfs01
Let me know which mount is working.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------------------------------------------------------------
If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at
https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0... .
If your query concerns a potential software error in Spectrum Scale
(GPFS)
and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
From: Ilan Schwarts <ilan84@gmail.com> To: gpfsug-discuss@spectrumscale.org Date: 07/04/2017 01:47 PM Subject: [gpfsug-discuss] Fail to mount file system Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________
Hi everyone, I have received existing corrupted GPFS 4.2.2 lab and I am trying to make it work. There are 2 nodes in a cluster: [root@LH20-GPFS1 ~]# mmgetstate -a
Node number Node name GPFS state ------------------------------------------ 1 LH20-GPFS1 active 3 LH20-GPFS2 active
The Cluster status is: [root@LH20-GPFS1 ~]# mmlscluster
GPFS cluster information ======================== GPFS cluster name: MyCluster.LH20-GPFS2 GPFS cluster id: 10777108240438931454 GPFS UID domain: MyCluster.LH20-GPFS2 Remote shell command: /usr/bin/ssh Remote file copy command: /usr/bin/scp Repository type: CCR
Node Daemon node name IP address Admin node name Designation -------------------------------------------------------------------- 1 LH20-GPFS1 10.10.158.61 LH20-GPFS1 quorum-manager 3 LH20-GPFS2 10.10.158.62 LH20-GPFS2
There is a file system: [root@LH20-GPFS1 ~]# mmlsnsd
File system Disk name NSD servers
---------------------------------------------------------------------------
fs_gpfs01 nynsd1 (directly attached) fs_gpfs01 nynsd2 (directly attached)
[root@LH20-GPFS1 ~]#
On each Node, There is folder /fs_gpfs01 The next step is to mount this fs_gpfs01 to be synced between the 2 nodes. Whilte executing mmmount i get exception: [root@LH20-GPFS1 ~]# mmmount /fs_gpfs01 Tue Jul 4 11:14:18 IDT 2017: mmmount: Mounting file systems ... mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmmount: Command failed. Examine previous error messages to determine cause.
What am i doing wrong ? _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- - Ilan Schwarts
Hi, [root@LH20-GPFS2 ~]# mmlsnsd -X Disk name NSD volume ID Device Devtype Node name Remarks --------------------------------------------------------------------------------------------------- nynsd1 0A0A9E3D594D5CA8 - - LH20-GPFS2 (not found) directly attached nynsd2 0A0A9E3D594D5CA9 - - LH20-GPFS2 (not found) directly attached mmmount failed with -o rs root@LH20-GPFS2 ~]# mmmount fs_gpfs01 -o rs Wed Jul 5 09:58:29 IDT 2017: mmmount: Mounting file systems ... mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmmount: Command failed. Examine previous error messages to determine cause. and in logs /var/adm/ras/mmfs.log.latest: 2017-07-05_09:58:30.009+0300: [I] Command: mount fs_gpfs01 2017-07-05_09:58:30.890+0300: Failed to open fs_gpfs01. 2017-07-05_09:58:30.890+0300: Wrong medium type 2017-07-05_09:58:30.890+0300: [E] Failed to open fs_gpfs01. 2017-07-05_09:58:30.890+0300: [W] Command: err 48: mount fs_gpfs01
From mmlsnsd output can see that the disks are not found by gpfs (maybe some connection issue or they have been changed/removed from backend) Please open a PMR and work with IBM support to resolve this.
Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0... . If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. From: Ilan Schwarts <ilan84@gmail.com> To: IBM Spectrum Scale <scale@us.ibm.com> Cc: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>, gpfsug-discuss-bounces@spectrumscale.org Date: 07/05/2017 12:32 PM Subject: Re: [gpfsug-discuss] Fail to mount file system Hi, [root@LH20-GPFS2 ~]# mmlsnsd -X Disk name NSD volume ID Device Devtype Node name Remarks --------------------------------------------------------------------------------------------------- nynsd1 0A0A9E3D594D5CA8 - - LH20-GPFS2 (not found) directly attached nynsd2 0A0A9E3D594D5CA9 - - LH20-GPFS2 (not found) directly attached mmmount failed with -o rs root@LH20-GPFS2 ~]# mmmount fs_gpfs01 -o rs Wed Jul 5 09:58:29 IDT 2017: mmmount: Mounting file systems ... mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmmount: Command failed. Examine previous error messages to determine cause. and in logs /var/adm/ras/mmfs.log.latest: 2017-07-05_09:58:30.009+0300: [I] Command: mount fs_gpfs01 2017-07-05_09:58:30.890+0300: Failed to open fs_gpfs01. 2017-07-05_09:58:30.890+0300: Wrong medium type 2017-07-05_09:58:30.890+0300: [E] Failed to open fs_gpfs01. 2017-07-05_09:58:30.890+0300: [W] Command: err 48: mount fs_gpfs01
Hi, maybe you need to specify your NSDs via the nsddevices user exit (Identifies local physical devices that are used as GPFS Network Shared Disks (NSDs).). script to list the NSDs , place it under /var/mmfs/etc/nsddevices. There is a template under /usr/lpp/mmfs/samples/nsddevices.sample which should provide the necessary details. Mit freundlichen Grüßen / Kind regards Dr. Uwe Falke IT Specialist High Performance Computing Services / Integrated Technology Services / Data Center Services ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Rathausstr. 7 09111 Chemnitz Phone: +49 371 6978 2165 Mobile: +49 175 575 2877 E-Mail: uwefalke@de.ibm.com ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Business & Technology Services GmbH / Geschäftsführung: Andreas Hasse, Thomas Wolter Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 17122
Check /var/adm/ras/mmfs.log.latest The dmesg xfs bug is probably from boot if you look at the dmesg with -T to show the timestamp On Jul 4, 2017 12:29 PM, "IBM Spectrum Scale" <scale@us.ibm.com> wrote:
My bad gave the wrong command, the right one is: mmmount fs_gpfs01-o rs
Also can you send output of mmlsnsd -X, need to check device type of the NSDs.
Are you ok with deleting the file system and disks and building everything from scratch?
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------ ------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/ forums/html/forum?id=11111111-0000-0000-0000-000000000479.
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 <(800)%20237-5511> in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
From: Ilan Schwarts <ilan84@gmail.com> To: IBM Spectrum Scale <scale@us.ibm.com> Cc: gpfsug-discuss-bounces@spectrumscale.org, gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 07/04/2017 04:26 PM Subject: Re: [gpfsug-discuss] Fail to mount file system ------------------------------
[root@LH20-GPFS1 ~]# mmmount fs_gpfs01 -a Tue Jul 4 13:52:07 IDT 2017: mmmount: Mounting file systems ... LH20-GPFS1: mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmdsh: LH20-GPFS1 remote shell process had return code 32. LH20-GPFS2: mount: mount fs_gpfs01 on /fs_gpfs01 failed: Stale file handle mmdsh: LH20-GPFS2 remote shell process had return code 32. mmmount: Command failed. Examine previous error messages to determine cause.
[root@LH20-GPFS1 ~]# mmmount -o rs /fs_gpfs01 mmmount: Mount point can not be a relative path name: rs [root@LH20-GPFS1 ~]# mmmount -o rs fs_gpfs01 mmmount: Mount point can not be a relative path name: rs
I recieve in "dmesg":
[ 18.338044] sd 2:0:0:1: [sdc] Attached SCSI disk [ 141.363422] hvt_cn_callback: unexpected netlink message! [ 141.366153] hvt_cn_callback: unexpected netlink message! [ 4479.292850] tracedev: loading out-of-tree module taints kernel. [ 4479.292888] tracedev: module verification failed: signature and/or required key missing - tainting kernel [ 4482.928413] ------------[ cut here ]------------ [ 4482.928445] WARNING: at fs/xfs/xfs_aops.c:906 xfs_do_writepage+0x537/0x550 [xfs]() [ 4482.928446] Modules linked in: mmfs26(OE) mmfslinux(OE) tracedev(OE) iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ext4 mbcache jbd2 loop intel_powerclamp iosf_mbi sg pcspkr hv_utils i2c_piix4 i2c_core nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_common ata_generic pata_acpi hv_netvsc hyperv_keyboard hid_hyperv hv_storvsc hyperv_fb serio_raw fjes floppy libata hv_vmbus dm_mirror dm_region_hash dm_log dm_mod [ 4482.928471] CPU: 1 PID: 15210 Comm: mmfsd Tainted: G OE ------------ 3.10.0-514.21.2.el7.x86_64 #1
On Tue, Jul 4, 2017 at 11:36 AM, IBM Spectrum Scale <scale@us.ibm.com> wrote:
What exactly do you mean by "I have received existing corrupted GPFS 4.2.2 lab"? Is the file system corrupted ? Maybe this error is then due to file system corruption.
Can you once try: mmmount fs_gpfs01 -a If this does not work then try: mmmount -o rs fs_gpfs01
Let me know which mount is working.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------
If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/ forums/html/forum?id=11111111-0000-0000-0000-000000000479.
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 <(800)%20237-5511> in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
From: Ilan Schwarts <ilan84@gmail.com> To: gpfsug-discuss@spectrumscale.org Date: 07/04/2017 01:47 PM Subject: [gpfsug-discuss] Fail to mount file system Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________
Hi everyone, I have received existing corrupted GPFS 4.2.2 lab and I am trying to make it work. There are 2 nodes in a cluster: [root@LH20-GPFS1 ~]# mmgetstate -a
Node number Node name GPFS state ------------------------------------------ 1 LH20-GPFS1 active 3 LH20-GPFS2 active
The Cluster status is: [root@LH20-GPFS1 ~]# mmlscluster
GPFS cluster information ======================== GPFS cluster name: MyCluster.LH20-GPFS2 GPFS cluster id: 10777108240438931454 GPFS UID domain: MyCluster.LH20-GPFS2 Remote shell command: /usr/bin/ssh Remote file copy command: /usr/bin/scp Repository type: CCR
Node Daemon node name IP address Admin node name Designation -------------------------------------------------------------------- 1 LH20-GPFS1 10.10.158.61 LH20-GPFS1 quorum-manager 3 LH20-GPFS2 10.10.158.62 LH20-GPFS2
There is a file system: [root@LH20-GPFS1 ~]# mmlsnsd
File system Disk name NSD servers ------------------------------------------------------------
fs_gpfs01 nynsd1 (directly attached) fs_gpfs01 nynsd2 (directly attached)
[root@LH20-GPFS1 ~]#
On each Node, There is folder /fs_gpfs01 The next step is to mount this fs_gpfs01 to be synced between the 2 nodes. Whilte executing mmmount i get exception: [root@LH20-GPFS1 ~]# mmmount /fs_gpfs01 Tue Jul 4 11:14:18 IDT 2017: mmmount: Mounting file systems ... mount: mount fs_gpfs01 on /fs_gpfs01 failed: Wrong medium type mmmount: Command failed. Examine previous error messages to determine cause.
What am i doing wrong ? _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
--
- Ilan Schwarts
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (4)
-
IBM Spectrum Scale -
Ilan Schwarts -
Josh Catana -
Uwe Falke
