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

Renames fail with "failed to open stream: Value too large for defined data type" #18

Closed
gboudreau opened this issue May 28, 2011 · 1 comment
Milestone

Comments

@gboudreau
Copy link
Owner

May 26 11:11:03 7 balance:   Working on file: The.Shawshank.Redemption.1994.720p.x264/The.Shawshank.Redemption.1994.720p.x264.mkv (4.37GB)
May 26 11:11:03 7 balance:   Drives with available space: /var/hda/files/drives/drive4/gh (1.38TB avail) - /var/hda/files/drives/drive2/gh (1.18TB avail) - /var/hda/files/gh (1,017GB avail) 
May 26 11:11:03 7 balance:   Target drive: /var/hda/files/drives/drive4/gh (1.38TB available)
May 26 11:11:03 7 balance:   Moving file copy...
May 26 11:11:03 4 balance: PHP Warning [2]: rename(/var/hda/files/gh/Movies/The.Shawshank.Redemption.1994.720p.x264/The.Shawshank.Redemption.1994.720p.x264.mkv): failed to open stream: Value too large for defined data type in /usr/bin/greyhole on line 3481
May 26 11:11:03 4 balance: PHP Warning [2]: rename(/var/hda/files/gh/Movies/The.Shawshank.Redemption.1994.720p.x264/The.Shawshank.Redemption.1994.720p.x264.mkv,/var/hda/files/drives/drive4/gh/Movies/The.Shawshank.Redemption.1994.720p.x264/.The.Shawshank.Redemption.1994.720p.x264.mkv.6ca75): Value too large for defined data type in /usr/bin/greyhole on line 3481
May 26 11:11:03 4 balance:     Failed file copy. Skipping.
@gboudreau
Copy link
Owner Author

Can't find any reference to rename having issues with large files, but I guess replacing rename() with gh_rename(), which in fact uses exec() to rename on 32-bit systems would help.

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

1 participant