LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-15-2007, 08:38 AM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 293

Rep: Reputation: 41
Lost files on SCSI magnetooptical drive


I have a Fujitsu 2.3GB magneto-optical drive. I'm running OpenSuSE 10.2. The drive is unpartitioned, so it looks like a single partition to Linux (and Windows). It is formatted as VFAT. Until recently it was behaving as expected; I could put files on it and read them later.

But recently (I'm not sure exactly when), all the files disappeared. I can still mount the drive and look at its contents. In fact, I can put new files on it and they remain visible and retrievable.

Here's the really strange part. This is a dual-boot machine. Under Windows all the old files on the drive are still visible -- along with the new ones that I put on the drive with Linux. I even put some additional files on the drive under Windows, but those aren't visible under Linux either. The files I put on under Linux are visible under Windows, however. Two questions, then:

1. What's going on? Why are some files visible under Windows but not under Linux?

2. Is there a way to make the old files visible under Linux?

The fstab entry for the drive is:

/dev/sda /magopt vfat user,iocharset=iso8859-1,users,rw,umask=0 0 0
 
Old 01-15-2007, 10:26 PM   #2
budgie9
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Rep: Reputation: 0
My drive did the same as you are seeing. However it is not the same drive but an older optical drive being 230 Mb, and is now used in my backup computer.
What I did to resolve the problem was to backup the data in Windoze, then reformated the 18 disks as fat32. It seems to me that Linux is not happy with opticals formatted to Vfat. I could be wrong but decided to reformt just in case I lost the lot.

Since doing so I can read the disks in both Linux and Windoze. I am not sure of this will help you, but worth a try?
 
Old 01-16-2007, 01:18 PM   #3
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 293

Original Poster
Rep: Reputation: 41
Angry VFAT and FAT32

The Linux mount program doesn't recognize FAT32, only VFAT. Windows recognizes only FAT32, not VFAT. I tried reformatting under Windows and recopying the files, but the files still aren't visible under Linux using VFAT, and there's nothing else I can see using. I think that VFAT is just the Linux name for FAT32.

Until recently all of this worked fine. There's been some system change that screwed things up.

I tried reformatting the drive under Linux and that just made it unreadable under Linux. It was still readable under Windows.

My next step, I suppose, is to turn the unpartitioned drive into one big partition and see if that helps.
 
Old 03-04-2007, 04:35 PM   #4
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
What's the difference between vfat and fat32? To me it sounds like vfat is more general and includes fat12, fat16 and fat32, but I could be wrong. I think the command mkfs.vfat -F 32 /dev/hda1 creates a fat32 partition. Here is an excerpt from the mkfs.vfat man page.

Code:
       -F FAT-size
              Specifies  the type of file allocation tables used (12, 16 or 32
              bit).  If  nothing  is  specified,  mkdosfs  will  automatically
              select  between  12  and  16  bit,  whatever fits better for the
              filesystem size.  32 bit FAT  (FAT32  format)  must  (still)  be
              selected explicitly if you want it.

Last edited by fakie_flip; 03-04-2007 at 04:37 PM.
 
  


Reply



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
LXer: How to recover lost files after you accidentally wipe your hard drive LXer Syndicated Linux News 1 08-29-2006 03:47 AM
How to mount a SCSI hard drive through a PCI SCSI card. jesuscakes Linux - Hardware 1 06-09-2006 04:28 PM
Lost: SCSI Tape Drive phonecian Linux - Hardware 4 07-08-2005 06:32 AM
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 09:01 PM
Need to copy files from a very old SCSI drive Dapper Dan Linux - Hardware 5 07-10-2004 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:49 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
Open Source Consulting | Domain Registration