• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5218
  • Last Modified:

IBM AIX - Mount NAS Storage

I have a new NAS unit that needs to be mounted to an IBM AIX system.  The mount information seems to be in the filesystem file in the /etc folder.  Is there a utility to update and configure this or do I edit the filesystem file?  Do I have to create a volume for the new mount?

What other steps need to be taken to complete the mount?  I also have to dismount the old NAS unit.

Thank you in advance.

AielloJ
0
AielloJ
Asked:
AielloJ
  • 4
  • 4
1 Solution
 
woolmilkporcCommented:
To remove the old mount information issue

smitty rmnfsmnt

Hit <F4> next to " Pathname of mount point" to generate a list of existing mounts.
Hit <Enter> after positioning the cursor at the relevant entry, then choose the appropriate action value with <TAB>, in your case most probably "both".
Hit <Enter> when done.

To create new mount information issue

smitty mknfsmnt

and again, fill in your desired values.

smitty will create the mountpoint if it doesn't exist. No need to create a volume.

If you have any further questions, please let me know, I'll assist you.

In general "smitty" (without parameters) is the tool of choice (a menu system) for AIX system administration. Try it out!

wmp
0
 
AielloJAuthor Commented:
wmp,

Thanks for the information and my apologies fr the delay in getting back to you.  There are a lot of parameters that I'm unclear as how to set.  I've attached a screenshot.  About the only thing I know how to fill in is the hostname (Can I use an IP address?), and the pathname of the remote directory I want to mount.  Can you help with the others?

Thank you in advance.

AielloJ
Create-NAS-Mount.jpg
0
 
woolmilkporcCommented:
You need to fill in just those values having an asterisk in the first column and which are not prefilled (most of them are).

So assuming that you have a NAS box "mynasbox" exporting a directory "/export/toaix" which should be mounted on AIX under "/mynasdata":

Pathname of mount point /mynasdata
Pathname of remote directory /export/toaix
Host where remote directory resides mynasbox
Security method sys # if you don't use Kerberos
Mount now, add entry to /etc/filesystems or both? both
--> "now" means: Mount it just once, forget it after umount
--> "both" means: Mount now and leave an entry in /etc/filesystems for later reference.
--> "filesystems" means: Add an entry to /etc/filesystems for later use, don't mount now.
/etc/filesystems entry will mount... yes
--> "yes": Mount automatically after reboot or by "mount -a"
--> "no": Do nothing, wait for an explicit "mount" command
Mode for this NFS file system read-write # self-explanatory

The remaining required parameters are preset and well suitable in most cases,
if you don't have very elevated security or performance concerns.

You can use an IP address instead of the hostname, but this IP must be resolveable to a hostname via an entry in your local AIX /etc/hosts file or via DNS.
So why not use the hostname straight away?

A general hint on smit/smitty: Whenever you see a "+" in the last column you can use <F4> to generate a list of possible values to select from. In many cases you can also scroll through the values using the <TAB> key, without having to hit <F4> first.

wmp
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
AielloJAuthor Commented:
woolmilkporc

I made some progress.  I had to add the NAS and its IP to the hosts file.  Smitty creates a named mount point, but the files are not listed in that folder.

The hosts file entry appears to be working. If I ping the NAS' IP address, the name is echo'd in the reply.

Best regards,

AielloJ
0
 
woolmilkporcCommented:
Did you specify both here?

Mount now, add entry to /etc/filesystems or both? both

Or did you get any error messages?

Is it really NFS? Or is it rather CIFS (SMB)?
0
 
AielloJAuthor Commented:
woolmilkporc:

"Or is it rather CIFS (SMB)?"  I think you're about to make me feel really dumb.  The NAS unit is a NetGear Ready NAS 3100.  The term CIFS was used in their documentation somewhere.  I'll have to dig into it and find out.

I did add the mount to 'both.'  Thank you for your patience.

AielloJ
0
 
woolmilkporcCommented:
NetGear ReadyNAS supports both protocols (and several more).

So all depends on what you configured there.
0
 
AielloJAuthor Commented:
woolmilkporc:

It's been a rough ride as this version of AIX is very old and we don't have the media, but I got it mounted.

Strangely, the process seems to have been inconsistent.  Sometimes I needed to create the mount point manually outside of Smitty, within Smitty it insisted on creating it itself.

Thanks for the help and the patience.

AielloJ
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now