• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help sharing a file in redhat linux

 
san ch
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Iam need help sharing a file in linux ,actually i have done mount ,but it doesnt work.i have some experience in solaris i had to specify the sharing location in /etc/dfs/dfstab.....can anybody tell me how to share in linux

thank you
san
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From linux to linux?

NFS - network file system - would be my first idea.

 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To mount some other machine's share, entries go in /etc/fstab.

To share out directories on you machine, NFS or Samba are the most common choices.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by san ch:
Hi

Iam need help sharing a file in linux ,actually i have done mount ,but it doesnt work.i have some experience in solaris i had to specify the sharing location in /etc/dfs/dfstab.....can anybody tell me how to share in linux

thank you
san


What do you mean by "it doesn't work"? Please provide some more details including what you did (exact commands and changes to files), error messages you recieve, and relevant contents of log files. If you can explain why you think it "doesn't work" in some more detail, we will be more able to help you figure out how to fix it.

Layne
 
san ch
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well sorry for not being clear
what i want to do is :i have a laptop which has windows xp in ntfs files sytem and i have a linux partition ,i want to see the ntfs partition from linux,i tried mount ntfs hda0 ,like that then iam getting a message which says file system not supported ,i have converted one of my ntfs partitions to FAT32 and tried ,still nogo

that is what i am looking at....can use samba to see windows partitions on the same hard drive ?
thank you for the help
 
Mark Wuest
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by san ch:
well sorry for not being clear
what i want to do is :i have a laptop which has windows xp in ntfs files sytem and i have a linux partition ,i want to see the ntfs partition from linux,i tried mount ntfs hda0 ,like that then iam getting a message which says file system not supported ,i have converted one of my ntfs partitions to FAT32 and tried ,still nogo

that is what i am looking at....can use samba to see windows partitions on the same hard drive ?
thank you for the help

You want this thread, I believe...

Mark
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by san ch:
well sorry for not being clear
what i want to do is :i have a laptop which has windows xp in ntfs files sytem and i have a linux partition ,i want to see the ntfs partition from linux,i tried mount ntfs hda0 ,like that then iam getting a message which says file system not supported ,i have converted one of my ntfs partitions to FAT32 and tried ,still nogo

that is what i am looking at....can use samba to see windows partitions on the same hard drive ?
thank you for the help


Well, on Solaris they name it 'hda0'?
This seems to be reasonable counting in the IT-world.

But on linux your first drive at the first controller is hda, and its first partition is hda1.

So try


'Sharing a file' is a term usually used when multiple running machines exchange files.
nfs at least will not work on unmounted filesystems and I guess samba won't too.

If this is still not working (I'm quiet sure it will) your kernel lacks perhaps module-support for vfat (but that would mean, you configured the kernel yourself, or took a very special distribution - vfat was supported from every SuSe, RedHat, halloween, peanut, knoppix and ubuntus I tried).
 
san ch
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much will try out this and seee
 
san ch
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey

i could mount fat32 partition with the following command
mount -v /dev/hda5 /windows

it is working however it says my kernal doesnt support ntfs when i try to mount ntfs partition..iam happy that i got the fat32 now i can wrk keeping data on that partition and shar it through both os
thank you ver much
san
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NTFS support in Linux is spotty. Not all distros provide an NTFS driver and most of the ones that do provide a read-only driver.

That's because Microsoft isn't forthcoming with NTFS internals, and apparently, they're not above jerking the spec around on a whim. Or, as IBM found out (NTFS vs. HPFS) out of spite.
[ August 23, 2005: Message edited by: Tim Holloway ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic