OpenVZ Forum


Home » General » Support » How to address disk device with rootfs inside ve?
How to address disk device with rootfs inside ve? [message #35731] Sat, 18 April 2009 19:19 Go to next message
abstract is currently offline  abstract
Messages: 5
Registered: January 2008
Junior Member
Hello.

I need to setup monit to monitor available disk space inside my VE. Monit requires path of device, e.g:

check device rootfs with path /dev/hda1


but inside ve root fs hasn't device address:

# cat /proc/mounts 
simfs / simfs rw 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0


How I can solve this problem?
Re: How to address disk device with rootfs inside ve? [message #35755 is a reply to message #35731] Tue, 21 April 2009 04:18 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
I don't understand why the monitor requires device under /dev directory?
How does it use the provided device?
How does it monitor available diskspace?
Re: How to address disk device with rootfs inside ve? [message #35766 is a reply to message #35755] Tue, 21 April 2009 09:00 Go to previous message
abstract is currently offline  abstract
Messages: 5
Registered: January 2008
Junior Member
It's good question and I don't know answer. But in fact 4.x version of monit requires device path for monitoring disk space.

In monit 5.x was added new feature 'check filesystem path /mount_point'. But ubuntu has only 4.x at this moment and it's enouh for my setup. So I decided to ask this question before monit upgrade.
Previous Topic: How to remove VZ
Next Topic: about openVZ support thread problem
Goto Forum:
  


Current Time: Thu Oct 10 15:09:57 GMT 2024

Total time taken to generate the page: 0.05782 seconds