Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
But added my computer names and folders (nicolas-laptop (Ubuntu) as it is to browse, and nicolas-desktop (Xubuntu) as to be parts).
The only problem is that when I type the command "sudo mount nicolas-desktop:/home/nicolas/Music /media" as saying Ubuntu that it can not find the address.
nicolas-desktop is set to cable, nicolas-laptop is wireless. How do I get it to work after the wizard?
My desktop have installed NFS-kernel-server, and my laptop have nfs-common.
My desktop /etc/exports looks like this:
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes nicolas-desktop(rw,sync) nicolas-laptop(rw,sync)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes gss/krb5i(rw,sync)
#
/home/nicolas/Musiknumre nicolas(rw)
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
One note is if there is a firewall up on the NFS server the needed ports need to be opened through it for access or for a quick test is turn the firewall off to eliminate one possible issue.
Brian1: I don't have a firewall. Only on the router.
Geniushasan: I'm don't shure that I understand where i should put this in.
But I have added /home/nicolas/Musiknumre 192.168.1.1/255.255.255.0(rw,sync) in /etc/exports. And removed it was written before.
I tried to do what you say: mount -t 192.168.1.1:/home/nicolas/Musiknumre /media, i will create this in Media indstead.
Here i the shell:
_____________________
nicolas@nicolas-laptop:~$ sudo su
root@nicolas-laptop:/home/nicolas# mount -t 192.168.1.1:/home/nicolas/Musiknumre /media
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
root@nicolas-laptop:/home/nicolas#
dang i am literally sorry for typing it in a hurry,
it should be mount -t nfs 192.168.1.1:/home/nicolas/Musiknumre /media
where as you need to set the following ips on your machine
for server 192.168.1.1
for client 192.168.1.2
although the ips i specify was just to make you understand. you can use the default ips which is given by your router. make sure if you use the ips given by your router then you need to edit /etc/exports and change 192.168.1.1 to your assigned ip.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.