CentOS 5 :: Figure Out The "Device" Name From The "Sysfs" Node?

Jun 12, 2011

How can I figure out the "Device" name from the "Sysfs" node? e.g. [root@baba 0000:00:01.0]# lspci | grep -i Ethernet
00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02)

View 1 Replies


ADVERTISEMENT

CentOS 5 Networking :: Setup The Cluster To Automatically Failover The Service To Another Node Case One Node Fails?

Mar 1, 2011

I am familiar with windows 2008 cluster servers, and I just started testing with centos cluster. I am creating a simple 2-node cluster, for a simple ping test.

Node 1: 10.0.0.1
Node 2: 10.0.0.1
Virtual ip: 10.0.0.10

So far, I can ping a virtual ip, and manually relocate it between the nodes, but I didn't figure out, how to do this automatically. So this is my question: How can I setup the cluster, to it automatically failover the a service to another node case one node fails?

View 1 Replies View Related

General :: Ubuntu - Find The Device Node File For USB Device?

Aug 23, 2011

I've bought an X10 Home Automation USB interface: the CM15.

This is the information lsusb gives:

skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)

But this tells me nothing about where the device file is! How can I find that, or create one myself?

View 1 Replies View Related

Fedora :: Resume From Keyboard \ Figure Out Which Is For Which Device?

Jun 17, 2011

Currently I only only resume from suspension by pressing the power button. I learned that by editing /proc/acpi/wakeup one can enable resuming from other devices. But how to figure out which is for which device? Here is my /proc/acpi/wakeup file:

Code:
DeviceS-state Status Sysfs node
PCE2 S4*disabled pci:0000:00:02.0

[code]....

View 1 Replies View Related

Hardware :: SCSI Hard Disk Device Node Creation

Mar 26, 2010

I am developing for a Linux based device for which the HOT PLUG option is deactivated. As part of optimizing the code, we also don't want to create device files for unused devices. We understand that both USB attached and fixec SCSI hard disks would create device files like /dev/sda,/dev/sda1 /dev/sdb, /dev/sdb1 etc. Is this understanding correct?

In the case of USB attached SCSI devices, would driver create this device file entry? How is it created? Can somebody please tell me how it is being created automatically. In case I attach a fixed SCSI hard disk before boot up(and create device file /dev/sda1), would USB SCSI device driver create device files starting from /dev/sdb, automatically.

View 4 Replies View Related

Software :: Udev Creates External USB HD Device Node Too Late

May 22, 2010

On my debian lenny OS I have an external usb hard disk I would like to automount it at boot. So I edited the /etc/fstab file in order to automount /dev/sdb1. It worked without problem. Then I recompiled the kernel and, as consequence, /dev/sdb1 changed to /dev/sdc1. I started playing with udev in order to match the now called /dev/sdc1 and to change its name in /dev/maxtor (being maxtor the brand of the hard disk). Obviously I edited also /etc/fstab: /dev/sdb1 is now /dev/maxtor.

The boot automount doesn't work anymore. On the boot sequence I can read the message "Mounting local filesystem...mount: special device /dev/maxtor does not exist FAILED". But when I log into the system I can run the command "mount /dev/maxtor /mnt/maxtor" and it works! So, IMHO, my udev rule is correct otherwise also the manual mount wouldn't work, right? I have to tell to udev to create /dev/maxtor BEFORE the boot automount process.

I tried to delete my udev rule and to edit /etc/fstab changing /dev/maxtor in /dev/sdc1 (the name udev gave to my hard disk after kernel recompile, before was /dev/sdb1) and it didn't work: on boot process I always see the "Mounting local filesystem...mount: special device /dev/sdc1 does not exist Failed". Then I tried to change /dev/sdc1 in /dev/sdb1 in /etc/fstab and to reboot with the old original kernel and int this way it works. With my compiled kernel, the OS seems to have lost the capacity to detect my device node correctly.

View 2 Replies View Related

Hardware :: Device Node Assignment At Boot / Parallel Printer Via USB Adapter

