Hi,

Looks like some issue with syntax. Please try below one.

mmcrfileset <FS> <fset_name> –p afmmode=<AFM
Mode>,afmtarget=<protocol>://<Mapping>/<remoteFS_Path>/<Target>
--inode-space new

#mmcrfileset gpfs1 sw1 –p
afmmode=sw,afmtarget=gpfs://mapping1/gpfs/gpfs2/swhome  --inode-space new

#mmcrfileset gpfs1 ro1 –p
afmmode=ro,afmtarget=gpfs://mapping2/gpfs/gpfs2/swhome  --inode-space new



Thanks,
Abhishek, Dave



From:   "Dorigo Alvise (PSI)" <[email protected]>
To:     "[email protected]"
            <[email protected]>
Date:   11/26/2018 09:20 PM
Subject:        [gpfsug-discuss] Error with AFM fileset creation with mapping
Sent by:        [email protected]



Good evening,
I'm following this guide:
https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectrum.scale.v4r23.doc/bl1ins_paralleldatatransfersafm.htm
to setup AFM parallel transfer.

Why the following command (grabbed directly from the web page above) fires
out that error ?

[root@sf-export-3 ~]# mmcrfileset RAW test1 --inode-space new –p
afmmode=sw,afmtarget=afmgw1://gpfs/gpfs2/swhome
mmcrfileset: Incorrect extra argument: –p
Usage:
  mmcrfileset Device FilesetName [-p afmAttribute=Value...] [-t Comment]
     [--inode-space {new [--inode-limit MaxNumInodes
[:NumInodesToPreallocate]] | ExistingFileset}]
     [--allow-permission-change PermissionChangeMode]

The mapping was correctly created:

[root@sf-export-3 ~]# mmafmconfig show
Map name:             afmgw1
Export server map:
172.16.1.2/sf-export-2.psi.ch,172.16.1.3/sf-export-3.psi.ch

Is this a known bug ?

Thanks,
Regards.

    Alvise_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss



_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to