Register FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sun Sep 21, 2014 16:06



Post new topic Reply to topic  [ 6 posts ] 
Error 22 when trying to lock any file 
Author Message

Joined: Fri Jun 27, 2008 20:27
Posts: 3
Post Error 22 when trying to lock any file
I have FreeBSD 6.3, with NTFS disk (2 partitions). Versions of Fuse:
fusefs-kmod-0.3.9.p1.20080208
fusefs-libs-2.7.2_1
fusefs-ntfs-1.2506

Any program that need to lock some file at NTFS partition fails. I tried OpenOffice, it returns no usfull information, but opens the same file when it copied at ext2 partition.

MySQL return more information.
-----------cut-------
InnoDB: Unable to lock ./ibdata1, error: 22
InnoDB: Unable to lock ./ibdata1, error: 22
InnoDB: Unable to lock ./ibdata1, error: 22
080627 13:53:09 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
080627 13:53:09 InnoDB: Operating system error number 22 in a file operation.
InnoDB: Error number 22 means "Invalid argument".
-----------cut-------

Mount options from fstab

-----------cut-------
/dev/ad4s5 /mnt/wd150gb/d ntfs-3g auto,locale=ru_RU.UTF-8,rw 0 0
/dev/ad4s1 /mnt/wd150gb/c ntfs-3g auto,locale=ru_RU.UTF-8,rw,show_sys_files 0 0
-----------cut-------

Can anyone help me with this?


Fri Jun 27, 2008 20:43
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1647
Post 
Locking is not implemented yet. It's strange that Linux gives no error. I'll ask the FUSE gurus ...


Fri Jun 27, 2008 22:10
Profile

Joined: Fri Jun 27, 2008 20:27
Posts: 3
Post 
szaka wrote:
Locking is not implemented yet. It's strange that Linux gives no error. I'll ask the FUSE gurus ...


Ok, waiting for your suggestions! Another thing that any program like KWrite or HTTPd working fine with NTFS partitions. May be because they don't need to lock files.


Sat Jun 28, 2008 10:20
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1647
Post 
Locking should work without direct ntfs-3g support. I tested it on Linux and it indeed works, so this is a FreeBSD specific issue.


Sat Jun 28, 2008 13:20
Profile

Joined: Fri Jun 27, 2008 20:27
Posts: 3
Post 
szaka wrote:
Locking should work without direct ntfs-3g support. I tested it on Linux and it indeed works, so this is a FreeBSD specific issue.


That is very strange... I look for this over the internet and no information... looks like only I have this problem... can you tell me how I can localize problem? Or maybe some actions that completely reinstall or reconfigure all of related programs? Or may be where I need to check something. I don't understand the nature of this problem...


Sat Jun 28, 2008 15:14
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1647
Post 
I would suggest a FreeBSD lists where probably there are more FreeBSD users and experts, so maybe somebody could help you there. And/or submit a FreeBSD bug report.


Sat Jun 28, 2008 15:24
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 2 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.