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

File system can be unmounted before all data will be saved to ZIP file. #7

Open
GoogleCodeExporter opened this issue Apr 11, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Commands log:

$ mkdir test
$ ./fuse-zip test.zip test
$ tar xjf /var/tmp/emerge-webrsync/portage-20080627.tar.bz2 -C test
$ top -p 7053
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND      

 7053 daraku    20   0  534m 520m  812 S  0.0 51.9   0:44.86 fuse-zip
$ fusermount -u testumount:
/home/daraku/Programming/c++/fuse-zip-0.2.3/test: device is busy
umount: /home/daraku/Programming/c++/fuse-zip-0.2.3/test: device is busy

//after a few seconds
$ fusermount -u test
$ top -p 7053
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND      

 7053 daraku    20   0  534m 521m  824 R 94.6 52.0   1:15.36 fuse-zip
$ ls -l|grep zip
102400 -rwxr-xr-x 1 daraku users 101626 Июл  4 19:14 fuse-zip
  4096 -rw-r--r-- 1 daraku users   2120 Июн 26 16:12 fuse-zip.1
 16384 -rw-r--r-- 1 daraku users  14850 Июн 26 16:12 fuse-zip.cpp
 81920 -rw-r--r-- 1 daraku users  81904 Июл  4 19:14 fuse-zip.o
$ uname -a
Linux localhost 2.6.24-gentoo-r3 #4 PREEMPT Thu Apr 10 19:11:19 EEST 2008
x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux


So, I'm unmount file system, but test.zip file wasn't been created.

Used libraries:
libzip 0.8
fuse 2.7.3
fuse-zip 0.2.3

P.S. I don't have /var/log/user.log file.

Original issue reported on code.google.com by daraku.a...@gmail.com on 4 Jul 2008 at 4:45

@GoogleCodeExporter
Copy link
Author

Be patient and wait for fuse-zip process finished after calling fusermount -u.

It is a problem in FUSE because fusermount does not support "synchronized" 
unmounting.

Original comment by alexander.galanin on 5 Jul 2008 at 1:03

@GoogleCodeExporter
Copy link
Author

Does this a known problem in fusermount? When this issue planed to be fixed? (I 
can't
fide the issuer tracker for fusermount)

The second problem of this issue is a memory usage. Because I'm trying to save 
about
600MB of data to fuse-zip file system and file system doesn't save data 
on-line, so
all 600MB stored into memory :( Shall I open a new issue for fuse-zip, or this 
is
issue of libzip/fuse?

Original comment by daraku.a...@gmail.com on 5 Jul 2008 at 4:20

@GoogleCodeExporter
Copy link
Author

> Does this a known problem in fusermount? When this issue planed to be fixed? 
(I can't
fide the issuer tracker for fusermount)

I will report this issue to fuse mailing list in 

> The second problem of this issue is a memory usage.

I know about this issue.

Original comment by alexander.galanin on 5 Jul 2008 at 12:02

@GoogleCodeExporter
Copy link
Author

Original comment by alexander.galanin on 26 Jul 2008 at 1:13

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Issue 19 has been merged into this issue.

Original comment by alexander.galanin on 7 Sep 2009 at 6:26

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

No branches or pull requests

1 participant