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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-10-2003, 07:40 PM
|
#1
|
Member
Registered: Apr 2002
Location: La Jolla, CA
Distribution: Redhat 8.0
Posts: 60
Rep:
|
the adventures of fat32, virtual machines, and linux
hrmm
so i finally had my computer setup and it was pretty spiffy
i had a 60 gig drive that has redhat 8 on it, and a virtual machine running win2k for the times when i need it
and then i had a 120 gig drive i was using as storage for music and stuff, which was fat32, so both virtual machine and redhat could access it
i gave the virtual machine raw access to the drive, and it was able to read/write from it fine
redhat had the same capabilities, and it was fine also
everything was working dandy, but one time when i was in win2k, i made some changes in the music folder, and i noticed it did not update in redhat
i then tried to redo the changes in redhat, assuming it was the win2k that was being fishy, and it had "generic errors"
i restarted my computer, redhat still had the old file structure, so i booted up the virtual machine
my virtual machine then said something along the lines of "hi, your hd is now messed up, let me go ahead and recover your data, put it in a big folder called FOUND.000 filled with FILE___.CHK"
so then i didnt have my music anymore, and i was like "hey, what is this poo" and i did a 'rename *.chk *.mp3' which "fixed" the problem
i had just moved all the stuff to the 120 gig drive like yesterday, so nothing was really fragmented, and all of my songs had proper 1d3 tags
so it looked like it may not be that bad, just use something like ID3-TagIt to rename all the file names according to id3 tag
but of course, every single file had jumping/skipping in it fro being fuxx0red
so that was the end to about 42 gigs, aka 3 years for, of a music collection, which i just spent the last month organizing and fixing id3 tags
now my question isnt like "how do i fix skipping mp3s?" no.
i just want to know what i did wrong, so after i redownload everything, i dont do it again
thanks
|
|
|
02-10-2003, 08:03 PM
|
#2
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
What is the virtual machine? Do you mean win4lin or vmware ... ? That's a possibility.
I suspect that your /etc/fstab may be wrong and the windows files weren't checked properly.
If you're sure it's correct, don't bother but what's your /etc/fstab look like?
Bert
|
|
|
02-10-2003, 11:15 PM
|
#3
|
Member
Registered: Apr 2002
Location: La Jolla, CA
Distribution: Redhat 8.0
Posts: 60
Original Poster
Rep:
|
vmware
fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hdb1 /mnt/storage vfat defaults 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
in redhat setup, i set that drive's mountpoint as /mnt/storage
other than that i didnt touch anything
|
|
|
02-11-2003, 09:04 AM
|
#4
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
Aha!
Quote:
Originally posted by tumnus
/dev/hdb1 /mnt/storage vfat defaults 0 0
|
/dev/hdb1 /mnt/storage vfat defaults 1 3
would have saved your system. Probably.
With the dump frequency set to zero and and the fsck check at zero, the system doesn't even look at the state of your vfat fs before mounting it - it just assumes everything's OK.
If the dump freq is set to one (doesn't really mean much though) and the fsck is set to 3, the system will do an fsck on / then /boot then /mnt/storage.
Yes. There is a massive performance hit at boot time (especially on the size of your disk). But that's the price you pay for keeping your fs integrity assured. If you really want to get round this, think about keeping a journalled fs instead of vfat (vfat is a dodgy fs anyway). Look at reiserfs and ext3 (which has fewer bugs now).
Bert
|
|
|
02-11-2003, 04:28 PM
|
#5
|
Member
Registered: Apr 2002
Location: La Jolla, CA
Distribution: Redhat 8.0
Posts: 60
Original Poster
Rep:
|
so it should be fine if i just change it to
/dev/hdb1 /mnt/storage vfat defaults 1 3 ?
or is there somethign else i have to worry about?
and win2k cant read journalized fs can it? i want to be able to have windows on vmware and linux both access the hd
but without anything messing up :\
|
|
|
02-11-2003, 07:07 PM
|
#6
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
Well, change that first of all, yeah. Have a look at the man page for fstab - it explains what those columns mean better than I can.
I don't like the sound of the the raw access from the vitual machine! Can you explain what you did there?
This whole problem has come about because the files on the partitions were not written properly (or synced properly if they're different disks).
THat could be because of your fsck not checking or because of vmware.
Bert
|
|
|
02-12-2003, 08:43 PM
|
#7
|
Member
Registered: Apr 2002
Location: La Jolla, CA
Distribution: Redhat 8.0
Posts: 60
Original Poster
Rep:
|
i just setup my /dev/hdb device up as a "raw disk"
i had to setup my cdr as raw ands tuff to burn cds anyway, so i assumed it was fine
and i dont think it was windows that had the issue
it was handling things fine, but it didnt seem to update and stuff in linux
what would be the easiest way to setup a hard drive to share between win2k vm and linux? would it be easier to to just make it ext3 or something and get somethin that can handle ext3 for win (if it exists?) :\
someone has had to have done this before hehe
|
|
|
02-13-2003, 01:21 PM
|
#8
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
I'm gonna leave you with a recommendation and hopefully someone with more experience with vmware can help.
Sharing the filesystem using vfat is a good idea. It's a good idea to allow the fsck check on it at boot time too. I don't recommend accessing it with vmware though. Think of using vmware in Linux to reliably access another OS like a miraculous but rather dangerous procedure.
Reboot into Windows if you can stand it. Then you're less likely to run into problems and could possibly turn off the boot time fsck check (by setting the fstab entry back to 0 0).
Can I guess it's to use Kazaa? We feel your pain. I use Gnutella on Linux but Kazaa simply kicks more ass in this department.
Bert
|
|
|
02-14-2003, 01:41 AM
|
#9
|
Member
Registered: Apr 2002
Location: La Jolla, CA
Distribution: Redhat 8.0
Posts: 60
Original Poster
Rep:
|
ya
kazaa roxxors :< (well, k++ with autosearchmore :P)
there were some little things also, but i guess i can just upload them and redownload, or just burn cds without finishing off to transfer
i bought a 48x cd r and 200 blank cds to burn all the music.... before i lost it all
so i guess i can just use them :P
i was just wondering if there was an easy way out i wasnt seeing :\
thanks for all the help though :>
|
|
|
All times are GMT -5. The time now is 03:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|