LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2007, 10:31 PM   #1
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
USB hd (enclosure ) NTFS in Linux


hi. I am using an External HDD (enclosure) usb. with NTFS. tried it with linux but im getting errors. . does it mean that NTFS in linux is not that stable yet?

some logs :

Quote:

Oct 13 07:01:40 vector vl-hot_mount: Starting vl-hot_mount...
Oct 13 07:01:40 vector vl-hot_mount: devname: sda1
Oct 13 07:01:40 vector vl-hot_mount: volname: vol1
Oct 13 07:01:40 vector vl-hot_mount: Mounting /dev/vl-hot/sda1 on /mnt/vl-hot/sda/ vol1
Oct 13 07:01:40 vector vl-hot_mount: /dev/vl-hot/sda1 Filesystem is NTFS
Oct 13 07:01:40 vector vl-hot_mount: mounting NTFS-3G filesystem: /dev/vl-hot/sda1 on /mnt/vl-hot/sda/vol1
Oct 13 07:01:41 vector ntfs-3g[4332]: Version 0.20061212-BETA
Oct 13 07:01:41 vector ntfs-3g[4332]: Mounted /dev/vl-hot/sda1 (Read-Write, label "iCeY", NTFS 3.1)
Oct 13 07:01:41 vector vl-hot_mount: Showing desktop file vl-hot-sda-vol1.desktop
Oct 13 07:01:41 vector vl-hot_mount: Finishing vl-hot_mount...
Oct 13 07:02:03 vector ntfs-3g[4332]: Skipping unrepresentable filename (inode 216 0): Invalid or incomplete multibyte or wide character
Oct 13 07:04:50 vector ntfs-3g[4332]: Mft record 0x9f6 was marked unused in mft bitmap but is marked used itself. Corrupt filesystem or library bug! Run chkdsk immediately!
Oct 13 07:04:50 vector ntfs-3g[4332]: Could not allocate new MFT record: Input/output erro r.
Oct 13 07:05:43 vector ntfs-3g[4332]: Mft record 0x9f6 was marked unused in mft bitmap but is marked used itself. Corrupt filesystem or library bug! Run chkdsk immediately!
Oct 13 07:05:43 vector ntfs-3g[4332]: Could not allocate new MFT record: Input/output error.
the errors occured in the attempt :

Quote:

root:# cp -r GYM_101/ /mnt/vl-hot/sda/vol1/winbackup/
cp: cannot create directory `/mnt/vl-hot/sda/vol1/winbackup/GYM_101': Input/output error

AND

vector://mnt/vl-hot/sda/vol1/winbackup
root:# mkdir test
mkdir: cannot create directory `test': Input/output error
distro used VL 5.8 GOLD and 5.1 SOHO

and im thinking for reformatting my drive and using FAT32 as the fs. . .ideas?

Last edited by ic_torres; 10-12-2007 at 10:35 PM.
 
Old 10-12-2007, 10:54 PM   #2
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
I think if the files are very fragmented than ntfs 3g might fail. You might try using the latest fuse lib and module if you dont have it installed. Ntfs-3g is pretty stable but its not guaranteed to be 100 percent. try running chkdsk on the drive from windows too.
 
Old 10-13-2007, 03:43 AM   #3
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
Oh my Godness! You're using an extremely old BETA release: 0.20061212-BETA. Yes that was not stable as the version number implies but your problems are not related to stability at all.

Firstly, here are the ntfs-3g release history: http://www.ntfs-3g.org/releases.html
If I count correctly then there was 5 newer BETA and 15 STABLE ntfs-3g releases since the version you're using! You should really upgrade immediately or ask your distribution to do so for you!

Secondly, "Skipping unrepresentable filename" is also a harmful distribution configuration/setup problem. If they don't fix it then you can use the 'locale=....'mount option as described here: http://www.ntfs-3g.org/support.html#locale3

Thirdly, the other problems and the I/O errors are Microsoft NTFS driver bug and the ntfs-3g driver handles and fixes this for you on the fly since version 1.612-RC. From the driver history:
"fix: file creation always gave "input/output error" if the $MFT Bitmap wasn't up-to-date"

So yes, ntfs-3g is very stable but you need to use the latest version and configure your distro properly for national language support.

Last edited by igu; 10-13-2007 at 03:47 AM.
 
