[gpfsug-discuss] mmchfileset syntax

Tim Connelly tconnelly at pixitmedia.com
Wed Jan 3 13:27:13 GMT 2018


>From the mmlinkfileset docs;

"The user may use the mv command on the directory to move to a new location
in the parent fileset, but the mv command is not allowed to move the
junction to a different fileset."


# mmlsfileset mmfs1 |grep timt
sas1-timtest             Linked    /mmfs1/another_test/timtest

# mv /mmfs1/another_test/timtest /mmfs1/another_test/timtest2

# mmlsfileset mmfs1 |grep timt
sas1-timtest             Linked    /mmfs1/another_test/timtest2


Hope this helps!

Tim

On 3 January 2018 at 12:37, Sobey, Richard A <r.sobey at imperial.ac.uk> wrote:

> Ah. So I can specify “device filesetname” OR “device -J junctionpath” (and
> mmchfileset gets the filesetname from that).
>
>
>
> Ultimately though I cannot change the mount point of the fileset without
> mmunlink / mmlink, right?
>
>
>
> Thanks
>
> Richard
>
>
>
>
>
> *From:* gpfsug-discuss-bounces at spectrumscale.org [mailto:
> gpfsug-discuss-bounces at spectrumscale.org] *On Behalf Of *Daniel Kidger
> *Sent:* 03 January 2018 11:50
> *To:* gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
> *Subject:* Re: [gpfsug-discuss] mmchfileset syntax
>
>
>
> -J is to define which fileset you are talking about.
>
> The alternative is give the fileset name straight after the ‘device’
> argument.
>
>
>
> Once the fileset is unambiguous, you then use other command line option to
> change things
>
> e.g. -j to change the *name* of this fileset.
>
> -j doesn’t change the mount point, and indeed mmcrfileset doesn’t set the
> mount point either.
>
>
>
> Daniel
>
> [image: /spectrum_storage-banne]
>
>
>
>
> [image: Spectrum Scale Logo]
>
>
>
>
>
> *Dr Daniel Kidger*
> IBM Technical Sales Specialist
> Software Defined Solution Sales
>
> + <+%2044-7818%20522%20266> 44-(0)7818 522 266 <+%2044-7818%20522%20266>
> daniel.kidger at uk.ibm.com
>
>
> On 3 Jan 2018, at 10:38, Sobey, Richard A <r.sobey at imperial.ac.uk> wrote:
>
> Hi all,
>
>
>
> Attempting to change the junction path of a fileset and I’m getting some
> strange output. It may just not be possible but the documentation on
> mmchfileset itself doesn’t make it clear.
>
>
>
> mmchfileset gpfs filesetname -J /gpfs/new_path
>
> mmchfileset: Options -J and FilesetName cannot be specified at the same
> time.
>
>
>
> Which leads to what’s the point of the following command as the error
> suggests it will work:
>
>
>
> mmchfileset device -J /gpfs/new_path
>
>
>
> …as not specifying a FilesetName to the input of mmchfileset seems odd.
>
>
>
> I do of course know that I can just unlink and relink but hey.. trying to
> save a few precious seconds 😊
>
>
>
> Cheers
>
> Richard
>
> _______________________________________________
>
> gpfsug-discuss mailing list
>
> gpfsug-discuss at spectrumscale.orghttps://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=HlQDuUjgJx4p54QzcXd0_zTwf4Cr2t3NINalNhLTA2E&m=75vJhcWv1Hpd6tMuB3qZ2waqZZtyZy9OKQ0LEECaPUM&s=Qnv7oXB0V-pe1q5evqLFP6uZPxplkHonKfRwnT1Inpc&e=
>
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at spectrumscale.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>
>

-- 
 <info at pixitmedia.com>
This email is confidential in that it is intended for the exclusive 
attention of the addressee(s) indicated. If you are not the intended 
recipient, this email should not be read or disclosed to any other person. 
Please notify the sender immediately and delete this email from your 
computer system. Any opinions expressed are not necessarily those of the 
company from which this email was sent and, whilst to the best of our 
knowledge no viruses or defects exist, no responsibility can be accepted 
for any loss or damage arising from its receipt or subsequent use of this 
email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20180103/cf0d9c32/attachment.htm>


More information about the gpfsug-discuss mailing list