Welcome, Guest
Username Password: Remember me

Mount point - secondary storage
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Mount point - secondary storage

Mount point - secondary storage 2 months, 3 weeks ago #9149

  • tcrgar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Hi, I'm stuck again.
I have created NFS share on my Windows Server 2008 R2 box. Premisions are everyone FullAcces, also picture is attached for NFS premissions.

Buw... When im trying to install XenServer templates and run this command:

/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/acton-beta1-systemvm.vhd.bz2 -h xenserver -F


I got this error:

mkdir: cannot create directory `/mnt/secondary': Permission denied
Failed to write to mount point /mnt/secondary -- is it mounted?


Now, I0m little stuck and need some help...
Thank you !
Attachments:

Re: Mount point - secondary storage 2 months, 3 weeks ago #9157

  • Nitin
  • OFFLINE
  • Expert Boarder
  • Posts: 102
  • Karma: 6
Did you follow the first instruction from the link below ?
ke4qqq.fedorapeople.org/qig/chap-CloudSt...condary_storage.html

Seems like you didnt mount secondary storage on to your Management Server under /mnt/secondary

Re: Mount point - secondary storage 2 months, 3 weeks ago #9158

  • tcrgar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
I did folow this instructions. It seems that problem is with my NFS premissions on windows server 2008 box.

When I unmount /mnt/secondary and leave only empty folder on /mnt/secondary/ and than run script

# /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary \
-u http://download.cloud.com/releases/2.2.0/systemvm.vhd.bz2 -h xenserver -F


download suceed .

It is ok to leave templates on local disk on management server?

Re: Mount point - secondary storage 2 months, 3 weeks ago #9160

  • Nitin
  • OFFLINE
  • Expert Boarder
  • Posts: 102
  • Karma: 6
Finally the aim of this script is to download the system vm template and put it into secondary storage at a particular location. If you are somehow not able to get through the permissions and need a workaround I suggest you to copy the template to the secondary storage with the exact directory structure and permissions from this local disk. I am not sure of windows OS so cant completely guide you on the permissions part.

Re: Mount point - secondary storage 2 months, 3 weeks ago #9174

  • tcrgar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Allright !
Finally i have configure secondary storage and download vm templates for XenServer.

Now, how should I restart configuration wizard from beginig? ...I have configure CloudStack via wizard on mgmtsrv:8080/client but i wrote all false configuration detalis.
So i would like to confgiure this from scrach..

thank you

Re: Mount point - secondary storage 2 months, 3 weeks ago #9219

  • Nitin
  • OFFLINE
  • Expert Boarder
  • Posts: 102
  • Karma: 6
I think you will have to clean up db (cloud-setup-databases) again do the entire setup all over again.

Use this link ke4qqq.fedorapeople.org/qig/mgmt-install-db.html for reference.
  • Page:
  • 1
Time to create page: 0.48 seconds

Resources

Open Source Resources Discuss Site Info

The CloudStack™project is in the process of moving to the Apache Foundation as a podling in the Apache Incubator. Going forward CloudStack will be developed and governed in the Apache way. CloudStack is available under the Apache License 2.0