May 5, 2011

I have a printer that is not getting a device node assigned at boot.The printer is attached with a USB to Parallel (IEEE-1284) adapter cable.When I plug in the usb cable when the machine is running, the printer is assigned the device node: /dev/usb/lp0

I am guessing that during startup, the printer device is not detected since it is plugged in over an adapter cable which may be considered a device in itself?This is for a retail store, and we rely on the printer to pop the cash drawer open, so it kinda has to work without a "secret handshake".Unfortunately our workstations do not have Parallel ports. I would be happy to share terminal output, udev info, I'll write you a poem but I could sure use a helping hand- I'm stumped!

View 5 Replies View Related

Slackware :: KODAK DX4330 Digital Camera Detected But Not Assigned Device Node

Jul 7, 2010

This device doesn't automount, doesn't show in KDE 4's device notifier, and I can't mount this camera manually because it doesn't appear to get assigned to a device node. Any known solutions? It worked in Slackware 12.2, but not in 13.0 or 13.1.

View 2 Replies View Related

General :: Make A DRBD Node Start Itself As A Primary Node Automatically?

Jan 28, 2010

I've set up DRBD on 2 machines, 1 of them is the master, another is the slave.

After each bootup, I need to run the following on the master machine:

Code:
drbdadm -- --overwrite-data-of-peer primary all

Do we need to specify which machine should be the primary node every time? Is there any method to make the machine "know" it's itself the primary node?

View 1 Replies View Related

Programming :: KSH Script Behaving Differently On An HACMP Cluster Node (prod) & A Single Node (UAT)?

Dec 16, 2010

I have created a simple menu driven script for our Operations to take care of the basic monitoring and managing of our production application from the back-end. Now, the script when tested in UAT environment was fine, but when deployed to production it kind of behaved oddly.hen the Operator chooses an option from the menu he is given the output and at the end is prompted to return to the main menu by using ctrl+c. In production, this return does not occur for some strange reason and the program just sits there.The session becomes unresponsive after that and I'm forced to terminated it by closing the PuTTY.I tried enabling the debug mode too (set -x) and still was not able to find any useful hints/trails as to why.

View 5 Replies View Related

Server :: Node Failover And Another Node Take Over Resources On HA Cluster?

Oct 27, 2010

I don't have much experience in clustering. And I'm deploying a cluster system on CentOS.But I don't know how long a node failover and another node take over those resouces to continue running service is good, fast or slow? 1s, 10s or

View 2 Replies View Related

CentOS 5 :: Northbridge - Node 2<0>K8 ECC Error ?

Feb 2, 2011

Getting the following errors on a new server:

They appear randomly while the system is idle and in use. The system configuration is as follows:

Running the latest Centos 5.5plus kernel (b/c we are using XFS)

The errors appear randomly several times a day. Tried removing some memory, but no combination sees to cause the error to stop.

I see this error posted in many places all over the web - some claim faulty Ram, faulty CPU, faulty mobo, and kernel bug.

Has anyone seen this error and been able to nail it down?

View 3 Replies View Related

General :: Mount Custom Device Node (ex: "/dev/mydevice")

Jun 16, 2010

I'm trying to mount a custom device node for each usb port of my pc. For example: Every pen drive connected to my usb 1-1.2 will be called /dev/usb2 and mounted on /mnt/usb2, on usb 1-1.3 port the device node will be called /dev/usb3 and mounted on /mnt/usb3.

I'm using an embedded linux, the device handler is mdev. Editing mdev.rules I'm able to manage new devices and write special rules for them (on /bin/hotplug.sh I can mount the /dev/udisk device on anywhere I wanna):

Code:
# This will be called after scsi emulation, so the
# new device (sda1, sdb1 ...) will be managed by /bin/hotplug.sh
mmcblk0p10:00600=sdcard */bin/hotplug.sh
sda10:00600=udisk * /bin/hotplug.sh

[Code].....

