So I did some more digging, and found out that I couldn't mount my drive correctly via the SSVM either. It takes extremely long time to mount it, and it seems like the routes are all messed up so it's not correctly mounting it in the end either.
It seems that my management and storage networks are not separated in CloudStack. My SAN storage network is on 172.30.11. and management on 10.100.38. The SSVM tries to route the traffic for my SAN storage over my management network. It seems like it's using IP's from the range specified for my management network. I've added the SAN ip range to PhysicalNetworksInBasicZone->Storage but that doesn't seem to have any effect at all. root@s-19-VM:~# ip route default via 10.100.38.129 dev eth2 10.100.32.20 via 10.100.38.129 dev eth1 10.100.37.26 via 10.100.38.129 dev eth1 10.100.38.128/25 dev eth1 proto kernel scope link src 10.100.38.130 10.100.38.128/25 dev eth2 proto kernel scope link src 10.100.38.135 10.100.38.128/25 dev eth3 proto kernel scope link src 10.100.38.131 169.254.0.0/16 dev eth0 proto kernel scope link src 169.254.0.167 172.30.11.20 via 10.100.38.129 dev eth1 How do I configure the SSVM to use 172.30.11. network for SAN? 2013/11/19 Magnus Janson <mag...@fnutt.us> > Hi All, > > I'm having an issue with CloudStack 4.2 (KVM) and secondary storage. > CloudStack reports that 100% is used, according to CloudStack the capacity > is 275.98MB but the capacity is actually 1.7T. > > Dashboard reports: > Secondary Storage > 275.98 MB / 275.98 MB > > Infrastructure -> Secondary Storage settings: > Name: secondary > URL: nfs://172.30.11.20/mnt/vg2/vol2/nfs2 > Provider: NFS > > Checking the storage from centos (mounted the nfs share temporarily): > [root@host root]# df -h > Filesystem Size Used Avail Use% > Mounted on > 172.30.11.20:/mnt/vg2/vol2/nfs2 1.8T 460M 1.7T 1% > /mnt/secondary > > select id,name,status,type,resource_state,available,capabilities,version > from cloud.host where type='SecondaryStorageVM'; > > '2', 's-19-VM', 'Up', 'SecondaryStorageVM', 'Enabled', '1', NULL, '4.2.0' > > I've been checking the management-servers logfiles but can't find any clue > to what's causing this. > > As far as I can see the, the device is mounted correctly. I really don't > understand why df -h would report 1.7T when the device is mounted, while > CloudStack can only find/use a total of 275.98 MB. > > I don't know how to continue the troubleshooting, any help in the right > direction from you guys would be highly appreciated. > > Best Regards, > Magnus Jansson >