When I change extra copies from 0 to 1. Then run greyhole --fsck, any file over 2GB fails to copy. Is there a setting somewhere restricting the file size of extra copies? From greyhole.log:
Loading tombstones for Movies/SD/The Godfather.m4v... Got 1 tombstones.
Oct 9 09:06:44 6 fsck: Missing file copies. Expected 2, got 1. Will create more copies using /var/hda/files/drives/drive2/gh/Movies/SD/The Godfather.m4v
Oct 9 09:06:44 7 fsck: Drives with available space: /var/hda/files/drives/drive2/gh (817GB avail) - /var/hda/files/gh (409GB avail) - /var/hda/files/drives/drive3/gh (408GB avail)
Oct 9 09:06:44 7 fsck: Copying file to /var/hda/files/gh/Movies/SD/The Godfather.m4v
Oct 9 09:06:44 4 fsck: PHP Warning [2]: copy(/var/hda/files/drives/drive2/gh/Movies/SD/The Godfather.m4v): failed to open stream: Value too large for defined data type in /usr/bin/greyhole on line 2778
Oct 9 09:06:44 4 fsck: Failed file copy. Skipping.
Oct 9 09:06:44 7 fsck: Updating symlink at /var/hda/files/videos/movies/SD/The Godfather.m4v to point to /var/hda/files/drives/drive2/gh/Movies/SD/The Godfather.m4v
Greyhole not making extra copies of files over 2 GB
Re: Greyhole not making extra copies of files over 2 GB
What format does the destination partition use?
I seem to recall that FAT file systems can't support file sizes > 2GB. Might that be a problem?
If that is the issue, perhaps you could reformat it using ext4 or another file system type that supports large files.
I seem to recall that FAT file systems can't support file sizes > 2GB. Might that be a problem?
If that is the issue, perhaps you could reformat it using ext4 or another file system type that supports large files.
Re: Greyhole not making extra copies of files over 2 GB
The drives are all formatted as EXT4I seem to recall that FAT file systems can't support file sizes > 2GB. Might that be a problem?
Re: Greyhole not making extra copies of files over 2 GB
Try this:
That should fix your problem.
The version above tries to fix an issue where on 32-bit OS, during fsck only (not during normal operation), trying to create extra copies would fail for big files.
In 0.6.27, rsync is now used to create those copies, which was already the case during normal operation, thus why it worked for creating the 1st copy, and wouldn't work for extra copies.
Let me know.
Code: Select all
rpm -Uvh http://greyhole.pommepause.com/releases/hda-greyhole-0.6.27-1.i386.rpm
The version above tries to fix an issue where on 32-bit OS, during fsck only (not during normal operation), trying to create extra copies would fail for big files.
In 0.6.27, rsync is now used to create those copies, which was already the case during normal operation, thus why it worked for creating the 1st copy, and wouldn't work for extra copies.
Let me know.
- Guillaume Boudreau
Re: Greyhole not making extra copies of files over 2 GB
That did the trick. Thanks Guillaume.
Who is online
Users browsing this forum: No registered users and 12 guests