Monday, February 3, 2025

Pure Storage FlashArray File - So Easy, Even Neil Can Do it! - Part I - Setup an SMB and NFS Share

Hi Friends,

It's that time again, So Easy, Even Neil Can Do it!!  As I told you the other day, I'm at Pure Storage now and I'm heads down learning all this great technology.  What's really cool is Pure has two lines of storage for two different purposes, but they BOTH use SSD storage!  

SSD storage is SUPER fast because there's no moving parts.  If you've used computers for awhile, one of the worst sounds you'll hear is a hard drive bearings going bad or if the heads make contact with the platters.  It's not pleasant.









See that line on the platter?  That's bad!  The read/write heads on this hard drive have decided to go platter surfing and that platter is pretty much toast.  I've seen videos where repair techs will open a bad hard drive, remove the scratched platter and bad head, seal up the drive and it sometimes works.  But the data on that particular platter is pretty much toasted for us mere mortals.  Remember when your little sister or brother scratched up your favorite record/CD/DVD and it just never played right again?  Yep, it's kind of like that.

You've probably heard of SSD's since most modern laptops are coming with them.  Notice how fast your laptop boots now?  Remember when you used to turn it on, go to the rest room, go get a cup of coffee, go to a couple of meetings and when you get back your computer is ready to use!

With Pure Storage, there's no more of that, it's all pure SSD goodness!  I'll go into a lot more detail on what an SSD is and what is the Pure approach to SSD performance and longevity in another article.

Pure has two storage lines, FlashArray and FlashBlade.

FlashArray is for scale up.  What is scale up?  That's more traditional storage that you're probably more familiar with.  Fiber channel, iSCSI, file, block, transactional DBs and it's super fast!  Here you've usually got two heads and if one head croaks, the other head takes over.

FlashBlade is for scale out.  What's the difference?  Scale out is traditionally for high performance computing (big data), oil and gas data crunching, object stores, unstructured data, etc.  Here you usually have multiple heads with multiple drives and all the data is spread over all the different arrays to help speed up the number crunching and data retrieval.

I've been spending some time with FlashArray and it's super simple to set up file access for SMB and NFS all from the same GUI AND both Linux/Unix hosts using NFS can access the same SMB shares that Windows boxes are using, AMAZING!  Literally with a few clicks and some information, you can be serving files and filesystems to your customers.  Oh and did I mention how crazy fast the array is??

Remember the fun of setting up Samba?  Well no more!  Watch how cool this is!

1. Add your array to Active Directory so it can start authenticating users.  If you're not an AD shop and you'd like to use LDAP, you can do that too, but for this example I'm using AD.




2.  Let's connect up to AD:
     Name - That's just what you want to call this connection.
     Domain DNS Name - This is the domain's name and you can get this from AD.
     Computer Name - Enter in the name of your FlashArray.
     User - This is the local administrative user for the FlashArray.
     Password - Put in the password for this user.

Click on Create and you're connected to AD. 

Note:  I didn't put anything in for my OU.  If you don't put anything in, you'll be defaulted into the CN= Computers group.




































3.  Next we'll setup our File Systems for SMB and NFS.  This is super simple and you just need to follow 1-4.  Directory Quotas are not necessary, but they really do help keep your users from abusing the space you give them.  Let's go through each step together!



























4.  Give your new File System(s) a name.















5. Notice a Directory was created when we created our File System?  That's the root filesystem.  We can use this if we want, but it's a best practice to create sub-directories to better organize your data repositories.








6.  Let's create our sub-directory by clicking on the + sign.  For File System, we'll select the file system we just created.  Give the sub-directory a name and a path that makes sense to you.



















7. Now we'll export our share.  Select the directory you just created and give this new export a name.  Here's where you get a bunch of granular control.  You can either use the simple NFS and SMB default policies, or you can create your own.  I'm going to use the default policies for now.  

Something really important to remember.  Don't forget to Enable the share.  If you'd like to disable it at any time, it's as simple as flipping the switch.
























8.  And that's really it!  If you want more granular control, you can setup quotas and specific policies, which I'll do at a later time.  But for now, let's connect to our share!

9.  Go to your Windows icon in the lower left corner of your screen and click it.  In the search bar type in two backslashes and the IP address of your Data VIF.  You can get your Data VIF from Settings > Network > Connectors.




















10.  Linux would be just as simple except you need to mount the new NFS share with the mount command:
sudo mount -t nfs x.x.x.x:/directory1 /mnt/directory1

That's it!  Start using your share!!


***IMPORTANT INFORMATION***
I wanted to point out a few gotchas that are easy to overlook when you're setting up your share.

1.  Make sure your File Interface, Physical or VIF,  is Enabled.  -  It's very simple to over look this.  Spend a little time getting to know your connections and your networking.












2. Make sure your Directory Exports are Enabled.







3.  Make sure your Policies are Enabled.







4.  Make sure the Export itself is Enabled.  We did this back in step 7, but it's still an easy on to overlook.


Hope you enjoyed my first - So Easy Neil Can Do it with Pure Storage FlashArray!  Be on the lookout for additional blogs!

Neil