xiongxu / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

Cannot create sparse images on s3fs #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile s3fs.cpp with a modification :
#define FUSE_USE_VERSION 26
#define __off_t off_t
2. Mount s3fs bucket on amazon, using the command ./s3fs mybucketxxx 
~/Desktop/CCCS3 -
olocal,ping_diskarb,volname=CCCS3
3. 
 hdiutil create MacHD -size 50G -type SPARSE -fs HFS+ -layout GPTSPUD
 -stretch 50G -
volname MacintoshHD followed by an attempt to mount this : 
hdiutil attach MacHD.sparseimage 

What is the expected output? What do you see instead?

Expected output - mounted sparseimage
Seen :

$ hdiutil attach MacHD.sparseimage 
hdiutil: attach failed - Illegal seek 

What version of the product are you using? On what operating system?

Please provide any additional information below.

Version 26
Operating system : Mac OSX Leopard 10.5.7

Original issue reported on code.google.com by singh.ma...@gmail.com on 28 Jul 2009 at 4:33

GoogleCodeExporter commented 9 years ago
My previous attempt to report this issue was somehow deleted by your system 
(cannot find it listed). Please treat 
this report with the seriousness it deserves.

Original comment by singh.ma...@gmail.com on 28 Jul 2009 at 4:39

GoogleCodeExporter commented 9 years ago
Hi Singh- s3fs stores files verbatim in s3; as such it passes thru the same 5GB 
max
file size limitation of amazon s3; from what it looks like you're trying to do, 
I
would suggest elasticdrive or persistentfs

Original comment by rri...@gmail.com on 28 Jul 2009 at 2:34

GoogleCodeExporter commented 9 years ago
This issue appears to be a limitation of s3 itself (the 5GB limit) versus a 
defect in s3fs software. Closing this issue.

Original comment by dmoore4...@gmail.com on 10 Nov 2010 at 6:38