The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
0answers
8 views

How is MAC address loaded to ip stack in kernel? [closed]

I am now trying to find out how MAC address of network device is loaded to kernel. OS I am using is Cent OS 6.8 64 bit . I see that whenever device is inserted , kernel automatically recognizes the ...
0
votes
0answers
14 views

generation scripts under /lib/udev/

I was wondering when triggered the rules generator scripts in /lib/udev/ are triggered to form e.g. /etc/udev/rules.d/70-persistent-net.rules? I could imagine that happens only once during install and ...
5
votes
2answers
320 views

mdadm software RAID isn't assembled at boot during initramfs stage

First, I prefer to mention I've found and read this. I'm running Debian Jessie with a standard 3.16 kernel. I've manually defined a RAID1 array. But it is not assembled automatically at boot time. ...
0
votes
0answers
43 views

Setup udev rules for: Multipathed SAN disks for Oracle ASM disks

I have just been given a new assignment to put up an Oracle RAC instance on a physical server. The RAW SAN disks will be presented to the server and have multiple paths. We do NOT have ASMlib as it ...
0
votes
0answers
12 views

Preventing privileged users from running “udevadm trigger”

My situation is this: we run Red Hat 6.x for some Oracle database servers, and use udev rules to maintain ownership and permissions of raw volumes (LUNs from SAN) so that Oracle can use them as ASM ...
2
votes
2answers
77 views

Arch cryptsetup hangs on 'waiting for zero'

Cryptsetup was working flawlessly for months, but something I did today on my system now makes it hang: # cryptsetup --debug --verbose luksOpen /dev/sdb home --key-file=/home.key --verbose ... Key ...
2
votes
0answers
40 views

