Advertisement
henrydenhengst

OVH.NL Create local ISO Storage in XenServer

Jul 20th, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | None | 0 0
  1. #!/bin/bash
  2. # after creating a default xenserver 6.5 installation on the dedicated server @ ovh.nl
  3. # Format the /dev/md2 with the following command:
  4. mkfs.ext3 /dev/md2
  5. # Create the iso directory:
  6. mkdir /mnt/iso
  7. # Mount the partition:
  8. mount –t ext3 /dev/md2 /mnt/iso/
  9. # The mount must be active after a reboot. So add it to the fstab script:
  10. echo "/dev/md2 /mnt/iso ext3 defaults 1 1" >> /etc/fstab
  11. # Make it available in XenServer:
  12. xe-mount-iso-sr /mnt/iso –o bind
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement