[Vserver] vrsetup : No such device or address

From: Joerg Maier <joerg.maier_at_shove-it.de>
Date: Fri 26 Jan 2007 - 21:51:14 GMT
Message-ID: <20070126215114.GF23941@shove-it.de>

Hi,

i got an issuem with vrsetup to configure a block device to quota_ctl
inside a vserver. I am using vs2.1.1-rc48 from linux-vserver.org on a
vanilla kernel. I found the documentation on
http://www.5dollarwhitebox.org/wiki/index.php/Howtos_Linux-Vserver_With_LVM_And_Quotas
Unfortunately the --help documentation for vrsetup is poor and it
lacks a manual.

Any help is very welcome, maybe something is wrong with the
versions. Maybe my setup is uncommon because my physical volume is
located on a raid?

root@hood-net:/etc/vservers# vrsetup /dev/vroot/mail /dev/vgsystem/lvmail
open("/dev/vroot/mail"): No such device or address
root@hood-net:/etc/vservers# dpkg -l util-vserver
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==================================-==================================-====================================================================================
ii util-vserver 0.30.210-6 tools for Virtual private servers and context switching
root@hood-net:/etc/vservers# ls -la /dev/vroot/mail
brw-r--r-- 1 root root 4, 1 2007-01-26 22:23 /dev/vroot/mail

  --- Logical volume ---
  LV Name /dev/vgsystem/lvmail
  VG Name vgsystem
  LV UUID K2LEYz-T4H2-EWcN-seEO-1S7T-3Y4g-vp2U6l
  LV Write Access read/write
  LV Status available
  # open 1
  LV Size 10.00 GB
  Current LE 2560
  Segments 1
  Allocation inherit
  Read ahead sectors 0
  Block device 253:7

  --- Physical volumes ---
  PV Name /dev/md1
  PV UUID O4Tovy-gopw-OW9F-p0bn-xN0a-0fAa-OdjNBO
  PV Status allocatable
  Total PE / Free PE 36673 / 12353

Thanks a lot,
Joerg

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Jan 26 22:04:00 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 26 Jan 2007 - 22:04:06 GMT by hypermail 2.1.8