Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
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).
Distribution: Fedora mainly, but I am open to others.
Posts: 273
Rep:
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.
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.
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.
Distribution: Fedora mainly, but I am open to others.
Posts: 273
Rep:
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.
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:
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?
Distribution: Fedora mainly, but I am open to others.
Posts: 273
Rep:
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.
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.
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.