jigneshvasoya / fuse-zip

Automatically exported from code.google.com/p/fuse-zip
GNU Lesser General Public License v3.0
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
> 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 commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
Issue 19 has been merged into this issue.

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