Archive

Posts Tagged ‘smit’

AIX – Create Filesystem using SMIT

July 7, 2011 3 comments

On AIX you can create a new filesystem easily using the GUI Smit.

In order to do so follow below:

# smit

> system storage management (Physical & logical Storage)
> file systems
> add / change / show / delete file systems
> enhanced journaled file system
> add an enhanced journaled file system
> <choose volume group>
> <size> Gigs
> <number of units> 2
> <mount point>
> <mount automatically> yes
> [enter]
> F10 to exit when complete

# mount <file system>
# vi /etc/filesystems
(rearrange newly created filesystem to where you wish it to appear when doing a df)

AIX – Increase Filesystem Size

July 5, 2011 1 comment

If you need to increase the size of the filesystem on AIX you can use SMIT. The follow through the menu system to increase the filesystem size:

# df -g

# smit

> System Storage Management (Physical & Logical Storage)

> File Systems

> Add / Change /  Show  / Delete File Systems

> Enhanced Journaled File Systems

> Change / Show Characteristics of an Enhanced Journaled File System

> File System Name (choose file system name)

> Change filesystem details then press enter to update

> Exit smit with F10

# df -g (check filesystem updated correctly)

Or you can use the command line:

# chfs -a size=+1G <filesystem>

or…

# chfs -a size=11G <filesystem>