OpenVZ Forum


Home » General » Support » Cannot install the vzdev package: mounted devfs detected
Cannot install the vzdev package: mounted devfs detected [message #38114] Wed, 18 November 2009 18:07 Go to next message
nerdsite is currently offline  nerdsite
Messages: 3
Registered: November 2009
Junior Member
I'm using Centos 5.4 (2.6.18-128.2.1.el5.028stab064.8), precreated template, openvz-kernel-rhel5 repo. A vzyum tries to update vzdev, but it fails due to "mounted devfs detected".

vzyum output:
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package vzdev.i386 0:3.3.13-1.3.swsoft set to be updated
--> Running transaction check
--> Processing Dependency: udev for package: util-linux
--> Processing Dependency: udev >= 078-1 for package: initscripts
--> Finished Dependency Resolution
Error: Missing Dependency: udev is needed by package util-linux
Error: Missing Dependency: udev >= 078-1 is needed by package initscripts

vzrpm output of vzdev:
Preparing... ########################################### [100%]
Cannot install the vzdev package: mounted devfs detected.
error: %pre(vzdev-3.3.13-1.3.swsoft.i386) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping vzdev-3.3.13-1.3.swsoft

Any thoughts?
Re: Cannot install the vzdev package: mounted devfs detected [message #38133 is a reply to message #38114] Fri, 20 November 2009 18:04 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Dear Nerdsite,

vzdev package is intended to provide necessary devices inside VE.
Usually udev should create appropriate devices but to reduce the overall size of a VE udev package is changed by vzdev package. vzdev simply contains a number of device files that are to be appear under /dev directory (examine "rpm -ql vzdev | less" output). It doesn't mount anything!
In your case /dev is mounted as (I guess) tmpfs. In this case someone else is responsible to create device files so vzdev refused to be installed.
You should find out who is responsible for devices besides vzdev. If udev is already used vzdev is not needed.
Re: Cannot install the vzdev package: mounted devfs detected [message #38228 is a reply to message #38133] Mon, 30 November 2009 20:28 Go to previous message
nerdsite is currently offline  nerdsite
Messages: 3
Registered: November 2009
Junior Member
Makes sense. I removed the udev rpm (need --nodeps), restarted the vs, installed the vzdev and all was okay. Thanks!
Previous Topic: Latest (stab66.7) kernel uses less memory in VPS
Next Topic: Do you have performance issues on the VPS?
Goto Forum:
  


Current Time: Tue Aug 27 11:58:26 GMT 2024

Total time taken to generate the page: 0.03536 seconds