Fedora Servers :: Mounting A Nfs Network Partition?
Mar 11, 2010
I am having trouble mounting a nfs network partition. I think my problem is related to the firewall in my server.
1. - When the firewall is disable in the server, all the clients are able to mount the network partition without a problem. This is good, but I want the firewall active.
2.- When the firewall enabled, without any port opened, none of the clients are able to connect to the server (expected behavior). This is the message I got:
mount -t nfs 192.168.1.103:/home/username /mnt/myHomeCaraota/
mount: mount to NFS server '192.168.1.103' failed: System Error: No route to host.
3.- When I open port 2049 only (see lines below) Nothing changed. I got the same message. No connetion
-A INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 2049 -j ACCEPT
4.- If I open ,additionally, ports tcp/udp 111 thre is an improvement because at least I get:
usename@laptop ~]$ sudo mount -t nfs 192.168.1.103:/home/username /mnt/myHomeCaraota/
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).
[Code]...
But in the last case I am opening everything to the clients (192.168.1.100-192.168.1.104) and I believe it is not a good use of the firewall. In summary, I think my nfs configuration is o.k, because I am able to mount the partitions when the firewall is down or when all the ports are open for a given number of clients. I also believe that I need to open ports 111 and 2049 because at leas the server is responding, but I know that I need something else, but I can not figure out what that is.
I'm setting up a server, and someone asked me (after I was done installing and formatting) whether the external hard disk attached to this server (with the /var partition) could also be mounted as a network drive for easy file transfer (i.e. drag-drop file transfer without ssh/scp or sftp). If someone has any ideas on how a pre-formatted (ext4) partition can be simultaneously made available as a network drive readable by a Windows machine.
What must be done to mount an ext3 partition that's on another computer which is connected via utp crossover cable? I can't seem to figure this one out, though I've read somewhere that it can be done, and I'd like to know how.
I've migrated back to Fedora as I am just displeased with the majority of debian based distros and Sabayon at the moment. Fedora has grown up quite a bit since FC9 and I'm here to stay. I keep all of my media and documents on a seperate partition on my disk and am wondering how I can have it set to automatically mount it upon startup. It gets kind of annoying having to re-enter my password every reboot just to mount the partition that 90% of my time is spent on.
I have the swap partition configured normally in fstab but it doesn't automount when I boot up. Not only that but I can't manually mount it either (ie with 'swapon -a', 'swapon -L /dev/sda7' etc). When I try I get this error -
Every time I reboot PC I have to enter the admin password to mount ntfs partition. Is there any way to avoid this. In Fedora 10 there was remember authorization option, is there any option like this in F12?
i am having troble with the permisions of a partition(/dev/sda3) that i have mounted as /home/stewi and wish to use it as my home dir, the only probolem is that it only lets the root user do anathing with the partition wen it is mounted as /home/stewi. i have tried running
Code: chown stewi:stewi stewi and Code: chmod 777 stewi while root, but i just get an eror mesage:
Anybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?
My university allows me to connect remotely to my storage space. In Windows, I can use: Code: \name.of.server.ca and after I type my userID and password I can map the folder to a drive letter (say, X:) In Fedora, I can connect remotely with Connect to Server using sftp/ssh (although I've not been able to store the userID and password temporarily). What I'd like is to mount or map the remote folder in a way that would allow me to access it from applications (for example, to call a files on the server from within LaTeX ).
i had installed fedora 14 into my new hardisk(1500gb) as new server the problem is how can i use the fdisk to partition the hardisk into two partition.
I setup a Samba share and I cannot connect. I can mount in on local host but when I CD to the folder I mounted the share on I get access denied when I run ls.
The default partition manager which OpenSUSE DVD 11.4 uses (Expert Partitioner) is not creating any logic partition with / mount because another system is already using it, is there anyway to fix this?
Running NFS on Fedora 10. Exports fine. I tested it locally. I tested the NFS configuration by trying to access the exported directory from my local machine, before testing it from a remote machine. While logged in as root, I created a new directory "/mnt/nfstest".
Then I mounted the NFS share at the new directory I created: [root@eric root]# mount -t nfs localhost:/mnt/nfs /mnt/nfstest
When I tried to mount on the remote client: [root@frank root]# mount -t nfs eric:/mnt/nfs /mnt/nfstest
After a while I got: # mount eric:/mnt/nfs /mnt/nfstest mount.nfs: mount system call failed
I tried strace but wasn't sure what I was looking for, but I've attached the results as a .odt file.
I have come across the following statement: " When a FAT32 partition is mounted at '/media/windows', all access to '/media/windows' and everything below it is transparently handled by the Linux kernel using the 'vfat' module. Applications need not know they're dealing with anything else. However, mounting a partition at a location inside of another mounted partition is unpredictable, unstable, and generally a bad idea. "
Is it correct? Most of my partitions are mounted on /home, which is on a separate partition; and I have one "level 3" partition. I have been using Ubuntu for nearly three years so far with no problems (except for /home losing it's format once).
I can not use nfs from F10 client to F12 server. nfs mount on F10 to F12 times out anf nfs4 mount gives "mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory" I have tried to close firewall and set selinux to permissive mode on both client and server with same result. Samba works fine. On server [root@flokipal ~]# mount -t nfs4 localhost:/home /media/tonlist mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory
but
[root@flokipal ~]# mount -t nfs localhost:/home /media/tonlist [root@flokipal ~]#
I have an external Western Digital Hard drive with two HFS partitions with journaling disabled.When I connect it to a computer running Linux (Debian or Ubuntu), frequently both partitions are mounted read-only. In the past, mounting them on my Macbook and executing the command to disable the journaling often worked (even though it would tell me that journaling was already disabled) but I would love to have a solution which works every time.
I have a dedicated server that Ubuntu 9.04 operating system has been installed on it. Before this dedicated server, I had another server that according to some reasons, it was put aside and I requested my datacenter support team to attach previous server's HDD to my new server in order to transfer its information to the new server's HDD. On the disks of previous HDD, Ubuntu 8.04 LTS OS had been installed and most of its capacity was full, but while I mounted that HDD on the new server, the contents of the primary partition were visible but the contents of the extended partition weren't visible. After some inspectings, I observerd that the extended partition type is converted to LVM. Before this, I didn't deal with this kind of partition. I tried to mount this partition but I failed. I read many articles about this problem and implemented instructions on the HDD but the LVM partition was never mounted that returns many different errors and even I pursued the reasons of this errors but non of these remedies didn't solve this problem. Since the datacenter had determined a specifies time for transfering information. then I had to return the SCSI HDD on the specified time, so I was forced to make an image of the hard disk by "TestDisk" software. I've made that image from the LVM partition which its capacity amounts to 150 GB but still I'm not able to mount the image according to instructions on the different related websitres. Since I'm really dummy in Linux Fle System field, I request you to help me to mount this image or extract its contents.
how to make my other partition mount at Ubuntu startup? I have a shortcut to my windows XP documents folder, but the shortcut is broken every time I restart because the other partition has not been mounted. I assume there is a terminal command I need to type into my start-up manager?
Ubuntu has been complaining about swap not being ready during boot. The swap partition was showing up un-known in gparted. I booted off CD, reformatted it to swap. Error message gone but system monitor > resources shows my swap size to be 86GB (the exact size of my shared NTFS volume). gparted shows the swap partition as not 'swapped on'
I am running Ubuntu 11.04 along side Windows 7 (as well as my factory restore partition) and an NTFS shared partition.
My partition structure in order of location on disc. Screen shot below to help. sda1-2 Windows 7 sda4, extended partition --sda6 Ubuntu --sda7 swap --sda5 NTFS shared partition sda3 Factory restore image
I wanted to know if it is possible to mount an ISO image to a partition and boot from that instead of a CD or DVD. I know it is easy to do it from a CD but I would like to know if I can also do it this way.
I want to mount my all windows partition in my "Red Hat Linux", please help me to mount all my windows partition in linux.And please tell if i mount windows partition is it harmful for windows/partition?
I have Linux Mint (LMDE) on another partition and I guess I need to do some 'fixing' so I need to mount the partition. I can't, though, not by just clicking the partition (obviously?). I assume this is because I need root access to mount it.
how I can do this?:
1) CLI - mount via CLI by mounting at some point - for e.g., mine is /dev/sda3 so mount as ?
2) Use an 'editor' or file manager - such as Dolphin - how would I do this?
3) Use a Live CD/DVD - I think this way is unnecessary but it's a way, right?
Anything I missed? I guess gparted could mount it?
Which method would you use?
I think one could ssh into it but I'm not able to do that yet.
I need to exit the xorg.conf file which is recently really messed up.
I am trying to mount 3 NTFS partitions, but they aren't showing up in the /dev directory. If I fdisk the drive, the partition shows up, but nothing in /dev...
Here is the output of fdisk -l as well as the results of my attempt to mount the partition.
I'm currently trying to mount a hfs partition at boot as part of my quest to have a shared music folder across ubuntu and OSX. Here's the output of fdisk -l
Code: WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.