Is there anyway to change scsi emulation configurations or code? I want to call my pen drive on my way (/dev/usb1 instead of /dev/sd*)!

View 4 Replies View Related

Red Hat / Fedora :: CentOS 5.4 GFS2 - 3 Node Cluster

Feb 19, 2010

I have lack of understanding of CentOS in general. I have looked for a remedy on other forums and google, but haven't been able to find the answer. I have a 3 node cluster that was functioning great until I decided to go offline for awhile. My config is as follows:
node 2: vh1
node 3: vh2
node 4: vh6
All nodes connect to a common shared area on an iscsi device (vguests_root)

Currently vh2 and vh6 connect great, however since putting the machines back online I can no longer connect with vh1. A dmesg command on vh1 reveals the following:
GFS2: fsid=: Trying to join cluster "lock_dlm", "Cluster1:vguest_roots"
GFS2: fsid=Cluster1:vguest_roots.2: Joined cluster. Now mounting FS...
GFS2: fsid=Cluster1:vguest_roots.2: can't mount journal #2
GFS2: fsid=Cluster1:vguest_roots.2: there are only 2 journals (0 - 1) .....

View 1 Replies View Related

CentOS 5 Server :: 2-node Non-shared-FS Cluster On 5.2/3?

Apr 15, 2009

I'm having some trouble configuring clustering in a 2-node cluster, with no shared FS. Application is video streaming, so outbound traffic only...The cluster is generally ok - if I kill -9 one of the resource-applications, the failover works as expected. But it does not failover when I disconnect the power from the service owning node (simulating a hardware failure). clustat on the remaining node shows that the powered-down node has status "Offline", so it knows the node is not responding, but the remaining node does not become the owner, nor start up the cluster services/resource-applications. eth0 on each node is connected via a crossover cable for heartbeat, etc. Each eth1 connects to a switch.

[root@lmshw01 ~]# cat /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster alias="lmshw-clust" config_version="35" name="lmshw-clust">

[code].....

View 3 Replies View Related

CentOS 5 Networking :: Rsh From One Node To Other Without Providing The Password

Feb 6, 2010

I trying to set up a cluster of 4 nodes each with CentOS 5.3,

i want to rsh from one node to other without providing the password.

so far i did the following:

1)configured /etc/hosts file on the nodes so that each node can be pinged from other.

$cat /etc/hosts
10.0.2.100 node1
10.0.2.101 node2
10.0.2.102 node3

[Code]....

but it still is Asking for the password!

I am not able to figure out what to do next ? Do i need to be at /home/mygrid location on node1 in order to rsh into node2 ?

View 4 Replies View Related

CentOS 5 Server :: Cluster Node Does Not Want To Cooperate

Sep 30, 2010

I have a two node cluster, and a third system which has luci installed.

node1 is nfs0
node2 is nfs1

both nodes have identically the same configuration. They have a fresh installation of Centos 5.5 + yum update. I am unable to join nfs1 to the cluster, as it is giving me the following issue:

Sep 29 23:28:00 nfs0 ccsd[6009]: Starting ccsd 2.0.115:
Sep 29 23:28:00 nfs0 ccsd[6009]: Built: Aug 11 2010 08:25:53
Sep 29 23:28:00 nfs0 ccsd[6009]: Copyright (C) Red Hat, Inc. 2004 All rights reserved.

[code].....

View 1 Replies View Related

CentOS 5 :: Figure Out Where Yum Installed My Packages?

Jul 30, 2010

How can I figure out where the files are installed? I am currently trying figure out where the mysql include / header files are. I need to install a package
and I need to pass parameter --with-mysql=/directory/to/includes

View 3 Replies View Related

CentOS 5 :: Can't Find Local Node Name In Cluster.conf

Apr 21, 2009

Using google with search option: cman not started: Can't find local node name in cluster.conf /usr/sbin/ cman_tool: aisexec daemon didn't start.I found this URL...I have found the config_version in cluster.conf. Unfortunately, as everyone may have noticed, english is not my native tongue so I am having trouble understanding the part "Make sure you bumped the cluster config version number". Can anyone enlightened me on what should I be doing so that I could "bump" the cluster config version?

