[gpfsug-discuss] [EXT] Moving data between dependent filesets

Fosburgh,Jonathan jfosburg at mdanderson.org
Mon Aug 5 17:07:14 BST 2019


AFAIK, the mv command treats filesets as separate filesystems, even when sharing the same inode space.

-- 
Jonathan Fosburgh
Principal Application Systems Analyst
IT Operations Storage Team
The University of Texas MD Anderson Cancer Center
(713) 745-9346

On 8/5/19, 11:02 AM, "gpfsug-discuss-bounces at spectrumscale.org on behalf of Sundermann, Jan Erik (SCC)" <gpfsug-discuss-bounces at spectrumscale.org on behalf of jan.sundermann at kit.edu> wrote:

    Dear all,
    
    I am trying to understand how to move data efficiently between filesets sharing the same inode space. I have an independent fileset fs1 which contains data that I would like to move to a newly created dependent fileset fs2. fs1 and fs2 are sharing the same inode space. Apparently calling mv is copying the data instead of just moving it. Using strace on mv prints lines like 
    
    	renameat2(AT_FDCWD, "subdir1/file257", AT_FDCWD, "../filesettest/subdir1/file257", 0) = -1 EXDEV (Invalid cross-device link)
    
    
    Is there an efficient way to move the data between the filesets fs1 and fs2?
    
    
    Best regards
    Jan Erik
    
    

The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.


More information about the gpfsug-discuss mailing list