OpenVZ Forum


Home » General » Support » df: `/': No such device
df: `/': No such device [message #34482] Sat, 10 January 2009 12:35 Go to next message
kraja is currently offline  kraja
Messages: 2
Registered: January 2009
Junior Member
Hello,
i have two servers - disk storage and master server.
To master server i mount (nfs) /var/lib/vz:
xx.yyy.xxx.yyy:/home/openvz on /var/lib/vz type nfs (rw,sync,hard,intr,addr=xx.yyy.xxx.yyy)


I make new virtual machine
vzctl create 101 --ostemplate debian-4.0-i386-minimal --config vps.basic


and enter to it:
vzctl enter 101


but df -h in this virtual say:
root@localhost:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
df: `/': No such device
tmpfs                1005M     0 1005M   0% /lib/init/rw
tmpfs                1005M     0 1005M   0% /dev/shm
root@localhost:~#


mount is here:
root@localhost:/# mount
simfs on / type simfs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
root@localhost:/#


Can you any tips to fix this?

Thank you very much.

[Updated on: Sat, 10 January 2009 12:35]

Report message to a moderator

Re: df: `/': No such device [message #34495 is a reply to message #34482] Mon, 12 January 2009 16:01 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

what kind of kernel and what vzctl version do you have?
Where have you downloaded your debian-4.0-i386-minimal template?

I tried to set up the same configuration but couldn't get this error message.

# vzctl --version
vzctl version 3.0.23
# uname  -r
2.6.18-92.1.13.el5.028stab059.6PAE
# mount
...
$IP_ADDR:/media/ubuntu/vz/ on /var/lib/vz type nfs (rw,sync,hard,intr,addr=$IP_ADDR)
# grep -i ostemplate /etc/vz/conf/101.conf
OSTEMPLATE="debian-4.0-i386-minimal"
# ls -l /vz
lrwxrwxrwx 1 root root 11 Jan 12 14:59 /vz -> /var/lib/vz
# vzctl enter 101
entered into CT 101
# df -h
Filesystem            Size  Used Avail Use% Mounted on
simfs                 1.0G  151M  873M  15% /
tmpfs                 252M     0  252M   0% /lib/init/rw
tmpfs                 252M     0  252M   0% /dev/shm

Previous Topic: VE mutual dependence
Next Topic: Network Interfaces Configuration
Goto Forum:
  


Current Time: Thu Sep 05 03:22:59 GMT 2024

Total time taken to generate the page: 0.05945 seconds