Red Hat / Fedora :: Display Active Mounted Filesystems Using C?

Feb 10, 2011

I want the sample code to display the active mounted filesystems for a particular user from VM server.

View 1 Replies


ADVERTISEMENT

General :: Fsck And Manually Mounted Filesystems?

Nov 12, 2010

I want the filesystem of my external drive to be checked periodically after a numer of mounts. I put 2 in the sixth colums of fstab for this partition

Code:
/dev/sdb1/mnt/hdext3rw,dev,sync,user,noauto,exec,suid02
and I use the tune2fs to set the maximum mount count to 32.
Code:
tune2fs -c 32 /dev/sdb

now the mount count is 34 and the date of the last check is not recent, so apparently the auto fsck has not been performed. Probably because this partition is not mounted at start-up but I usually mount it manually.

View 3 Replies View Related

Server :: Nfs: Server - Not Responding - Double Mounted Filesystems?

Aug 23, 2010

I have problems with nfs. There is an old legato cluster Automated Availability Manager on Linux. And lately we noticed problem with nfs

in the logs there are still entries:

I tried to add more threads in /etc/sysconfig/nfs but it didn't help.

And on one node there is info regarding double mounted filesystems with df -h command. Why? In /etc/fstab is only one entry.

View 1 Replies View Related

Fedora :: Fatal Server Error: Server Is Already Active For Display 0

Nov 27, 2010

I have VIA/S3G unichrome IGP video card of 32MB after installing fedora i am getting very worst resolution of 600x400which is completely irritating so please provide me a way out from this problem to use fedorathe solutions i followed and failed are given below

1. Some one told me to change the xorg.conf file but i failed because there is no such file in the given location

2. Some one told me to create it using system-config-display but for fedora 14 there is no package for that

3. some one told me again of using the command Xorg -configure but it said as followed [root@localhost tmp]# Xorg -configure

Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again.

[code]....

View 2 Replies View Related

OpenSUSE Install :: Crash: Server Is Already Active For Display 0

Jan 24, 2010

I think I've totally destroyed my Suse install, but I have no idea what happened.

I was running Yast's "Create a backup" utility and my screen totally went black and kicked me to the login screen. I was unable to log in, except to a terminal.

So, then I tried to restart X (by typing startx) and I get "Fatal server error: Server is already active for display 0"

I've tried running the repair utility, and it doesn't work. Through a number of commands, I was able to start up a second X session, but that wasn't really much help.

View 8 Replies View Related

Software :: Locks Keyboard And Mouse But Leaves Display Active?

Feb 4, 2010

I have a computer whose display I want active all the time, but that I don't want people coming up to and doing anything on. At the same time, I want the keyboard and mouse to remain connected because even though they will seldom be needed, when they are needed it's important that they be available quickly.I guess I'm looking for a screensaver that doesn't save the screen. Something that prevents the mouse and keyboard from doing anything unless a PAM authentication is entered, just like a screensaver would

View 1 Replies View Related

Ubuntu :: Conky Display All Mounted Drives

Sep 18, 2010

So I'm running Fluxbox as my window manager in Xubuntu. I use ivman to automatically mount any usb devices.Now I was wondering if it's possible to have conky display all mounted drives and some information about them.I saw you can do {$ifmounted /media/blah} but this would assume I have a set number of devices preconfigured in fstab. It doesn't account for some random guy's flash drive, or a buddy's smartphone.

I know mount | grep sd outputs a list of mounted drives. So then could I somehow format that output and pass it to conky? Or do you guys have any more clever ideas on how I could accomplish this?

View 9 Replies View Related

Ubuntu / Apple :: Screen On Display Entirely Black - External Monitor Never Becomes Active

Apr 3, 2011

Just did a fresh install of Natty B1 (previously had alpha 2).. I noticed this issue w/ A2, as well.. plugging in the exterminal monitor (via mini-displayport-to-vga connector) will do the following:

1) turn the screen on the laptop's display entirely black (but not turn it off).. i can move and see the mouse cursor.. but everything on the window appears to not rending or "painted" black..

2) external monitor never becomes active..

