Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Are Multiple volumes possible with Google Filestore

Can I breakup a Google Filestore into multiple volumes or storage pools and then mount one of those volumes on two GCE VMs as a directory named mySharedData?

This is what I need to do...

I have:
  Two production Linux GCE VMs called prod0 and prod02
  Two develoment Linux GCE VMs called dev01 and dev02

Create a 1-tb Filestore called MYFILESTORE
carve out a 100gb volume from MYFILESTORE called myVol-prod
carve out a 100gb volume from MYFILESTORE called myVol-dev

Mount myVol-prod on VM servers prod01/02 as a directory called /mysharedprodData.  Both servers will read and write files into this directory.

Mount myVol-dev on VM servers dev01/02 as a directory called /myshareddevData.  Both servers will read and write files into this directory.
Do the same for test servers.

I think this is possible using NetApp-Volumes, but I'd like to explore doing it with Filestore

Solved Solved
2 3 505
1 ACCEPTED SOLUTION

NetApp Volumes doesn't only allow to create small volumes within a single Storage Pool (similar like a FileStore instance), but it also provide some advantages like:

- It allows to mount the volume myVol-prod only by the prod VMs prod0 and prod02, and the volume myVol-dev to the dev VMs dev01 and dev02. The dev VMs cannot mount the volume myVol-prod and viceversa.
- You can create different data protection policies for prod and dev. Typically for production you want to protect better your data. NetApp Volumes allows you to use (1) local snapshots, (2) integrated backup, and (3) volume replication to another region.

View solution in original post

3 REPLIES 3

NetApp Volumes doesn't only allow to create small volumes within a single Storage Pool (similar like a FileStore instance), but it also provide some advantages like:

- It allows to mount the volume myVol-prod only by the prod VMs prod0 and prod02, and the volume myVol-dev to the dev VMs dev01 and dev02. The dev VMs cannot mount the volume myVol-prod and viceversa.
- You can create different data protection policies for prod and dev. Typically for production you want to protect better your data. NetApp Volumes allows you to use (1) local snapshots, (2) integrated backup, and (3) volume replication to another region.

Hi gpablo,
Thanks for the insight, it sounds like NetApp Volumes is the way to go.
Do you know if this would work at all with Filestore? The reason I ask, is because with a quick look at pricing, it seems that Filestore would cost slightly less than NetApp(with a StoragePool). Although pricing can be tricky because there are so many factors: Basic, Zonal, Enterprise, Regional, Zonal, SSD, HDD, network traffic costs, etc, etc...

As far as I know Filestore cannot do it. You could use NFS submounting (mounting a folder inside a Filestore instances), but the security rules would need to allow to be mounted by all the servers.  In terms of price it depends like you said. Depends on your performance and availability requirements. Both solutions start from $0.2 per GiB monthly