View 3 Replies View Related

CentOS 5 :: Implementing A Two-node Cluster With Shared Storage (GFS) And IP Address?

Jul 8, 2009

I am working on the beginning of implementing a two-node cluster with shared storage (GFS) and IP address. Both machines are virtual on VMware ESX 3.5, that should not make a difference, but that is the background.current status is that I have a single node cluster built with only the IP address configured within the cluster. The issue that I am having is that I have configured a service to contain only the IP address resource, however, when I go into cluster management that "service" does not register. As such, I cannot bring it online, ping it, etc. below is my cluster.conf configuration:

<?xml version="1.0"?>
<cluster alias="tmbackup" config_version="10" name="tmbackup">
<quorumd device="/dev/sdb1" interval="1" min_score="3" tko="10" votes="3">

[code]....

View 1 Replies View Related

CentOS 5 Hardware :: Figure Out Wireless Cards Will Be Supported By The Kernel?

Jul 29, 2011

Looking at getting a new laptop for some of the guys in my office, but trying to figure out if any of these wireless cards will be supported by the kernel, hoping not to do any serious kernel hacking to get them working. The cards are

- Intel Centrino Advanced-N 6205 802.11a/b/g/n
- Intel Centrino Ultimate-N 6300 802.11a/b/g/n
- Dell Wireless 1501 802.11b/g/n
- Dell Wireless 1530 802.11a/g/n

If any one has experience with those cards being supported let me know, or if you know where i can find the drivers for them that'd rock too.

View 2 Replies View Related

General :: Start Without /sys (sysfs)?

Jul 1, 2010

I need to make a validation before start my application, so I read the Hard Drive serial from the /sys directory (sysfs).

So I was thinking if there is someway to star Linux without the /sys (sysfs) and put manually some files, and override the real hard disk serial.

View 6 Replies View Related

Red Hat / Fedora :: Difference Between Swap Tmpfs And Sysfs Filesystem?

Jun 30, 2010

can anybody clarify my doubts what is the difference between swap , tmpfs and sysfs filesystem?? also what is the use of /dev/pts and /dev/shm and ?

View 3 Replies View Related

CentOS 5 :: Eucalyptus Node Controller And Cloud Controller Apps Won't Bind To IP

Jun 18, 2010

I can not get the node or cloud controllers to startup using the init.d scripts. I have a fresh install of CentOS 5.4 with Eucalyptus 1.6.2 I have compiled Eucalyptus and all packages using the RPM supplied from Eucalyptus and utilizing yum installer. I do not currently have any processes or applications listening currently on the ports on the boxes as well. I think it may be a permissions issue or something because I get a "permission denied error", but I am not sure if it is Eucalyptus or CentOS. It looks as if it is not binding to the address on the interface of the NIC. It may be something else however. I have the Node controller, Cloud controller, and Cluster controller on seperate physical boxes. When I try to run either the cloud controller or the node controller I get this message:

Cloud Controller:

[root@cluster-cont ~]# /etc/init.d/eucalyptus-cc start
Starting Eucalyptus cluster controller: (13)Permission denied: make_sock: could not bind to address [::]:8774
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:8774

[code]...

View 2 Replies View Related

Debian Configuration :: WARING! Can't Find Hypervisor Information In Sysfs!

Mar 9, 2010

After each boot I find 2 occurrences of WARING!  Can't find hypervisor information in sysfs!

in /var/log/boot. This box is running as KVM-host, so I am a bit worried about 'warings' like these...

View 1 Replies View Related

General :: Udev - Missing Sysfs Features - Update Kernel

Dec 22, 2009

I just installed Gentoo.

Everything's working fine except for this error I get during bootup: udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option. udev may fail to work correctly

I don't know what to do with this. I built the kernel using the genkernel script. I'm using kernel 2.6.31-gentoo-r6 on an amd64 processor

View 5 Replies View Related