Control /dev/pts/* assignments

I am trying to find a way to create a udev rule for a network connected terminal? Basically I need the rule to say a specific MAC address, or IP, is always assigned pseudo terminal /dev/pts/5 for ...
0
votes
0answers
236 views

Can't upgrade/restart services after apt-get autoremove

I can't restart apache2 or something else after I did apt-get autoremove. service apache2 restart Failed to restart apache2.service: Launch helper exited with unknown return code 1 I tried apt-...
0
votes
0answers
85 views

udev rule not applied during boottime but applied with 'udevadm trigger' command

I have the following udev rule to set readahead: [/etc/udev/rules.d] # cat 99-readahead.rules ACTION!="add|change", GOTO="ra_end" KERNEL=="sdc", SUBSYSTEM=="block", RUN+="/sbin/blockdev --setra 256 /...
4
votes
0answers
90 views

udev rule not applied on boot for mounted disk

I'm trying to persist a readahead rule on a mounted drive to use with mongodb. The mount is persisted using /etc/fstab and that works as expected. I have added a udev rule ACTION=="add", KERNEL=="...
0
votes
1answer
69 views

Is it possible to write a udev rule to keep other udev rules from running?

This http://reactivated.net/writing_udev_rules.html says It is important to understand that udev will not stop processing when it finds a matching rule, it will continue searching and attempt ...
1
vote
1answer
107 views

Disk renaming udev rule

I have two separate controllers, SATA and PATA. I would like to rename drives connected to the PATA to hd[a-z], and their partitions to hd[a-z][0-9]. # udevadm info -a -p /sys/block/sdd [...] ...
2
votes
0answers
19 views

Can 'or' logic be used in UDEV for mounting drive with unique UUIDs?

We do a back-up to a LaCie external rugged drive. The drive is then swapped with it's twin in the safe deposit box. While the drives have different serial numbers, for the servers purposes they are ...
0
votes
2answers
36 views

Posix map fs path to syspath

Is there a safe way to map a filesystem path to a /sys/block/ node. For instance on my system (Ubuntu) my / path is mounted from /dev/disk/by-uuid/7f6a93a7-1e63-48a3-a7e3-b336a2f9dbf7 which is a ...
1
vote
1answer
200 views

Script triggered by udev to examine partition tables and test if it's a ceph disk

I'm wanting to trigger using udev under CoreOS a script on disk add/remove. The purpose/goal is to automatically mount ceph data partitions to a specific directory in preparation for starting/...
3
votes
0answers
114 views

udev attribute cannot be set on boot

I'm setting up SR-IOV for my Intel I350 igb on CentOS 6.6 (2.6.32-504.el6.x86_64, udev 147) using udev. I have modified a rule I used in CentOS 7 (3.10.0-123.el7.x86_64, udev 208). When I do "udevadm ...
2
votes
0answers
288 views

Force libvirt to pass always the same device number to the guest on USB device reconnection

I have a HP plotter connected with a USB cable to a debian server through a USB hub. On the server there is a virtualized Windows XP. Everytime I reboot the plotter a different device number is ...
3
votes
1answer
228 views

How can I have Linux execute a bash script when a specific disk is hotswapped in?

I have a set of hard drives which are rotated for offsite backup. There are several steps that need to be performed when one of the disks is reinserted which I've rolled into a simple bash script. I'...
2
votes
1answer
555 views

udev rule running setserial low_latency don't work

My server runs Ubuntu 14.04.1. I created udev rules in /etc/udev/rules.d/09-pps.rules to get GPS with PPS support work. KERNEL=="ttyS0", SYMLINK+="gps0", MODE="0666" KERNEL=="ttyS0", RUN+="/bin/...
23
votes
2answers
11k views

Why is my eth0 called eno16777736?

I've seen http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/, which describes the rationale for consistent/predictable device naming, and then the rules by which device ...
2
votes
0answers
250 views

Are /dev/disk/by-id symlinks unreliable?

I am provisioning a Nova server and Cinder volumes using a Heat template. In order to identify the Cinder volumes attached to my OpenStack server I would like to use the /dev/disk/by-id/... symlinks ...
2
votes
2answers
18k views

location of 70-persistent-net.rules in Centos 7

Please, give me a clue, where it's located? it's not under /etc/udev/rules.d anymore # find / -name "*persistent-net.rules" didn't find anything...
2
votes
2answers
3k views

How to write rules for persistent net names?

I know that a process generates persistent network card names based on rules found in /lib/udev/rules.d/75-persistent-net-generator.rules. I also know how to completely disable this process with a ...
13
votes
1answer
2k views

Why did rebooting cause one side of my ZFS mirror to become UNAVAIL?

I just recently migrated a bulk data storage pool (ZFS On Linux 0.6.2, Debian Wheezy) from a single-device vdev configuration to a two-way mirror vdev configuration. The previous pool configuration ...
2
votes
2answers
252 views

Consistent Naming of 10gbps Interfaces on Dell Host

I have some Dell hosts in our environment. I would like to be able to provide consistent network interface naming across platforms. I know that biosdevname attempts to make the interfaces consistent ...
3
votes
2answers
5k views

LVM: Duplicate VG name VolGroup00

I'm on a server that shows a duplicate VG name. How can I rename one of these VolGroups to get rid of this conflict? [root@dev-server dev]# lvs WARNING: Duplicate VG name VolGroup00: zOuHvA-QTBR-...
3
votes
2answers
1k views

Boot failure with root on MD (RAID1) + LVM: udev event timing

A fresh install of Ubuntu Server 13.10 (x64) is having problems booting from its root volume located in md+lvm. I've kludged a solution for now, but I'd like to understand more about what's going on ...
1
vote
1answer
175 views

ID_FS_LABEL empty for luks volume

I have an LUKS encrypted partition on a disk. I would like to label it and have it available at /dev/disk/by-label. The value used is ID_FS_LABEL to create the link in /dev/disk/by-label. That value ...
-1
votes
1answer
794 views

Linux “/dev/SDA” goes read only file system on SDB device failure [closed]

i have a very peculiar issue that is running in my system. Using debian linux : My system boots up very normally with a primary and secondary hard disk. suddenly my secondary hard disk fails with ...
0
votes
1answer
615 views

How can I inform a script called from a udev rule of the device that triggered the rule?

I've got a udev rule ACTION=="add", SUBSYSTEM=="block", KERNEL=="vd[c-z]", ENV{DEVICE_NAME}="KERNEL" RUN+="/usr/local/bin/udevtest" where devices vd[c-z] trigger the rule and call my script. I am ...
0
votes
1answer
73 views

How to find device in /dev

I have added a new virtual pci device to my debian6 VM (Virtual Machine). I can see the device via "lspci" command, but I cannot find it in /dev. Is it because it's not installed properly or it needs ...
0
votes
1answer
2k views

what is the use of /etc/udev/rules.d/70-persistent-net.rules file in rhel?

what is the use of /etc/udev/rules.d/70-persistent-net.rules file in linux? is anyother way to change interface name in linux other than 70-persistent-net.rules? Thanks.
2
votes
4answers
4k views

How to make RHEL have persistent local hdd name?

I have 2 identical Dell R720 servers running identical Oracle Enterprise Linux(RHEL)6.4. Both servers (supposedly) configured in exactly the same way. However, one of the servers is behaving ...
1
vote
0answers
231 views

udev rule for disconnection and hibernate/suspend

I have an external hard drive which contains different GPT partitions. One of them is a LVM partition. This partition is contained in a LVM volume group (called "volga"), which in turns splits into ...
4
votes
3answers
5k views

Can udev be 'restarted' without a reboot?

For the general case let's say that the virtual adapter for eth0 has been removed and replaced with another one. Either due to cloning or, more recently, a rash of MAC address conflicts. [Yes, a rash ...
4
votes
1answer
251 views

tape changers on Centos 6 enter flurry of activity upon boot, at udev start

I have two tape-changer robots (Quantum Superloader 3), one with parallel SCSI connectivity, the other with SAS. They were connected to a Centos 5 server, and boot would proceed normally. They are ...
0
votes
1answer
811 views

hotplugging drives from a fibre-channel cabin reports wrong size

First thing, we are not even sure this is a udev problem, but we need somewhere to start asking... We have a Hitachi fibre-channel SAN serving volumes to a couple of machines running ubuntu server 12....
2
votes
1answer
6k views

How to restart udevd on RH/CentOS system?

For udevd there is no init.d script and manual page is not indicating how to restart it either. The process is holding a deleted file (lsof shows) and I need to release it by restarting udevd. How to ...
2
votes
0answers
879 views

udisks-daemon eating up all my memory

I'm operating a little storage server on debian, over the past months I've noticed the process udisks-daemon eating up almost all available memory. Is this just really aggressive caching or a memory ...
0
votes
1answer
150 views

udev only reports events for a USB device configuration, not for the USB device itself

I'm trying to execute a certain Python script on USB devices insertion. I need to handle all kinds of USB devices. I'm using a rule like this: SUBSYSTEMS=="usb", ENV{DEVTYPE}=="usb_device", RUN+="/......
1
vote
1answer
377 views

MegaCli newly created disk doesn't appear under /dev/sdX

After having successfully added 2 new disks in a new RAID virtual drive (background initialization done), I would have exepected it to appear under /dev/sdh but it's not there (so, unusable). The ...
1
vote
1answer
5k views

Creating Persistent Drive Labels With UDEV Using /dev/disk/by-path

I have a new BackBlaze Pod (BackBlaze Pod 2.0). It has 45 3TB drives and they when I first set it up they were labeled /dev/sda through /dev/sdz and /dev/sdaa through /dev/sdas. I used mdadm to ...
0
votes
2answers
1k views

howto remove udev from centos(lxc-guest) without dependencies

i downloaded a openvz template for my lxc server to create a new centos 6.3 guest. Now the guest is not starting because udev is hanging in the boot process. Last time i didn't had this problem but ...
5
votes
3answers
7k views

Ubuntu: disable udev's persistent-net-generator.rules

I'm using Ubuntu 12.04 LTS server edition and I am modifying /etc/udev/rules.d/70-persistent-net.rules to define my own mappings of ethernet interfaces to MAC addresses; that file is initially ...
0
votes
1answer
34 views

Group access to device using udev

Short question. Is it a good idea to give a group of users access to certain devices by writing your own udev rules in linux? If not, what would be a better approach? I want the changes to be ...
0
votes
1answer
112 views

Device names on hotswap server. (Name by port rather than insert order?)

Is there a way to name devices such that any drive plugged into slot 1 is always named /dev/sda? Rather than just first drive inserted sda even though it's plugged into the last slot, second sdb ...
3
votes
1answer
468 views

udev rules in ubuntu

I was setting up some udev rules in Ubuntu 12.04 for my APC UPSs and I was using the included *-net.rules as reference. When I used ATTR{}=="" matching in my -ups.rules though it didn't work, I had ...
1
vote
4answers
6k views

eth0 and eth1 both assigned same IP on boot

I have a physical SLES 11 SP2 server on a Sun Fire x4140 that is giving me problems with networking upon reboot. The NICs are onboard. The networking appears successful during boot, but network ...
3
votes
2answers
6k views

Execute a command when a device is connected via USB

I currently have a system that backs up my Linux server onto a USB storage device on /media/usb. This all works correctly. However, I actually have 2 drives which we try to swap on a daily basis. Is ...
1
vote
0answers
124 views

lenny to squeeze upgrade, partitions disapper

I have an RealPrivateServer on OVH provider, I have completes the upgrade, but after all packages were upgraded, the system for some reason don't generate the disk devices in /dev properly. I had the ...