Issue #5682 has been updated by eric sorenson.

Keywords set to aix


----------------------------------------
Feature #5682: Add mount provider for AIX
https://projects.puppetlabs.com/issues/5682#change-67267

Author: Hector Rivas
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: 
Category: mount
Target version: 2.7.x
Affected Puppet version: 
Keywords: aix
Branch: https://github.com/keymon/puppet/tree/feature/master/5682


Puppet does not provides a correct provider for the mount type on AIX.

A new provider must be created.

Mountpoints in AIX are managed by the commands: crfs, lsfs, rmfs, chfs 
(http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds1/crfs.htm).
 For nfs mountpoints the commands mknfsmnt, chnfsmnt, rmnfsmnt and chnfsmnt are 
provided, but they can partially be managed with former commands.

The commands update the file /etc/filesystems that has following syntax:

    /usr:
       dev             = /dev/hd2
       vfs             = jfs2
       log             = /dev/hd8
       mount           = automatic
       check           = false
       type            = bootfs
       vol             = /usr
       free            = false

    /var:
       dev             = /dev/hd9var
       vfs             = jfs2
       log             = /dev/hd8
       mount           = automatic
       check           = false
       type            = bootfs
       vol             = /var
       free            = false

**IMPORTANT**: crfs (create) and rmfs (remove), if it is a local filesystem,  
will create and format (using jfs/jfs2) the needed Logical Volume, or directly 
remove the Logical Volume losing data.   

Two approaches:
 1. Use command line tools and operate as expected by AIX commands: Operate on 
the LV. In that case type should be extended with new parameters (Volume Group, 
LV name, size...)
 2. Modify directly /etc/filesystems files, and manage the Logical Volumes 
using a LVM type (as in other OS)






-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to