Changeset 161


Ignore:
Timestamp:
Jun 22, 2009, 10:53:56 AM (12 years ago)
Author:
kasey
Message:

improve mount

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ror-farm-openvz/ror-create-openvz

    r159 r161  
    5555# Check if UID is not already use
    5656if [ "x$(ls -1 /var/lib/vz/private/ | grep $VM_UID)" != "x" ] ; then
    57   echo "Err : UID already used (see /var/lib/vz/private/)"
     57  echo "Err : UID already used : see /var/lib/vz/private/"
     58  ls /var/lib/vz/private/
    5859  usage
    5960  exit
     
    8384echo "* write mount volume in fstab"
    8485cat << EOF >> /etc/fstab
    85 /dev/${MVG_NAME}/home$VM_UID  /srv/openvz/home$VM_UID  ext3  defaults,noatime  0  0
     86/dev/${MVG_NAME}/home$VM_UID  /srv/openvz/home$VM_UID   ext3          ro                  0       0
    8687EOF
    8788
Note: See TracChangeset for help on using the changeset viewer.