[gpfsug-discuss] Converting a dependent fileset to independent

Sobey, Richard A r.sobey at imperial.ac.uk
Wed Apr 25 10:01:33 BST 2018


Hi Marc

Yes, copying the data to a freshly created fileset and unlinking/renaming/relinking is our solution; it was always a long shot expecting to be able to convert it 😊

Richard

From: gpfsug-discuss-bounces at spectrumscale.org <gpfsug-discuss-bounces at spectrumscale.org> On Behalf Of Marc A Kaplan
Sent: 24 April 2018 13:49
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Subject: Re: [gpfsug-discuss] Converting a dependent fileset to independent

To help make sense of this, one has to understand that "independent" means a different range of inode numbers.

If you have a set of files within one range of inode numbers, say 3000-5000 and now you want to move some of them to a new range of inode numbers, say 7000-8000, you're going to have to create that new range as a new independent fileset, and then move (copy!) the files to the new fileset.  And then rename directories so that you can once again refer to the files by the pathnames that they "used to" have.

During the copying and renaming, you would have to make sure there are no applications trying to access those files and directories.



From:        "Sobey, Richard A" <r.sobey at imperial.ac.uk<mailto:r.sobey at imperial.ac.uk>>
To:        "'gpfsug-discuss at spectrumscale.org'" <gpfsug-discuss at spectrumscale.org<mailto:gpfsug-discuss at spectrumscale.org>>
Date:        04/24/2018 05:20 AM
Subject:        [gpfsug-discuss] Converting a dependent fileset to independent
Sent by:        gpfsug-discuss-bounces at spectrumscale.org<mailto:gpfsug-discuss-bounces at spectrumscale.org>
________________________________



Hi all,

Is there any way, without starting over, to convert a dependent fileset to independent?

My gut says no but in the spirit of not making unnecessary work I wanted to ask.

Also, the documentation states that I should see a “dpnd” next to a dependent fileset when I run mmlsfileset with -L; this is not the case even though the parent fileset is root in this case.

[root at nsd bin]# mmlsfileset gpfs studentrecruitmentandoutreach -L
Filesets in file system 'gpfs':
Name                            Id      RootInode  ParentId Created                      InodeSpace      MaxInodes    AllocInodes Comment
studentrecruitmentandoutreach  241        8700824         0 Wed Feb 14 14:25:49 2018        0                    0              0

Thanks
Richard_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=cvpnBBH0j41aQy0RPiG2xRL_M8mTc1izuQD3_PmtjZ8&m=W9WH1n93tRRhW5npPGd73Dqgcp4d0oAYKt4yOI02PWU&s=MnsN-hjjhZirIDfK1k-awRB9hodsX2Ylh1Z1IzoJij0&e=


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20180425/7c46135a/attachment.htm>


More information about the gpfsug-discuss mailing list