Old 10-13-2007, 05:21 PM   #4
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
thanks for the reply.. i read the site AND FUSE is also suggested to be installed.. i got the latest NTFS 3g driver --for slack including FUSE and i will install it in both VL 5 SOHO and 5.8 including slackware. .

i will update this post for the results

Last edited by ic_torres; 10-13-2007 at 05:25 PM.
 
Old 10-14-2007, 04:25 AM   #5
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
got an error in make : (installing FUSE)



[root@vector/home/icey/FUSE/fuse-2.7.0]# make
Making all in kernel
make[1]: Entering directory `/home/icey/FUSE/fuse-2.7.0/kernel'
make -C /usr/src/linux-2.6.13 SUBDIRS=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.13'

WARNING: Symbol version dump /usr/src/linux-2.6.13/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /home/icey/FUSE/fuse-2.7.0/kernel/dev.o
In file included from include/asm/fixmap.h:27,
from include/asm/pgtable.h:17,
from include/linux/mm.h:36,
from /home/icey/FUSE/fuse-2.7.0/kernel/fuse_i.h:64,
from /home/icey/FUSE/fuse-2.7.0/kernel/dev.c:9:
include/asm/acpi.h:31:28: acpi/pdc_intel.h: No such file or directory
make[3]: *** [/home/icey/FUSE/fuse-2.7.0/kernel/dev.o] Error 1
make[2]: *** [_module_/home/icey/FUSE/fuse-2.7.0/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.13'
make[1]: *** [all-spec] Error 2
make[1]: Leaving directory `/home/icey/FUSE/fuse-2.7.0/kernel'
make: *** [all-recursive] Error 1
[root@vector/home/icey/FUSE/fuse-2.7.0]#
 
Old 10-14-2007, 04:59 AM   #6
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
got it working on VL 5.8 GOLD

installed with FUSE 2.6
then got NTFS 3g version --


root:# ntfs-3g
ntfs-3g: No device is specified.

ntfs-3g 1.1004 - Third Generation NTFS Driver

Copyright (C) 2005-2006 Yura Pakhuchiy
Copyright (C) 2006-2007 Szabolcs Szakacsits

Usage: ntfs-3g <device|image_file> <mount_point> [-o option[,...]]

Options: ro, force, locale=, uid=, gid=, umask=, fmask=, dmask=,
streams_interface=. Please see details in the manual.

Example: ntfs-3g /dev/sda1 /mnt/win -o force,locale=en_EN.UTF-8

Ntfs-3g news, support and information: http://ntfs-3g.org
vector://var/log/packages
root:# tail -f /var/log/messages
Oct 14 17:55:29 vector vl-hot_mount: Starting vl-hot_mount...
Oct 14 17:55:29 vector vl-hot_mount: devname: sda1
Oct 14 17:55:29 vector vl-hot_mount: volname: vol1
Oct 14 17:55:29 vector vl-hot_mount: Mounting /dev/vl-hot/sda1 on /mnt/vl-hot/sda/vol1
Oct 14 17:55:29 vector vl-hot_mount: /dev/vl-hot/sda1 Filesystem is NTFS
Oct 14 17:55:29 vector vl-hot_mount: mounting NTFS filesystem: /dev/vl-hot/sda1 on /mnt/vl-hot/sda/vol1
Oct 14 17:55:29 vector kernel: NTFS driver 2.1.27 [Flags: R/W MODULE].
Oct 14 17:55:29 vector kernel: NTFS volume version 3.1.
Oct 14 17:55:29 vector vl-hot_mount: Showing desktop file vl-hot-sda-vol1.desktop
Oct 14 17:55:29 vector vl-hot_mount: Finishing vl-hot_mount...






BIG THANKS TO BOOW AND IGU for helping me. . NOW im going to install this in slackware 12.0
i just made it with installpkg
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB HDD Enclosure Xswitch Ubuntu 3 11-22-2006 10:47 AM
About USB enclosure satimis Linux - Hardware 4 10-07-2006 06:20 AM
External enclosure with USB connection satimis Linux - Hardware 1 04-09-2006 07:20 PM
USB Enclosure & Linux GNewbie Linux - Hardware 5 12-24-2005 04:42 AM
PCMCIA, USB, hd/cd-enclosure install? nycace36 Debian 0 11-19-2004 10:48 AM


All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration