I setup a vm with 200 gb of space and mount it as a extra space for media I link to with sshfs using numerous computers and phones for music and video
vzctl create 10 --ostemplate debian-7.0-amd64-minimal100213
vzctl set 10 --onboot yes --save
vzctl set 10 --hostname data.local.dm --save
vzctl set 10 --ipadd 10.0.0.10 --save
vzctl start 10
vzctl exec 10 passwd
after a bit files start to disappear. i do not know what the heck I would have a 600mb file video and the sub folder would be there but the files are gone
this has been going on now for a long while I started over with this container and did a few things different
:/etc/vz/conf# cat 10.conf
# UBC parameters (in form of barrier:limit)
PHYSPAGES="0:1G"
SWAPPAGES="0:2G"
KMEMSIZE="unlimited"
LOCKEDPAGES="unlimited"
PRIVVMPAGES="unlimited"
SHMPAGES="unlimited"
NUMPROC="unlimited"
VMGUARPAGES="unlimited"
OOMGUARPAGES="unlimited"
NUMTCPSOCK="unlimited"
NUMFLOCK="unlimited"
NUMPTY="unlimited"
NUMSIGINFO="unlimited"
TCPSNDBUF="unlimited"
TCPRCVBUF="unlimited"
OTHERSOCKBUF="unlimited"
DGRAMRCVBUF="unlimited"
NUMOTHERSOCK="unlimited"
DCACHESIZE="unlimited"
NUMFILE="unlimited"
NUMIPTENT="unlimited"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="200G"
DISKINODES="200000:220000"
QUOTATIME="0"
# CPU fair scheduler parameter
CPUUNITS="1000"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="debian-7.0-amd64-minimal100213"
ORIGIN_SAMPLE="unlimited1gb2gbswp"
ONBOOT="yes"
HOSTNAME="data.xxxxxxxxx"
IP_ADDRESS="10.0.0.10"
#UUID: xxxxxxxxxxxxxxxxxxxx
here is the df -h on the HN
10 is for my sharing of data
118 is my zoneminder
110 is a pbx voip system asterisk
/etc/vz/conf# df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
tmpfs 483M 432K 483M 1% /run
/dev/disk/by-uuid/ccxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxe 455G 240G 193G 56% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.7G 0 1.7G 0% /run/shm
/vz/private/10 200G 92G 109G 46% /vz/root/10
tmpfs 2.4G 28K 2.4G 1% /vz/root/10/run
tmpfs 2.4G 0 2.4G 0% /vz/root/10/run/lock
tmpfs 2.4G 0 2.4G 0% /vz/root/10/run/shm
/vz/private/110 20G 9.4G 11G 47% /vz/root/110
/vz/private/118 85G 69G 17G 81% /vz/root/118
tmpfs 103M 56K 103M 1% /vz/root/110/run
tmpfs 5.0M 0 5.0M 0% /vz/root/110/run/lock
tmpfs 615M 0 615M 0% /vz/root/110/run/shm
tmpfs 2.4G 40K 2.4G 1% /vz/root/118/run
tmpfs 2.4G 0 2.4G 0% /vz/root/118/run/lock
tmpfs 2.4G 72M 2.3G 3% /vz/root/118/run/shm
whats going on its like its disappearing cause I am running out of space but no? confused HELP!
I just upgraded kernel uname -r
2.6.32-openvz-042stab102.9-amd64
but this has been going on since the first version that I had going. how and what is the best way to create space that nothing disappears from.
[Updated on: Sun, 25 January 2015 23:35]
Report message to a moderator