 |
|
Page 1 of 1
|
[ 4 posts ] |
|
writing to shared folder(ntfs-3g mounted) writes only zeros
| Author |
Message |
|
roozbeh
Joined: Tue Dec 01, 2009 13:49 Posts: 4
|
 writing to shared folder(ntfs-3g mounted) writes only zeros
I have mounted my partitions with ntfs-3g with write access and shared them using shared folders feature of virtualbox to my windows xp sp3 guest. writing files into this folder are succeded but if you open them only zeros are written all over the file.
i think it is ntfs-3g bug as if i mount them with ntfs option problmes are solved.
>>ntfs-3g ntfs-3g 2009.11.14 integrated FUSE 27 - Third Generation NTFS Driver XATTRS are on, POSIX ACLS are off
i am using ubuntu 9.10
>>uname -r 2.6.31-15-generic
my fstab proc /proc proc defaults 0 0 # Entry for /dev/sdb1 : UUID=afa0c5b6-3b59-41d2-a57e-042a53f6ab43 / ext4 errors=remount-ro 0 1 # Entry for /dev/sdb5 : UUID=2b5eda05-3ad8-4122-9233-606e34d59a72 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 /dev/sda5 /media/MEDIA ntfs defaults,umask=0000,locale=en_US.UTF-8 0 0 /dev/sda2 /media/Windows\040XP ntfs-3g defaults,locale=en_US.UTF-8 0 0 /dev/sda1 /media/WIN98 vfat defaults,auto,rw,umask=0000 0 0
changing /dev/sda5 "ntfs" into "ntfs-3g" causes problems.
|
| Mon Dec 07, 2009 20:32 |
|
 |
|
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1013
|
 Re: writing to shared folder(ntfs-3g mounted) writes only zeros
Hi, Quote: I have mounted my partitions with ntfs-3g with write access and shared them using shared folders feature of virtualbox to my windows xp sp3 guest. ntfs-3g cannot share data with another file system. Data copied to memory are invisible to other file systems. Quote: changing /dev/sda5 "ntfs" into "ntfs-3g" causes problems. What does "ntfs" option mean in your situation ? Another file system driver can implement synchronization with another OS,... and apparently you have the solution to your problem. Regards Jean-Pierre
|
| Tue Dec 08, 2009 10:19 |
|
 |
|
roozbeh
Joined: Tue Dec 01, 2009 13:49 Posts: 4
|
 Re: writing to shared folder(ntfs-3g mounted) writes only zeros
I think maybe i stated my problem badly.
by sharing i mean to share it with samba file sharing. here is my situation.
i do mount my partition with the fstab file I've posted and then setup the shared folders in virtualbox to point to this location.(actually it is the same as using samba to share this folder and it is accessed from other machines using lan and network connections)
I dont know how virtualbox copies and manages data,but obviously using ntfs-3g driver, it only writes zeros to file. but when i change ntfs-3g into ntfs in fstab, everything is working now.
And i dont know what this ntfs driver is,maybe it is build into kernel,anyway this is what comes prebuilt with ubuntu 9.1.
And yes i found the solution to my problem, but i thought maybe it is a bug in ntfs-3g and also wanted to notify you. As i moved from ntfs into ntfs-3g because i read it is more stable and optimized than default driver. so i think fixing this -maybe a bug- will be helpfull.
|
| Tue Dec 08, 2009 11:38 |
|
 |
|
roozbeh
Joined: Tue Dec 01, 2009 13:49 Posts: 4
|
 Re: writing to shared folder(ntfs-3g mounted) writes only zeros
well the intresting thing is that i did some search and it seems ntfs is just an alias for ntfs-3g in ubuntu.(obviously the ntfs-3g that comes preinstalled with ubuntu)
so it seems to me using older ntfs versions is ok but using newer ones(or the version i build from sources), is not for my situation.
|
| Tue Dec 08, 2009 11:44 |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
 |