LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2008, 04:07 AM   #1
themeone
Member
 
Registered: Mar 2008
Location: Croydon UK
Distribution: Debian
Posts: 33

Rep: Reputation: 15
How to access Ext3 partition on Windows machine


I have a machine which dual boots Windows XP and Ubuntu 7.04 from two separate hard drives.

On the same hard drive as Ubuntu I also have an Ext3 partition with music files on it.

I use a couple of other Linux computers on the network as well, and like to access the music files on the Ext3 partition over the network. Easy via an NFS share when the dual boot machine is logged into Ubuntu.

However, over the coming months the dual boot machine is going to be logged into Windows most of the time, and want to know the best way of continuing to access the music files over the network - remember they're on a separate drive from Windows.

I've tried one method which didn't seem too successful. I used Ext2IFS in Windows to access the Ext3 partition, and then set up a Windows share but found I could only see some of the files from the remote Linux machines (mounting the share with mount.cifs).
 
Old 03-29-2008, 07:37 AM   #2
BallsOfSteel
Member
 
Registered: Mar 2008
Location: Florida
Distribution: Fedora mainly, but I am open to others.
Posts: 273

Rep: Reputation: 34
Do a google search for ext2/3 drivers for Windows. They exist, I have them currently. I believe it's an .exe file that runs from where ever it is and allows you to see, read and write to ext2/3 file systems.
 
Old 03-29-2008, 08:25 AM   #3
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by BallsOfSteel View Post
Do a google search for ext2/3 drivers for Windows. They exist, I have them currently. I believe it's an .exe file that runs from where ever it is and allows you to see, read and write to ext2/3 file systems.
Its called EXT2IFS

I use it on XP x64 and Vista x86

http://www.fs-driver.org/download.html
 
Old 03-29-2008, 08:27 AM   #4
themeone
Member
 
Registered: Mar 2008
Location: Croydon UK
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
I'm already using EXT2IFS and it's working fine on the Windows machine. My question is about how to access the Ext3 partitions on the Windows machine from other machines running Linux.
 
Old 03-29-2008, 09:41 AM   #5
BallsOfSteel
Member
 
Registered: Mar 2008
Location: Florida
Distribution: Fedora mainly, but I am open to others.
Posts: 273

Rep: Reputation: 34
Are you talking about on a LAN? Or do you want to be able to remote in from another Linux box (via vnc, ssh or otherwise)? I've never tried that before, you should just be able to share it like any other drive and make it available to the network. However, I can't vouch for the stability or functionality of something like that.

Regards
 
Old 03-29-2008, 11:43 AM   #6
themeone
Member
 
Registered: Mar 2008
Location: Croydon UK
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
It's a LAN. Basically what I've tried is this:

On the machine running Windows I've used Ext2IFS to see the Ext3 drive on the machine's other hard drive, and I've assigned the drive to, for example, Drive F. All works fine on that machine - I can see everything in the Ext3 drive from Windows.

I then set up a Windows network share for Drive F, sharing it as, for example, "ext3drive".

From another Linux machine on the LAN I can access the Windows share with this command:

mount.cifs //IP-OF-WINDOWS-MACHINE/ext3drive /mnt/other -o guest

It all seems to work OK, but in some of the subdirectories in the Windows share, I don't see all the files that are there e.g. in one directory there are 59 files, but I only see 29 of them.

So is there an easier/better way of doing what I want here? Or have I just done something wrong?
 
Old 03-29-2008, 12:04 PM   #7
BallsOfSteel
Member
 
Registered: Mar 2008
Location: Florida
Distribution: Fedora mainly, but I am open to others.
Posts: 273

Rep: Reputation: 34
Make sure particular files aren't hidden or unshared. Something tells me if you aren't seeing everything, it might be a problem with the driver itself. Maybe check out the site that Carl posted and see if there any known bugs. It might be under that.
 
Old 03-29-2008, 11:47 PM   #8
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by themeone View Post
I'm already using EXT2IFS and it's working fine on the Windows machine. My question is about how to access the Ext3 partitions on the Windows machine from other machines running Linux.
It sounds like a windows share permission problem

so you have the EXT3 partition on a Windows XP Machine?
Lets assume you mounted this EXT3 Physical Hard Drve to X: Drive using Ext2IFS

you then shared X: Driver using windows File Shaing as 'Music' Share.

Is this correct?

If so this is what i do and it works correctly

Do other Windows Shares work correctly?

Samba as far as i am aware is not case sensitive and support less file characters than Linux (& * ! ? etc)
If a song contains anyof these Samba server on windows may stop listing files to the client (aka missing some files)


PS this is all really awkward way of doing it, Windows Frags the hell out of all drives and more over Windows cannot Defrag or do maintenance like fsck/scandisk on EXT3 volumes.

Last edited by carl0ski; 03-29-2008 at 11:50 PM.
 
Old 03-30-2008, 05:48 AM   #9
themeone
Member
 
Registered: Mar 2008
Location: Croydon UK
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
carl0ski, that is exactly what I'm doing yes.

I even re-set it all this morning i.e. took off the Windows shares, rebooted Windows, re-established the Windows shares and tried again. Same result from the Linux machines - I can only see roughly half of the files in each sub-directory of the Windows share.

So far I cannot identify any distinguishing features for the files I can't see - it seems to be random, the file names do not contain any of the characters you mentioned, and the file permissions give no clue either.

Could it be there's a size limit i.e. somehow data beyond xxMb in a subdirectory will not be seen?

Since it works for you though, I'm going to keep looking. I bet there's something I've missed somewhere.

I realise this is an awkward way of doing things. I would be happy with just read-only access to these files from Linux, provided I could see all of them!
 
Old 03-31-2008, 03:43 AM   #10
themeone
Member
 
Registered: Mar 2008
Location: Croydon UK
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
I've now checked the file names for characters which Windows doesn't support - there aren't any.

A friend of mine suggested Windows might fail to share file names which are beyond a certain length, but it had successfully shared the file with the longest name that I have, so it's not that.

I changed the name of one of the files that wasn't being shared to something really short (5 characters) and Windows still failed to share it.

None of the files is hidden - at least they were not originally saved with names beginning with a ".", unless there's another kind of hidden file I don't know about.

But the weird thing is, when I'm on one of the other Linux machines I can play the music files - *even the ones that don't show up in directory listings* by typing in the correct file name. So I guess Windows has shared them in some sense.

I think all I can do is try one of the other Ext2 Windows drivers and see if I get a better result.
 
Old 04-27-2008, 11:42 PM   #11
reza_ccna
LQ Newbie
 
Registered: Apr 2008
Posts: 17

Rep: Reputation: 0
hay themeone ....

did you get your solution. i want to know what was the solution plz let me know.
i also think the problem was with the software Ext2IFS.
 
  


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
colinux access to ext3 partition (opensuse root partition) billtracy1957 Linux - General 0 05-03-2007 10:29 PM
Windows XP machine fails to access Ubuntu machine gwatts Linux - Networking 6 03-04-2007 01:04 PM
Can't access ext3 partition ashley7 Fedora 2 08-29-2004 02:13 AM
Read/Write access ext3 partition st00 *BSD 5 06-28-2004 08:46 PM
Access EXT3 partition form windows Wynand1 Linux - Newbie 6 03-05-2004 05:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:22 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