Let's say I have a machine exporting 3 paths via NFS.
Code:
/exports/foo
/exports/bar
/exports/bla
I would like to know if there is a way to determine how many clients have each export mounted at any given time. I don't necessarily need to identify which client has mounted what, just the number.
Code:
/exports/foo is mounted by 3 clients
/exports/bar is mounted by 1 client
/exports/bla is mounted by 0 clients
I have multiple ubuntu machines and I connect to one through an NFS share. I have done this for a few years without issue. However, since re-installing ubuntu and upgrading to 10.4 I have a problem with my system hanging when the remote shares are lost.
Basically, I can power down the machine downstairs, and my main machine then has a fit. I can not open any folders in ubuntu, nor can I shut down. If I try and shut down the system hangs, last time it hung for 8 hours before I had to kill the power.
These are the lines in my fstab
I don't know what I've done wrong, or how I can prevent this from hanging. I have googled the heck out of this as well and can't seem to find an answer either.
My Debian Lenny server crashed today for some inexplicable reason, and now one of my machines refuses to mount NFS shares on bootup. Manual mounting works fine. It's just one machine; the others are still mounting normally.
I have set up an NFS server on Fedora 13, and I am connecting to it with Fedora 13 and Ubuntu 10.
On both clients the command
Code:
works fine. On Fedora I can get into the directory with Nautilus and have read/write permissions as specified in /etc/exports on the server, but on Ubuntu I can only get into it from a sudo'd command line.
The ownership of the file on Fedora is "nobody" and on Ubuntu it's "user #500", with only people in the "500" group having access to it.
Obviously the permissions can't be changed on the client, but with the Fedora box being able to read/write to it with no problems I'm not sure what else I can do on the server to let normal users on the Ubuntu box read it.
I would like to monitor a RedHat via snmp. I would like to make available data via snmp. The data that I would like to graph are only present in logs file. Is it possible to parse data from applicative logs and have them available for my cacti server via snmp? I already monitor CPU, mem, and others with cacti using the standard MIB.What would be the logical step I would need to achieve that?
Do you guys know any free tools to monitor a server ? Something like Nagios or Zenoss but free. If so what's a good one that you guys would recommend ?
I hope the server forum is the best match for my post, otherwise please redirect me. I have a Fedora 12 Desktop machine running at a remote site and have no keyboard not a screen connected to it. After rebooting it remotely I was surprised to learn the machine did not come back up again. (It did when I tested it while I was on site).
On my same box are two slackware-installations: one slackware64-13.1 and one slackware32-13.1.
There is an ext Hitachi-hd plugged on my box. With slack64 the ext hd has the uid of the normal user, so I can copy files onto it as user. With slack32 the ext hd has the uid of root, so only root can copy files onto it.
The mounting is "on the fly" with power on/off of the ext hd and NOT set in fstab. How can I change the "automatic" mount-defaults in slack32, that the uid is set to normal user instead of root?
I'm having difficulty getting a usb device (garmin edge 500) to mount. I believe the behavior is that it mounts the first time after startup but not again.dmesg of failed mount:
Code: [76991.476050] usb 4-1: new full speed USB device using uhci_hcd and address 5 [76991.638744] usb 4-1: configuration #1 chosen from 1 choice
I have an extra HDD to upgrade from 250Mb to 500Mb.I followed InstallingANewHardDrive in this forum under Community Documentation. The drive is mounted automatically and I have given myself ownership.The problem I have is that I cannot see the additional space in my home directory.
graham@graham-desktop:~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 231381656 211113260 8514844 97% /
I have a doubt in monitoring all my web applications.Actuallyhave about 20 web applications hosted through tomcat in our server.How to monitor all those applications at a time,whether it is up or not . Do we have any options in operating system itself for monitoring using logs.Because all those applications were accessed by clients and we should intimate the client first about outage in case of any problem in accessing our web application.
I am using Nagios (with pnp)to monitor my servers,but I found the default plugin check_http is not good enough, may I know what plugins you are using to monitor apache ?
All of my USB -- media, flash drives, media players, SD cards -- mount as read-only on my system. Following is a bunch of output from questions I expect to be asked / debug info.
Groups I'm in gmweezel@computer:~$ groups gmweezel dialout cdrom floppy audio video plugdev netdev powerdev DMESG output gmweezel@computer:~$ dmesg | tail [17532.047289] sd 13:0:0:0: [sdg] Write Protect is off [17532.047292] sd 13:0:0:0: [sdg] Mode Sense: 45 00 00 00
Let me quickly state that I am returning to Debian after quite a long break. I am trying to relearn some things. I suppose I'm somewhat old school. As in I originally installed from rawright, back in the days when you had to do practically everything by hand. I was quite happy with config and make. I actually learned a ton back then, as I started out knowing nothing. I guess I can learn to catch up with the modern linux world.
Anyway here is my question? In the old days if I wanted something not to be mounted I would simply comment out the entry in /etc/fstab. I notice that my USB drive is mounted but does not appear in the fstab. It is in mtab, and lsusb does show it.
If I wanted to secure a system, but not totally remove usb support from the kernel, how would I prevent the automounting of USB drives? What are the configuration files that govern their operation?
On all of them any attempt to mount an nfs drive fails with:
Code:
This happens immediately - within a few tenths of a second at most. It happens whether I use mount -a(mounts are listed in the fstab file) or a full mount command. It happens on both 32-bit and 64-bit installs.
Nothing appears in the messages log file on either the server or the client machine.
It was working in Fedora 12.
Iptables and ip6tables are both disabled. nfsd is running.
Hosts.allow and hosts.deny both exist on the client, but are empty. They contain nothing but comment lines.
I can ping the server and run ssh shells to it. I can open Web pages in Firefox.
My kids each have an ipod touch. Occasionally I connect them to my laptop and use dolphin to pull the pictures off them. I've noticed recently that the ipods don't automount in kde. I know that they were mounting under suse 11.3 (kde 4.5); I can't remember whether they ever mounted under 11.4 (kde 4.6.3). Last night I needed to back up the ipods, and I found that I could do that if I booted into gnome (they mounted right up as volumes in gnome), so the issue seems to to be kde-specific.
I mount a smb share in suse 11.2 like so mount //ip/share /mnt/point That's fine. It works. A few days later I find all shares I've mounted like that have mysteriously disappeared. I can't find out why, nothing in logs, no obvious causes. When I say disappear I mean its like something did an umount /mnt/point. They no longer appear in the mount list, they are no longer mounted, and I need to type in the mount command for them to come back.
I tend to leave the boxes running until they crash or need a reboot, and always have. This problem I've only seen in 11.2. I have a 11.1 and 11.0 boxes running too, and the mounts are stable on those. I can't find any references anywhere to this behaviour.
I'm using Linux in a large multi-user network. Let A be some group which I'm am member of, but which is not my primary group. According to chmod(2) I should be able to chgrp a file to group A. Trying to do so succeeds on a local as well as on a NFSv3 mount, but not on a NFSv4/Kerberos mount (EPERM). Are there any special considerations regarding chgrp when using NFSv4 mounts?
I mistakenly unplugged my 4th Generation Ipod Nano while Rytmobox was transfering files, the ipod is working great but Ubuntu refuses to recognize it. I don't dee it anymore in /media and Rytmobox doesn't recognize it anymore.This is the result of sudo fdisk -lQuote:
Disk /dev/sdf: 7971 MB, 7971016704 bytes 35 heads, 41 sectors/track, 1356 cylinders Units = cylinders of 1435 * 4096 = 5877760 bytes
I moved some win98 drives into my 10.04 server, and would like to add them to my fstab file.Do vfat partitions have uuid's?If yes, how do I get that number?If no, I can use /dev/sdc1, and /dev/sdd1, can I get an idea what the fstab line will look like?Do I need to create the mount points (say, /WindowsCdrive) before the fstab will mount the partition?
What the hell is wrong with 11.04? One day I wake up and find all of my mounts functioning properly, the next day many are missing. I've been running with the same fstab for years. The problem isn't only with cifs shares, but even with internal ext4 shares. I'm so disgusted I'm about to run to Windows after 10 or so years of prompting people to move to Linux.
Is there way that you can specify the source address to use when mounting a remote share? I'm trying to test an application, and I need to be able to script a job that connects to a remote SMB server using different local IP addresses on the system. It would have 1 main address, and several aliases in the same subnet. The script would mount the remote server, transfer a file, then unmount, change IP, and repeat.
I`m using cifs to mount a windows 2008 server share. I`m mounting it read only and using an rsync script which works quiet nice.
Recently I couldnt mount the windows share anymore, i didnt know the account iam using would go inactive if i never logged in.
Just where does cifs write a log if it can`t mount a windows share? If I knew where it is it would also be easier to find the reason if it doesn`t work.
How do i check if NFS mounts are still up and running?
when i do the command MOUNT , i get some result, but how can i see (or check) if they still up and running? I'm not so familiar with this command, so i hope that someone can guide me
I know that there must be some NFS links mounted, so if one fails, i need to see that with like an echo or something.
I'm currently running a dual-monitor setup using gnome-display-properties. I have a dual-head video card.
What I would like to do is to use a remote X server as a third monitor. I installed Xdmx and Xinerama, but I can't figure out how to get Xinerama up and running. Is there any documentation that tells you how to configure Xinerama on Fedora 13? Is Xinerema compl
$ uname -a Linux efes 2.6.34.7-66.fc13.x86_64 #1 SMP Wed Dec 15 07:04:30 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
i have a web server, nas server sitting in the corner of my room and just upgraded to lucid via ssh and it is quite strange that ubuntu server wont start unless a monitor is plugged in and i really don't want a monitor sitting in the corner
I'm trying to get a remote viewer / VNC on a PC without a monitor. The default one that comes with it seems it wont work without a monitor attached (including that every time I connect, it asks me to enter the keyring password). Is there a way to get VNC server installed that it will mirror my desktop?