GitHub user TheKunalSen added a comment to the discussion: copying vms from one 
zone to another

> @TheKunalSen can you find the URL of the snapshot in the zone 2 SSVM, try 
> running 'wget' on the SSVM with it. Check the source secondary storage NFS 
> file permissions.

@rajujith 

the snap shot is there in the zone 2 nfs 

on management db
```
mysql> use cloud
Database changed
mysql> SELECT s.id, s.name, ss.install_path, ss.store_id
    -> FROM snapshots s
    -> JOIN snapshot_store_ref ss ON s.id = ss.snapshot_id
    -> WHERE s.uuid = '2030f066-55f6-4454-8b07-19868d7fcd04';
+----+---------+-----------------------------------------------------+----------+
| id | name    | install_path                                        | store_id 
|
+----+---------+-----------------------------------------------------+----------+
| 19 | z-2-new | snapshots/2/99/a7cfd34e-2c76-4a4a-880a-0b8fecded4c8 |        4 
|
+----+---------+-----------------------------------------------------+----------+
1 row in set (0.00 sec)
```

on nfs2

```
user@nfs2:/export/secondary$ cd snapshots/2/99
user@nfs2:/export/secondary/snapshots/2/99$ ls
15c5cc5c-1fad-4f31-97b3-507d83f3f600  a7cfd34e-2c76-4a4a-880a-0b8fecded4c8  
dc1b04e2-1649-44a9-8c79-69f71afec96f
```

and i gave these permissons on both of my nfs

```
chmod -R 777 /export
chown -R nobody:nogroup /export
```

i tried doing the wget from zone 1 ssvm and it returned this

```
root@s-109-VM:~# wget --spider 
http://192.168.2.11/copy/SecStorage/f814938b-450e-3e77-8dca-e808a2d4afc1/snapshots/2/99/a7cfd34e-2c76-4a4a-880a-0b8fecded4c8
Spider mode enabled. Check if remote file exists.
--2026-05-25 06:43:38--  
http://192.168.2.11/copy/SecStorage/f814938b-450e-3e77-8dca-e808a2d4afc1/snapshots/2/99/a7cfd34e-2c76-4a4a-880a-0b8fecded4c8
Connecting to 192.168.2.11:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
Remote file does not exist -- broken link!!!

```

these are my ssvms

<img width="1120" height="86" alt="image" 
src="https://github.com/user-attachments/assets/591441db-aef3-4817-bfd7-02dc240d5b33";
 />




GitHub link: 
https://github.com/apache/cloudstack/discussions/13208#discussioncomment-17046775

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to