OpenVZ Forum


Home » General » Support » *SOLVED* how to create a mount script
Re: how to create a mount script [message #27011 is a reply to message #27003] Wed, 06 February 2008 19:02 Go to previous messageGo to previous message
HubertD is currently offline  HubertD
Messages: 22
Registered: August 2006
Junior Member
Hi Jon,

2 things:

a) I believe that you shouldn't do the bind mounts to /vz/private/.../ but to /vz/root/.../ (could someone please confirm this?)

b) does your mount script only contain the one line with the mount command? If so, try to make it look that way:

#!/bin/sh
mount -n --bind /home/jdw /vz/root/1040/home


and be sure to set the executable flag for the script:
chmod +x /etc/sysconfig/vz-script/1040.mount

I'm not an openvz expert but that's the way it works for me Smile

greetings,

Hubert
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HN and VE IPs on different subnets
Next Topic: DRBD+Heartbeat clustering question!
Goto Forum:
  


Current Time: Thu Oct 17 03:22:25 GMT 2024

Total time taken to generate the page: 0.05361 seconds