the only way to recover is to kill/restart X or reboot after disconnecting the extmon.. having extmon plugged in from boot produces the same results (and it doesn't seem to ever become active during boot up). sometimes this won't happen right away if i plug in the external monitor.. but opening the Monitors system prefs dialog will definitely cause (or detect displays) ,etc I waited to see if the issue would fix itself w/ the beta update, but it hasn't.. Any other 8,1 owners out there that can verify this issue? My (totally uninformed) guess is that it's due to differences in the display/gfx hardware and thunderbolt integration(?)

(I've seen a verification verifications of working-out-of-the-box.. but they were from 8,2 and 8,3 owners (which have discrete graphics cards))... If anyone's gotten this to work with some config stuff, I'd love to see that as well (since the wiki page for 8,1 says it works ootb). If someone could let me know where I should look to capture error output when the above issue occurs, that would be awesome.

View 4 Replies View Related

Ubuntu :: Prevent Display Of Mounted Home Folder On Desktop ?

Feb 9, 2010

I recently changed linux distros and switched to Karmic. In my earlier setup /home was on a separate partition.

After switching to karmic I added the following line to /etc/fstab to mount my /home partition which was on /dev/sda6 (ubuntu is on /dev/sda7) /dev/sda6 /home ext3 nodev,nosuid 0 2

After rebooting I saw that while earlier I had an empty desktop now my desktop shows the content of my home folder.

On googling I found out about how I could change the nautilus preferences.

I used gconf-editor to change: apps>nautlius>preferences>desktop_is_home_dir to false

I also changed: apps>nautlius>desktop>volumes_visible to false.

However on rebooting I still see all the contents of my home folder on the desktop.

What do I need to do to show the Desktop as blank (as in point to ~/Desktop rather than point to ~)?

View 2 Replies View Related

Ubuntu Networking :: Check The Network Connection Applet, It Display Active Information Of Eth0?

Jun 7, 2010

I have a question regarding the configuration of Network Connection. My wired connection is fine right now and when I check the network connection applet, it display active information of eth0. However, when I click the Configure button, the Network Connection window appears but there's nothing in the Wired panel. Should there be a eth0 in that panel? I remember I had one before, but after I messed with some configuration of VPN, my network became unstable and I remove the Network Manager to try to solve the problem. Since then, there's nothing in my Network Connection window, though I can still connect to my router with eth0. Now even after I reinstalled the Network Manager, I still don't get anything.

View 7 Replies View Related

Fedora :: Back Up Filesystems Without System Dying?

Jun 7, 2010

I have a 2TB USB drive which I use as a backup device - I dump two filesystems onto it, totalling around 1TB. However, doing the dump trashes my F11 system, making it basically unusable, not only during the dump but also afterwards. I have 8GB of RAM, all of which is needed and normally in use, but when dumping, the system starts hogging huge amounts of it as buffer space - up to 1GB of RAM is reported to be allocated. And rather than using free memory for buffer space, it seems to aggressively swap processes out to get it. The system tends to melt down as a result, and just switching virtual desktops can take 5 minutes.

But after the dumps finish, the problems continue - the system is currently trying to keep around 700-800MB free, and continually swapping out processes to do so, even after the buffer space in use has gone back to about 100MB. This seems like strange behaviour for a fairly common type of activity. Presumably a lot of the buffer space is used to store what is being read from the filesystem (which will never be needed again), and some is used to cache the writes to the USB drive which is slower than the internal hard drives.

I have spent a lot of time trying changes to some of the kernel parameters, after reading articles about them. Of all the ones I've tried, setting vm.dirty_ratio to 1 instead of 5 helps a bit, and setting vm.dirty_background_ratio to 5 instead of 20 makes some improvement I think. Setting vm.swappiness to 0 doesn't seem to help at all.

So my question (at last!) is - how can I back up my filesystems without my system dying? In particular, can I limit the space used for buffers somehow, or turn off buffering for the dump process? And why does dumping result in the system artificially keeping huge amounts of space free afterwards, so I have to reboot to make the system usuable again?

View 5 Replies View Related

Fedora :: Check Filesystems At Boot Time?

Nov 9, 2010

What are others' views and experience regarding automatically checking filesystems (running fsck) at boot time?To be more clear, I have left the ext3 filesystems on this machine set to require checking after a fixed number of mounts by using tune2fs with the '-c' option. I've done this mainly because of the following (from the tune2fs man page):

Code:Youshould strongly consider the consequences of disabling mount-count-dependentchecking entirely. Bad disk drives, cables, memory, and kernel bugs could all corrupta filesystem without marking the filesystem dirty or in error.e using journalingon your filesystem, your filesystem will never be marked dirty, so it will not normallybe checked. A filesystem error detected by the kernel will still force an fsck on the nextreboot, but it may already be too late to prevent data loss at that pointBut what does anyone else do? Is there really much risk to disabling this automatic checking

View 3 Replies View Related

Fedora X86/64bit :: Mounting Other Filesystems: FAILED?

Aug 25, 2011

Mounting other filesystems:FAILED i got this error on startup.Tryed to change names,to put none but always the same.

Code:
# /etc/fstab: static file system information.
#

[code]....

View 14 Replies View Related

Fedora :: Hangs On Boot (mounting Local Filesystems)

Feb 13, 2010

I'm using Fedora 12 on my Thinkpad X200 and had no major problems since Installation of the Release Candidate. Unfortunately, since a week Fedora makes trouble when booting:

The system boots some times without any problems, some other times it hangs in the following way:

Code:
Gdracut: Mounted root filesystem /dev/sda1
dracut: Switching root
Welcome to ^[[0;34mFedora
Press 'I' to enter interactive startup

[Code]....

View 4 Replies View Related

Fedora Installation :: Best Method Of Dual Booting (Different Filesystems)

Nov 23, 2010

After recently looking around the Linux world, I decided that I would also like to try fedora. Primarily because of the BTRFS file system that I would like to try out while still having Ubuntu as my main OS. Normally, I'd just partition as usual as I would with any of my other OSs, however this is the first time I have tried to dual boot two Linux installs on two different file systems. Does anybody have a better method of going about this? Or to just go about it as usual and install on two different partitions? Also, I do not want to wipe the data from the computer as it is now. I have it all backed up, but I don't really want to go through the hassle.

View 4 Replies View Related

Debian Multimedia :: Fatal Server Error:Server Is Already Active For Display 0

Nov 15, 2010

I have got xorg and gnome-core installed. When I put in command startx I get the following message: X: warning; process set to priority -1 instead of requested priority 0 Fatal server error:Server is already active for display 0 If this server is no longer running,remove /tmp/.X0-lock and start again. when I try to sudo Xorg -configure it shows me same message server is ..... lspci shows me the following information 04:02.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)So what I am doing wrong and how do I get this videocard working with Xorg.

View 7 Replies View Related

CentOS 5 :: Fatal Server Error: Server Is Already Active For Display 0

Nov 19, 2010

that's my first linux server. on my root is CentOS already installed. when i connect via "Remote Desktop Viewer" i log in with my accout.

then i see the textmode and type in "startx" and "init 5" but nothing happens but i can see this:

[root@server004 ~]# startx
xauth: creating new authority file /root/.serverauth.2896
Fatal server error: Server is already active for display 0

If this server is no longer running, remove /tmp/.X0-lock and start again.

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.

[code]....

View 1 Replies View Related

Fedora :: Stopping Automounting Filesystems In Fedora 10

Mar 8, 2009

Fedora automounts my hardisk partitions on the desktop. This creates too much clutter on the desktop. How can I make Fedora stop automounting other partitions. I looked in /etc/fstab, but could not locate any entry relating to this. Any body know how can I achieve this ?

View 4 Replies View Related

OpenSUSE :: Error "At Least One Display Must Be Active"?

Feb 9, 2010

I'm running OpenSUSE 11.1 and just upgraded from KDE 4.1 to KDE 4.3. Unfortunately YaST -- which worked fine before -- fails to cooperate and whenever I try to change anything, e.g. my keyboard settings,gives me the error message "At least one display must be active". Well, what does that mean? Of course, I have an active display and I also included the repositories for the NVIDIA graphics card

View 1 Replies View Related

Fedora :: Mounting Local Filesystems: Mount: Unknown Filesystem Type 'LVM2_member'

Mar 28, 2011

I just updated Fedora 14 with the updates it downloaded and I am now stuck with the error.

View 10 Replies View Related

Ubuntu Servers :: MySQL - Setup An Active / Active Load Balanced And High Available?

Mar 11, 2011

how to setup an Active/Active Load Balanced and High Available (If one of the nodes is down the system still runs) MySQL cluster. I have found quite a few howto's but I have some things unclear in my mind. I found a few solutions like this one: [URL] or this: [URK] Those are using two or four MySQL nodes, two Load Balancers to avoid a single point of failure but only one MySQL cluster management server. What happens if the MySQL cluster management fails?

I have also found a "MySQL Master-Master Circular Replication" technique but from what I read, with this option there is a chance that conflicts will arise if node A and node B both insert an auto-incrementing key on the same table.

View 1 Replies View Related

Ubuntu :: Login And Xserver - Error "Server Is Already Active For Display 0 If This Server Is No Longer Running"

Jul 14, 2010

I've just upgraded (finally) to 10.04 desktop, and when I boot, I get a login screen, which is quite usual, but once I log in, the machine drops to terminal, instead of the usual GUI. I've tried running startx, but I get this error message. Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again.

View 1 Replies View Related

Fedora :: System-config-display Just Ruined Display?

Jun 29, 2010

I did not have any /etc/X11/xorg.conf, so I read on these forums that system-config-display would create one for me. I ran system-config-display and it created an xorg.conf. But now my display is all messed up!! So, I deleted the xorg.conf and nothing changed. Why on earth would the display still be messed up if I deleted the file that was causing it?? Does system-config-display change somethign else?

View 14 Replies View Related

Fedora :: Display All Disks And Partitions Available In A GUI Display

Dec 1, 2010

I have installed Fedora 14 Security Spin, and want to display all disks & partitions available in a GUI display. How can I achieve that?

View 1 Replies View Related

Ubuntu :: Only Single Core Active On Quad Core AMD When Acpi Is Active?

Jun 8, 2011

Only Single core active on quad core AMD when acpi is active.with acpi=offuname -aLinux dvip4 2.6.32-30-server #59-Ubuntu SMP Tue Mar 1 22:46:09 UTC 2011 x86_64 GNU/Linux

Code:
cat /proc/cpuinfo
processor : 0

[code]...

View 1 Replies View Related

Fedora :: Use In Fedora To Modify The Schema In Active Directory?

Apr 13, 2011

Is there a tool I can use in Fedora to modify the schema in Active Directory?

View 2 Replies View Related

Fedora :: Active 3D On ATI Card F13?

Jun 6, 2010

When the day Fedora13 was released, I downloaded one and installed it. After runing the command:

Quote:

yum install mesa* xorg* fusion* compiz*I can't active 3D effects. But on fedora 12, it takes effect by runing that command. My graphic card is Ati pro 2600 It is maybe the bug of fedora 13. Post added at 05:44 AM CDT Previous post was at 01:23 AM CDT

View 11 Replies View Related

Fedora :: USB Not Active After WakeUp?

Dec 5, 2010

i'm having this problem:when i put Fedora to sleep the system disconnect all my usb (or so i think)basically i can't wake up my computer becouse there is no where to do itit gets back to normal after i power it off/on...how can i fix this?please since i'm new both to fedora and linux try to be detailed with the explanations, or there is a good chance i won't understand a thing ^^---------- Post added at 02:27 PM ---------- Previous post was at 02:26 PM ----------

View 3 Replies View Related

Fedora :: Disable The Active Corner?

Mar 23, 2009

I'm running fedora 10 with enabled desktop effects on an ati card. It seems to have included an effect similar to OS Xs active corners and expose where the top right corner gives me an overview of every window. I have ccsm installed and tried to disable every feature enabled but it doesn't seem to come from there.

View 5 Replies View Related

Fedora Networking :: LAN Connection Is Not Active

Dec 24, 2009

First time I installed Fedora 12 and I am new to Linux OS completely. The LAN (ethernet) is coming by default and it's status is inactive. When I click on icon, it tries to connect and then shows status still as inactive. Where as my internet works in Win XP. What do I do for making it active. Second, when I try to install xDSL package for my BSNL broadband, the package is not available. Where do I get this package?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved