OpenVZ Forum


Home » General » Support » Urgent: Mount new partition to VPS - Failed
Urgent: Mount new partition to VPS - Failed [message #51117] Tue, 11 February 2014 18:54
sood1992 is currently offline  sood1992
Messages: 2
Registered: February 2014
Location: inda
Junior Member
I was running out of space on my existing VPS so got a new HDD installed on my box. I was trying to bind new partition to existing vps and the VPS won't boot now.

[root@hosted-by conf]# vzctl restart 104
Restarting container
Starting container...
Error exec /etc/vz/conf/104.mount: Exec format error
Error executing mount script /etc/vz/conf/104.mount
[root@hosted-by conf]# 

What I did
vi /etc/vz/conf/101.mount
--

#!/bin/bash . /etc/vz/vz.conf . ${VE_CONFFILE} SRC=/new DST=/vz/root/104/home if [ ! -e ${VE_ROOT}${DST} ]; then mkdir -p ${VE_ROOT}${DST}; fi mount -n -t simfs ${SRC} ${VE_ROOT}${DST} -o ${SRC}

How do get the VPS back online?
Previous Topic: Warning: Unknown iptable module: fuse, skipped
Next Topic: CT with ploop devices >200Gb
Goto Forum:
  


Current Time: Thu Feb 06 18:43:00 GMT 2025

Total time taken to generate the page: 0.01448 seconds