LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-15-2003, 11:02 AM   #1
juby
Member
 
Registered: Dec 2002
Location: Bangalore, India
Distribution: Ubuntu 5.*
Posts: 241

Rep: Reputation: 30
Can we mount linux /fat 32 onto solaris


can we mount a linux partiton onto solaris ? and copy fiels like windows to linux ??
 
Old 03-15-2003, 11:50 AM   #2
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
If you mean across the network, the easiest solution is either NFS or SAMBA.

http://www.kempston.net/solaris/samba.html

If you want a little help with Samba on Solaris.

As for direct mounting it (same computer, not across a network), here's something I dug up using google.
(This is presuming you have support for the pcfs.)


--begin paste--
mkdir /Windows

mount -F pcfs /dev/dsk/c0d0p0:c /Windows

or you can make this mount automatically during boot by adding a line to the /etc/vfstab :

/dev/dsk/c0d0p0:c - /Windows pcfs - yes -

--end paste---

A few other tips:


run a

[i]man mount_pcfs [i]

for more information.

You might also check out these sites for more information.

http://mtools.linux.lu/

and

http://www.sun.drydog.com/faq/


Oh, and presuming you have proper support for ext2, you can do a normal


mount -t ext2 /device/partition /mount/path




Changing the /device/partition and /mount/path where appropriate.
 
Old 03-16-2003, 08:41 PM   #3
Infinite_Pizza
Member
 
Registered: Mar 2003
Posts: 47

Rep: Reputation: 15
how about if u want to mount a linux drive on the network ,for example :
I have 2 computer : (they can ping each other)
computer A = dual boot win98se & mandrake, say 192.168.0.1
computer B = Mandrake , say 192.168.0.5

I use mount command to access files/directories in computer A as follow :
Computer A I do :
vi /etc/exports
/mnt/networkout 192.168.0.5(rw)
ps aux | grep rpc.nfsd
say the job number is 1103
ps aux | grep rpc.mountd
say the job number is 1105
kill 1103 1105; /usr/sbin/rpc.nfsd ; /usr/sbin/rpc.nfsd

Computer B I do :

mount 192.168.0.1:/mnt/networkout /mnt/networkin

And here comes the problem ::
I can see the files in /mnt/networkin but when I try to copy or rpm directly in that directory it just looks like that it hangs (only the xterm hangs)

cp -iv /mnt/networkin/java.rpm.bin $HOME
*** ---> *** can't remember but after this it just hangs ... well the cursor still flash but it sits there for like 5 mins but still not finish with it.

I am just wondering if I have to config the NIC for the speed specification or is there a Network monitoring tools that I can use to see if it really is doing something

ps. I had tried to cp a "small" txt tile but it still hand so I don't think that it's because the copy file is too big so it too longer
Any idea ? greatly appreciated


ps . I get this error message while I am trying to shutdown the computer , probably because I close the xterm not the copy process :
umount nfs file system : cannot mpount prog RPC : RPC : port mapper failure - RPC unable to receive

what am I missing .... what file am I suppose to modify to make the port accessable ....
if u can see the file doesn;'t mena that u can manipulate the file ?

Last edited by Infinite_Pizza; 03-16-2003 at 08:42 PM.
 
Old 02-05-2004, 08:43 AM   #4
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
You want to study the difference between a local file system and a network file system. A local file system is like Ext2, Ext3, Fat32, NTFS, et cetera. A network file system would be more like SMB (Samba), NFS, et cetera. As long as it can get on a network and run Samba or NFS, it doesn't matter at all what the local file system is. By default, Windows only supports SMB (Samba). (I'm trying to keep it simple. There is also CIFS, but that's not important right now.). If you have Samba set up on your linux box, and not NFS, which is what you're describing, then you'll be able to mount the windows and linux shares back and forth.

You seem to have a good head for this, but if you can't find a way to configure Samba, let me know, and I'll see what I can do to help.
 
  


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
can mount C not D FAT: invalid media value (0x45) mount: wrong fs type, bad option Emmanuel_uk Linux - Newbie 10 11-29-2005 02:47 AM
How to mount FAT partitions under Linux automatically cquedugdylp Linux - Hardware 9 03-23-2005 10:14 PM
HowTo mount all Solaris (sun) ufs slices under Linux? DrLou Solaris / OpenSolaris 1 11-17-2004 11:36 AM
Cant mount UFS in Solaris but can in Linux sstallion Linux - Newbie 1 10-28-2004 07:47 AM
Mount a FAT HD onto linux. piglingz Linux - Hardware 2 02-13-2003 09:27 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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