{"id":1313,"date":"2019-01-18T09:32:01","date_gmt":"2019-01-18T15:32:01","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=1313"},"modified":"2019-01-18T09:32:02","modified_gmt":"2019-01-18T15:32:02","slug":"aws-storage-gateway-test","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/aws-storage-gateway-test\/","title":{"rendered":"AWS Storage Gateway Test"},"content":{"rendered":"\n
I recently wanted to take a quick look at the File Gateway. It is described as \"Store files as objects in Amazon S3, with a local cache for low-latency access to your most recently used data.\" I tried it on Virtualbox using the Vmware ESXi Image they offer.<\/p>\n\n\n\n
Steps:<\/strong><\/p>\n\n\n\n Some useful CLI commands<\/strong><\/p>\n\n\n Mount test<\/strong><\/p>\n\n\n I recently wanted to take a quick look at the File Gateway. It is described as “Store files as objects<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,82],"tags":[],"class_list":["post-1313","post","type-post","status-publish","format-standard","hentry","category-aws","category-nfs"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=1313"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1313\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=1313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=1313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=1313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n$ aws storagegateway list-gateways\n{\n "Gateways": [\n {\n "GatewayId": "sgw-<...>",\n "GatewayARN": "arn:aws:storagegateway:us-east-1:<...>:gateway\/sgw-<...>",\n "GatewayType": "FILE_S3",\n "GatewayOperationalState": "ACTIVE",\n "GatewayName": "iq-st01"\n }\n ]\n}\n\n$ aws storagegateway list-file-shares\n{\n "FileShareInfoList": [\n {\n "FileShareType": "NFS",\n "FileShareARN": "arn:aws:storagegateway:us-east-1:<...>:share\/share-<...>",\n "FileShareId": "share-<...>",\n "FileShareStatus": "AVAILABLE",\n "GatewayARN": "arn:aws:storagegateway:us-east-1:<...>:gateway\/sgw-<...>"\n }\n ]\n}\n\n$ aws storagegateway list-local-disks --gateway-arn arn:aws:storagegateway:us-east-1:<...>:gateway\/sgw-<...>\n{\n "GatewayARN": "arn:aws:storagegateway:us-east-1:<...>:gateway\/sgw-<...>",\n "Disks": [\n {\n "DiskId": "pci-0000:00:16.0-sas-0x00060504030201a0-lun-0",\n "DiskPath": "\/dev\/sda",\n "DiskNode": "SCSI (0:0)",\n "DiskStatus": "present",\n "DiskSizeInBytes": 8589934592,\n "DiskAllocationType": "CACHE STORAGE"\n }\n ]\n}\n<\/pre><\/div>\n\n\n
\n# mount -t nfs -o nolock,hard 192.168.1.25:\/st01.iqonda.com \/mnt\/st01\n# nfsstat -m\n\/mnt\/st01 from 192.168.1.25:\/st01.iqonda.com\n Flags:\trw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.2.15,local_lock=none,addr=192.168.1.25\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"