| Author |
need help sharing a file in redhat linux
|
san ch
Ranch Hand
Joined: Oct 18, 2004
Posts: 68
|
|
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
Joined: Jun 02, 2003
Posts: 1923
|
|
From linux to linux? NFS - network file system - would be my first idea.
|
http://home.arcor.de/hirnstrom/bewerbung
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
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.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Layne Lund
Ranch Hand
Joined: Dec 06, 2001
Posts: 3061
|
|
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
|
Java API Documentation
The Java Tutorial
|
 |
san ch
Ranch Hand
Joined: Oct 18, 2004
Posts: 68
|
|
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
Joined: Jun 07, 2003
Posts: 88
|
|
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
Joined: Jun 02, 2003
Posts: 1923
|
|
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
Joined: Oct 18, 2004
Posts: 68
|
|
|
Thank you very much will try out this and seee
|
 |
san ch
Ranch Hand
Joined: Oct 18, 2004
Posts: 68
|
|
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
Joined: Jun 25, 2001
Posts: 14491
|
|
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 ]
|
 |
 |
|
|
subject: need help sharing a file in redhat linux
|
|
|