View unanswered posts View active topics | It is currently Sun Apr 12, 2020 02:52
|
NTFS-3g volume RAW in Vista, strange in OSXModerator: unsound
Previous topic Next topic |
Author | Message |
---|
Joined: Tue Dec 02, 2008 02:48 Posts: 7
| NTFS-3g volume RAW in Vista, strange in OSX Hi, I have an external 1tb usb-drive, which has been formatted as NTFS. Previously it has worked well, but since this morning it wouldn't work in Vista. Explorer says the volume is corrupt, Disk Management says it's RAW but chkdsk works just fine. Just can't access the files in any way. Also, in OSX 10.5.5 the drive works file most of the time, but occasionally it freezes. In Disk Utility it shows up as disk3s1 and doesn't show the partitions real name. When it's mounted, it's in /Volumes/Untitled instead of /Volumes/Teranen. Manually mounting in the right dir gives this: onik-mac:~ onik$ mount -t ntfs-3g /dev/disk3s1 /Volumes/Teranen Volume is dirty. Forced to continue. Volume is dirty. Run chkdsk and try again, or use the force option. ERROR: couldn't mount volume : No such file or directory Unloading existing instance of ntfs-3g_daemon.. Orphaned .pid file found. Removing it. [ntfs-3g_daemon] ERROR: Could not delete pid file! Could not open .pid-file for writing! (Are you running the program with sufficient privilegies?)
(ignore the pid file, not running as su) Still, the drive gets mounted, and in the right directory as long as it's not removed or the system isn't rebooted. The first problem is the most severe, as I would like to access my files in both OSX and Vista (otherwise i'd just format it as HFS). Any ideas?
| Tue Dec 02, 2008 03:01 | Joined: Sat Oct 06, 2007 09:24 Posts: 530
| When the drive gets mounted as Untitled instead of whatever your real volume label is, it's usually because of some conflict between what ntfs-3g and ntfsprogs (which is used for label retrieval) thinks is a mountable volume. Szaka has promised to integrate a ntfs-3g.label utility which will remedy that issue in the future. However, your drive doesn't seem to be in mint condition.. When you say that 'the drive freezes'.. that makes me think you have a hardware error. It also seems really odd that Vista can run chkdsk on the volume, but not mount it. I think you should back up your important data and run a disk test with 'badblocks' booting from some Linux live CD. If bad sectors are found, get the drive replaced.
| Tue Dec 02, 2008 13:55 | Thanks for the reply. I doubt that this is a hardware issue since the drive is just about 1 week old Buffalo DriveStation, but i'll run badblocks asap. If I find no bad blocks i'll get back to this matter, otherwise i'll just have to get it replaced.
| Tue Dec 02, 2008 14:47 | Joined: Sat Oct 06, 2007 09:24 Posts: 530
| How did you create the NTFS volume? Even though the NTFS-3G file system bundle can create NTFS volumes (using mkntfs) I would usually prefer to have Windows create the volume. It also eliminates the possibility that you have chosen a non-MBR partition table. But.. as you had it working earlier, I guess that's not the issue. Have you ever unplugged your drive without properly unmounting it first (..which is done in Windows by choosing 'Safe Remove Hardware' or in Mac OS X by clicking the eject button next to the volume)? The issue with Vista not recognizing a drive that passed through chkdsk without issues should be reported to Microsoft, because that's not what you would expect..
| Tue Dec 02, 2008 15:08 | I created the volume with OSX Disk Utility and made sure it was MBR. Then I used TeraCopy in Vista to transfer files to the new volume, so yes, it worked in the beginning. I have disconnected the drive without properly unmounting it in Vista, but after this I booted back to Vista and ran chkdsk to allow normal automount with ntfs-3g and no errors were found. Since then I haven't removed the disk while the pc has been on. I checked the volume on Ubuntu Livecd and it's recognized properly and mounted in /mnt/Teranen as it should be. GParted shows the volume correctly as NTFS but in mount it is of type 'fuseblk', but I think this is normal. I'll set it to run badblocks during the night, since it's a 8,5h job.
| Tue Dec 02, 2008 15:33 | ubuntu@ubuntu:~$ sudo badblocks -v /dev/sdc Checking blocks 0 to 976762583 Checking for bad blocks (read-only test): done Pass completed, 0 bad blocks found. ubuntu@ubuntu:~$
So I think the disk is physically fine, as I thought. But could the problem be in the MBR or partition table? Just throwing ideas around..
| Wed Dec 03, 2008 16:34 | Joined: Sat Oct 06, 2007 09:24 Posts: 530
| You could do some forensic investigation on your MBR.. Linux utilities like GParted should be able to give you info on that. But.. since you have had it working previously, I wouldn't bet too much on any problem with the MBR. What do you see when you start up 'Administrative Tools'->'Computer Management' (an MMC snapin) in Vista and browse to 'Disk Management'? What does Vista say about the drive and which volumes are on it?
| Fri Dec 05, 2008 04:00 | Quick answer in a hurry: Gparted shows the disk OK, diskmgmt.mmc shows a RAW volume after a long seek time on the drive. Every time I try to use the disk in Vista it seeks for about a minute and then shows an error or RAW-volume, except chkdsk. Posted the question also on Microsoft TechNet, no answers yet.
| Fri Dec 05, 2008 11:16 | Joined: Thu Jan 15, 2009 03:53 Posts: 8 Location: Texas
| Hello Folks..just joined the forum.. Comment for Unsound. My external 500GB USB Seagate drive was prepared under WinVista with it's Disk Mgr, which pretty much provided an NTFS partition and 465GB of space availability. After installing MacFUSE and NTFS-3g on my Mac with OS X 10.4.11 I connected my Seagate drive, NTFS-3g mounted my drive without any problems whatsoever, immediately I began copying files from my Mac internal HDD over (music, video files etc) as backup. Now here's the catch. 1) I was really hoping I would be able to move freely between my Mac and my Vista environments, this would solve many issues for me at this point in time. Nevertheless, once it finished copying everything (a 2 day process) I decided to check it out on my Vista PC.. Big time surprise!!! 2) ON Vista my drive mounts, yeah it does but unreadable pretty much same symptom couple of the guys here in the forum have mentioned. I checked the drive it's fully operational but shows as RAW. I then moved back to my Mac, and it mounts and shows all my files.. that's a relief. What I thought and correct me here please, that we would be able to port between both environments, to my surprise when I checked my new drive with Disk Utility (Mac OS) it says that my drive is MAC OS X Journaled.. since when ? I never formatted the drive on my Mac in the first place, since then I've only been able to mount read/write on my Mac.. Is there a way I can gain access to my NTFS filesystem ? what would you recommend ? Thanks George
| Thu Jan 15, 2009 04:15 | Joined: Sat Oct 06, 2007 09:24 Posts: 530
| Hi George, 2) ON Vista my drive mounts, yeah it does but unreadable pretty much same symptom couple of the guys here in the forum have mentioned. I checked the drive it's fully operational but shows as RAW. I then moved back to my Mac, and it mounts and shows all my files.. that's a relief. What I thought and correct me here please, that we would be able to port between both environments, to my surprise when I checked my new drive with Disk Utility (Mac OS) it says that my drive is MAC OS X Journaled.. since when ? I never formatted the drive on my Mac in the first place, since then I've only been able to mount read/write on my Mac.. I really can't help you here. If your drive is really HFS+ formatted all of a sudden (Mac OS Extended (journaled)), then someone must have done something to make that happen. This does not happen automatically, ever. Did you have anything on the drive before you connected it to your mac? In that case, can that data still be accessed? Is there a way I can gain access to my NTFS filesystem ? what would you recommend ? Could you post a screenshot from the 'Info' window in Disk Utility for the affected drive (select the affected volume and click the 'info' button)? Or you could copy-paste the text in that window to a forum post.. Also what happens when you type sudo /usr/local/bin/ntfs-3g.probe --readonly /dev/diskXsY , with X and Y substituted for the drive/partition numbers of the affected drive.
| Thu Jan 15, 2009 05:05 | Joined: Thu Jan 15, 2009 03:53 Posts: 8 Location: Texas
| Thanks for the reply !.. to be honest when I unpacked the drive I plugged it to my Vista laptop, it ran the utility that comes in the drive and prepared it NTFS simple as that, no other files except for the ones installed by the manufacturer. I played with it for a while, noticed that on my MAC the drive wouldn't mount not even with the native NTFS support 10.4 supposedly has that's when I googled and came across you guys with MacFUSE and NTFS-3g. Before I even started my copy process, I screwed up the drive couple of times, meaning I forced a format on Mac OS X, took one hell of a time, then when it mounted it almost took 16GB out of my drive, then I said no wayyy!..took it back to my laptop and reformatted however I could, finally got back control of the drive and with Windows console applet used the disk management utility and reformatted, so at the end I put it back as original with 465GB capacity, filesystem was NTFS.. I'l check back with you tomorrow on this.thanks
| Thu Jan 15, 2009 05:18 | Joined: Sat Oct 06, 2007 09:24 Posts: 530
| You say that you forced a format on Mac OS X at some point, so did you choose NTFS-3G as the on disk file system? (I don't think you can do that in Disk Utility in 10.4, so I suspect that you chose some other file system, such as Mac OS Extended) This just might be a really weird problem, involving dual file system structures.. meaning that even though formatted as NTFS, old HFS+ structures are still there and recognized by Mac OS X. What kind of partition system do you have on the drive? MBR/GPT/none?
| Thu Jan 15, 2009 05:45 | Joined: Thu Jan 15, 2009 03:53 Posts: 8 Location: Texas
| You say that you forced a format on Mac OS X at some point, so did you choose NTFS-3G as the on disk file system? (I don't think you can do that in Disk Utility in 10.4, so I suspect that you chose some other file system, such as Mac OS Extended)
Sorry for misleading you on that one, I meant that before actually finding these apps (MacFUSE and NTFS-3g) I had played with the drive on both environments, thus rendering unusable the drive, nevertheless recovered it and reformatted to full NTFS again as like in the very beginning. THen I stumbled across these apps and followed to the letter how it is done. Strange thing is , and reason of my post is that supposedly we can plug/unplug from either environment right ? I mean the drive will or should always be NTFS in my case, well..to my surprise something changed, and I didn't tweak any settings whatsoever, bottom line is that my once NTFS formatted drive now says it's a Mac OS X Journaled drive and obviously I can't see it on Windows Vista. I would start all over again , just that I have to reverse my 120GB copy
| Fri Jan 16, 2009 02:50 | Joined: Thu Jan 15, 2009 03:53 Posts: 8 Location: Texas
| Unsound here's the info you asked me for yesterday. Name : FreeAgent Type : Volume Disk Identifier : disk2s3 Mount Point : /Volumes/FreeAgent File System : Mac OS Extended (Journaled) Connection Bus : USB Partition Type : Apple_HFS Writable : Yes Universal Unique Identifier : B4FCE920-C7C7-32AF-B6C8-229287445B6E Capacity : 465.6 GB (499,973,603,328 Bytes) Free Space : 345.4 GB (370,845,032,448 Bytes) Used : 120.3 GB (129,128,570,880 Bytes) Number of Files : 23,412 Number of Folders : 2,761 Owners Enabled : No Can Turn Owners Off : Yes Can Be Formatted : Yes Bootable : Yes Supports Journaling : Yes Journaled : Yes S.M.A.R.T. Status : Not Supported Disk Number : 2 Partition Number : 3 I notice it say Apple_HFS, but I didn't prepare this drive on my Mac, I am positively , 100% sure, I prepared this drive in Vista as an NTFS system..what I'm gonna do is move my files back and start from scratch, I'll try keep documented all steps.
| Fri Jan 16, 2009 03:16 | Joined: Sat Oct 06, 2007 09:24 Posts: 530
| I notice it say Apple_HFS, but I didn't prepare this drive on my Mac, I am positively , 100% sure, I prepared this drive in Vista as an NTFS system..what I'm gonna do is move my files back and start from scratch, I'll try keep documented all steps. Well, it certainly is HFS+ formatted now. :) I'm not sure how you got there, but that's the current situation. You could try to load your drive with HFSExplorer (http://hem.bredband.net/catacombae) in Windows to verify again that it is HFS+. The disk's identifier is disk2s3 .. this implies that you also have disk2s2 and disk2s1.. what are those? You can type 'diskutil list /dev/disk2' in the Terminal to get a full listing of your partitions.
| Fri Jan 16, 2009 03:28 | Joined: Thu Jan 15, 2009 03:53 Posts: 8 Location: Texas
| I already did try with HFS Explorer , but all I can do is extract.. I need to write to my new drive rather than pull out of it. Reason I'm being picky is because I have an old G4, these are USB drives so you can imagine how slow it is transfering files from one to the other, instead on my Dell XPS it takes a couple of hours but not 45hrs as how it shows now when I started the copy again.. I hava antother external drive a WD 160GB..but the big type, bulky..it's the one with the media center on it. Q: Does NTFS-3g rely on MacFUSE? I think I read it did, but wanted to confirm G. :lol:
| Fri Jan 16, 2009 04:43 | Joined: Sat Oct 06, 2007 09:24 Posts: 530
| Well, either way you don't seem to have any choice right now but to move everything off your drive, reformat it in Windows, and when you attach your newly formatted drive to the Mac, make sure that it displays as an NTFS-3G drive in Disk Utility before you transfer any of your files to it. Q: Does NTFS-3g rely on MacFUSE? I think I read it did, but wanted to confirm Yes. (When it's running in Mac OS X at least.. in Linux, BSD, Solaris, it's just called FUSE)
| Fri Jan 16, 2009 04:55 | Joined: Thu Jan 15, 2009 03:53 Posts: 8 Location: Texas
| Unsound: This is really weird..after moving back all my files, I deleted the partition and reformatted my external drive in Windows Vista this puts me back on an NTFS partition of 465GB.. I checked that MacFuse was installed , re-installed the beta version I had v2.0.2 and now it says v2.1.4 , also re-installed NTFS-3g and ran the enable scripts which are provided on the TOOLS folder. Guess what?.. my drive came back with all the files I had copied onto it, weird huh?.. it had same folders and the same amount of gigs being ocupied.. now how can that be? I also ran Disk Utility and it showed me my drive , again as a OS X Journaled drive, Apple HFS format.. this I don't get, confused, totally.. What I will try now is the reverse. I will try to format on my Mac this drive using MS-DOS filesystem, this would probably create it as FAT32, once it's done I'll check on my laptop and see how Windows is seeing this drive, should be FAT32.. lastly, I'll try a low level format to make sure I've blown away any potential partitions therein. I'll check back with you later if you have any other thoughts. BTW, my iMac is: G4 , 800Mhz, 60GB internal HDD, 1GB RAM , 15' Screen Running Mac OS X 10.4.11 up to date.
| Sun Jan 18, 2009 01:58 | Joined: Tue Sep 04, 2007 17:22 Posts: 1286
| Hi You should check your partition id. For NTFS it is 07, for HFS it should be AF. Regards Jean-Pierre
| Sun Jan 18, 2009 09:49 | Joined: Sat Oct 06, 2007 09:24 Posts: 530
| This is really weird..after moving back all my files, I deleted the partition and reformatted my external drive in Windows Vista this puts me back on an NTFS partition of 465GB.. I checked that MacFuse was installed , re-installed the beta version I had v2.0.2 and now it says v2.1.4 , also re-installed NTFS-3g and ran the enable scripts which are provided on the TOOLS folder. Guess what?.. my drive came back with all the files I had copied onto it, weird huh?.. it had same folders and the same amount of gigs being ocupied.. now how can that be? I also ran Disk Utility and it showed me my drive , again as a OS X Journaled drive, Apple HFS format.. this I don't get, confused, totally.. Have you considered the possibility that your hard drive may be haunted by ghosts? :) What I will try now is the reverse. I will try to format on my Mac this drive using MS-DOS filesystem, this would probably create it as FAT32, once it's done I'll check on my laptop and see how Windows is seeing this drive, should be FAT32.. lastly, I'll try a low level format to make sure I've blown away any potential partitions therein.
You should try to zero every sector of the drive, which will take a lot of time, and then create a NTFS file system in Windows, and then see what your Mac has to say about it. If it still claims that there is an HFS+ partition on the drive we should consider that Disk Utility might be providing false information on the mounted file system. Maybe zeroing the drive is what you mean by doing a 'low level format' (as far as I know, modern hard drives can't do what is traditionally called a 'low level format'..). I'll check back with you later if you have any other thoughts. BTW, my iMac is: G4 , 800Mhz, 60GB internal HDD, 1GB RAM , 15' Screen Running Mac OS X 10.4.11 up to date. Just so you know, I haven't been able do to any testing whatsoever of NTFS-3G on PowerPC macs, since I don't have access to one. That said, I haven't yet got any PowerPC specific bug reports yet. BTW, I agree with Jean-Pierre.. the MBR partition signature might have been falsely set to an incorrect partition type at some point, but that still doesn't explain the strange fact that OS X is able to mount the drive as HFS+ successfully when there is an NTFS file system on the drive. Good luck. - Erik
| Sun Jan 18, 2009 13:21 | Joined: Thu Jan 15, 2009 03:53 Posts: 8 Location: Texas
| Ok..I'm gonna try this now.. 1) In Windows , I'll use the Computer Management app, and run Disk Management 2) Delete partition 3) Create Partition NTFS , default block size 4) Format and put as ACTIVE Healthy partition Let's see now what OS X has to say about this!.. BTW: I did the previous on my Mac using Disk Utility and managed to create a FAT32, both operating system seem to understand the partition created in that format , however beats the purpose of this investigation.. I'll report later how it goes with the mentioned above. Thanks guys
| Wed Jan 21, 2009 01:53 | Joined: Thu Jan 15, 2009 03:53 Posts: 8 Location: Texas
| Erik, FINALLY! Per my last comment, seems like it is now working as it should..had to perform a low level format on the drive , took a while because didn't choose the quick format, but was worth the wait..i'm copying my files again from my Mac to the external.. I wanted to share a screenshot but couldn't post it.. dunno gotta check my profile maybe.. Cheers George :D
| Sun Jan 25, 2009 03:32 | Joined: Sat Oct 06, 2007 09:24 Posts: 530
| That's great to hear. The weird things that happened are still a mystery though. I can only guess that you somehow managed to keep the HFS+ structures intact even though the drive was formatted to NTFS, and that you didn't use any partition system at all, or had the wrong partition type set for the NTFS partition. Thus the Mac had to probe for all kinds of partition systems, and HFS+ always comes before NTFS in the probe order. Formatting the entire drive, using the slow method which zeroes every sector of the drive must have finally erased all traces of the HFS+ structures. It's the only theory that I can come up with. Anyway, the important thing is that it works now. :) Cheers, - Erik
| Sun Jan 25, 2009 08:44 |
Who is online | Users browsing this forum: No registered users and 8 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
|
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group. Original forum style by Vjacheslav Trushkin. |