Fedora Hardware :: Using Acpi: Thermal / Sysfs-api To Extend Battery Life

Dec 31, 2009

This link, acpi: thermal/sysfs-api, explains how the new thermal management sysfs class is built, but doesn't give much information about using it. Using watch, I can see that the cur_state of cooling_device2 changes from 0 to 5 when I check "Dim display when idle" in Power Management Preferences. But I haven't found an applet that changes cooling_device0 or cooling_device1.

Echoing different integers to the cur_state files limits the maximum cpu frequency for cpu0 and cpu1, respectively. This behaviour is expected from what I've read, and mimics the options in Windows power manager for extending battery life by throttling the CPUs. I've had no luck with google and local man pages, so has anybody has seen an applet for controlling /sys/class/thermal/cooling_device[0|1]/cur_state?

On a side note, a value of 1 does slow the CPU down, but it will still hit 100C (normal for an Intel mobile duo core). However, values of 2 and larger throttle enough to lower the maximum CPU temp. Since the CPU temp is a good indicator of power consumption, it's pretty obvious that these two cur_state files are intended to extend battery life. dd_wizard

View 2 Replies View Related

CentOS 5 Hardware :: The Dreaded "It Locks Up And Can't Figure Out"?

Dec 15, 2010

I upgraded my home server to an Asus P5N-D mobo with 8GB of RAM and a quad-core CPU.Installed CentOS 5.5 x86_64 fresh and yum updated it.Frustratingly, the box locks up on an irregular basis - twice today for example. By "locks up" I mean:- any connected SSH sessions no longer respond- no more video output on the video card (monitor goes into power save)- most of the time, the kernel will not even respond to pinging the box from another hostI thought perhaps it was an add-on RAID card, but I've removed it with no change. I've rebuilt the drives using software raid. The BIOS offers RAID but I have it set to disabled.

I ran memtest on the RAM and it worked fine. The RAM was moved from my previous mobo and ran fine for a month or so.I set up kern.* in syslog to go to /var/log/kern.log, but nothing shows up there - apparently the lockup is so sudden there is no time to write syslog.I do see these in dmesg periodically, primarily when writing NFS to an another old server:Dec 14 21:21:48 hallofjustice kernel: INFO: task mv:28154 blocked for more than 120 seconds.Dec 14 21:21:48 hallofjustice kernel: "echo 0 >/proc/sys/kernel/hung_task_timeout_secs" disables this message.

Dec 14 21:21:48 hallofjustice kernel: mv D ffff81000101d7a0 0 28154 4983 (NOTLB)
Dec 14 21:21:48 hallofjustice kernel: ffff810209003ac8 0000000000000082 0000000000000003

[code]....

View 3 Replies View Related

CentOS 5 :: Specify The Device Driver When Mounting A Device?

Jul 28, 2010

I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?

View 3 Replies View Related

CentOS 5 Hardware :: CentOS 5.2 And 5.3 Does Not Recognize Device On IDE IT8213 Controller?

Apr 3, 2009

I have had a Supermicro X7DCL-3 motherboard based machine, running CentOS 5.2 x86_64, recently upgraded to 5.3.Strangely enough, although I must have installed the 5.2 using DVD disk, the running system does not show the DVD drive. The machine was not used very much so I noticed that only today, after the update. There is no trace of it in 'dmesg', thera are no /dev/cd* and/or /dev/dvd* devices. The IDE controller is IT8213 (as shown by 'lspci'). In 5.2 kernel (2.6.18-92.el5-x86_64) lspci says "unknown device". I have checked the /usr/src/kernels/*/.config files and both kernels (5.2 and 2.6.18-128.el5-x86_64 of 5.3) seam to have the support for that controller added into the kernel:CONFIG_BLK_DEV_IT821X=yAny idea why it is not working? The Supermicro has apparently noticed this also as their OS compatibility chart lists the IDE interface for that motherboard as supported up to RHEL 5.1 but not for 5.2.

View 2 Replies View Related







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