SharedMountPoint will let you add it, but I believe the allocator will still consider it as shared, even in a single-host cluster. There is the same issue with the similar PreSetup option on XenServer.
This adds a lot of confusion. For example, to use the local storage you will need to use disk/compute offerings with shared = true. I filed an enhancement request to add proper support for this: https://issues.apache.org/jira/browse/CLOUDSTACK-4712 Best regards, Kirk On 09/13/2013 01:48 PM, Edison Su wrote: > > >> -----Original Message----- >> From: David Ortiz [mailto:dpor...@outlook.com] >> Sent: Friday, September 13, 2013 1:33 PM >> To: users@cloudstack.apache.org >> Subject: RE: Support for multiple Local Storage volumes >> >> That's actually how I have my primary storage setup using a gfs2 cluster. In >> this case I want the storage to only be local to that host though. I have >> some >> VMs running that will work better if they have exclusive access to a spindle. >> Just wanted to make sure this feature isn't already there before I start >> poking around to figure out how to add the ability. > Only one local storage per host is supported out-of-box. > > In order to workaround the limitation, you can use one host one cluster, then > add a lot of "SharedMount" primary storages per cluster. > As you are using local storage, you don't need live migration, thus, no need > to group hosts into a cluster. > >> Thanks, Dave >> >>> From: edison...@citrix.com >>> To: users@cloudstack.apache.org >>> Subject: RE: Support for multiple Local Storage volumes >>> Date: Fri, 13 Sep 2013 18:48:31 +0000 >>> >>> You can always use "SharedMount" in KVM: >>> >>> KVM supports "Shared Mountpoint" storage. A shared mountpoint is a >>> file system path local to each server in a given cluster. The path >>> must be the same across all Hosts in the cluster, for example >>> /mnt/primary1. This shared mountpoint is assumed to be a clustered >>> filesystem such as OCFS2. In this case the CloudStack does not attempt >>> to mount or unmount the storage as is done with NFS. The CloudStack >>> requires that the administrator insure that the storage is available >>> >>> http://people.apache.org/~ke4qqq/docs2/en- >> US/Apache_CloudStack/4.0/htm >>> l/Admin_Guide/hypervisor-support-for-primarystorage.html >>> >>>> -----Original Message----- >>>> From: David Ortiz [mailto:dpor...@outlook.com] >>>> Sent: Friday, September 13, 2013 5:12 AM >>>> To: users@cloudstack.apache.org >>>> Subject: Support for multiple Local Storage volumes >>>> >>>> Hello, >>>> I know as of Cloudstack 4.0.1 it was not possible to set up >>>> multiple local storage volumes on a cloudstack host. Is this still >>>> the case? I am looking to provide multiple drives as separate >>>> volumes to simulate the kind of disk passthrough features that are >> supported by VMWare. >>>> Thanks, David Ortiz >>