Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting the trace while running with -lf flag #30

Open
Zubrania opened this issue Mar 20, 2018 · 4 comments
Open

getting the trace while running with -lf flag #30

Zubrania opened this issue Mar 20, 2018 · 4 comments

Comments

@Zubrania
Copy link

Hello Team

I am getting the following trace while trying to do pcp to lustre FS

without -lf flag pcp works as expected

env python 2.7
pcp from git

Thank you

Tue Mar 20 17:09:19 2018:WARNING: appears to have problems with openmpi on
Tue Mar 20 17:09:19 2018:large job sizes; if pcp hangs, consider using mpich
Tue Mar 20 17:09:19 2018:instead.
Tue Mar 20 17:09:19 2018:R0: All workers have reported in.
Tue Mar 20 17:09:19 2018:Starting 32 processes.
Tue Mar 20 17:09:19 2018:Files larger than 500 Mbytes will be copied in parallel chunks.
Tue Mar 20 17:09:19 2018:Will force stripe all files.
Tue Mar 20 17:09:19 2018:Will md5 verify copies.
Tue Mar 20 17:09:19 2018:
Tue Mar 20 17:09:19 2018:Starting phase I: Scanning and copying directory structure...
Tue Mar 20 17:09:19 2018:Exception on rank 0 host node25:
Tue Mar 20 17:09:19 2018:Traceback (most recent call last):
Tue Mar 20 17:09:19 2018: File "/usr/bin/pcp", line 1533, in
Tue Mar 20 17:09:19 2018: scantree(sourcedir, destdir, statedb)
Tue Mar 20 17:09:19 2018: File "/usr/bin/pcp", line 354, in scantree
Tue Mar 20 17:09:19 2018: listofpaths = walker.Execute(sourcedir)
Tue Mar 20 17:09:19 2018: File "/usr/local/lib/python2.7/site-packages/pcplib/parallelwalk. py", line 260, in Execute
Tue Mar 20 17:09:19 2018: self._ProcessNode()
Tue Mar 20 17:09:19 2018: File "/usr/local/lib/python2.7/site-packages/pcplib/parallelwalk. py", line 175, in _ProcessNode
Tue Mar 20 17:09:19 2018: self.ProcessDir(filename)
Tue Mar 20 17:09:19 2018: File "/usr/bin/pcp", line 1345, in ProcessDir
Tue Mar 20 17:09:19 2018: copyDir(directoryname, newdir)
Tue Mar 20 17:09:19 2018: File "/usr/bin/pcp", line 1042, in copyDir
Tue Mar 20 17:09:19 2018: layout = lustreapi.getstripe(sourcedir)
Tue Mar 20 17:09:19 2018: File "/usr/local/lib/python2.7/site-packages/pcplib/lustreapi.py" , line 121, in getstripe
Tue Mar 20 17:09:19 2018: raise IOError(err, os.strerror(err))
Tue Mar 20 17:09:19 2018:IOError: [Errno 25] Inappropriate ioctl for device

@guycoates
Copy link
Collaborator

Hi,
That means that the source directory is not a lustre filesystem, and so there is no stripe information to copy.

@Zubrania
Copy link
Author

Zubrania commented Mar 26, 2018 via email

@guycoates
Copy link
Collaborator

I can fix the code so that it will run where the source is not lustre; in the meantime, you can work around the issue by creating the destination directory, setting the striping on the directory with lfs setstripe, and running without -lf; that will stripe everything at the destination...

@Zubrania
Copy link
Author

Zubrania commented Mar 29, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants