Creating a UNIX FileSystem in AIX

Creating a UNIX FileSystem.

Add a filesystems from scratch. Add the VG first here are the steps...

1.  Check & update the file ... \\sysdev-dms\SysAdmin\Diskspace\Free Disk from SSA & Shark.doc for hdisk requirements.
for vpaths you can use for the disk.
2.  Use pcmpath query essmap to list the vpaths & see if they are actually available for Shark Disks.
     Use /usr/lpp/EMC/CLARiiON/bin/inq.aix64 to list the vpaths & see if they are actually available for EMC Disks.
     To check the size of disks, please run the command as below.
     getconf  DISK_SIZE /dev/hdisk##              
     Notes: ## is the number of disk.
3.  smit vg
4.  Add a Volume Group -> Add a big Volume group

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
  VOLUME GROUP name                                  [VGname]
  Physical partition SIZE in megabytes                  128                  +
* PHYSICAL VOLUME names                              [hdisk##]               +
  Force the creation of a volume group?               no                     +
  Activate volume group AUTOMATICALLY                 yes                    +
    at system restart?
  Volume Group MAJOR NUMBER                          []                      +#
  Create VG Concurrent Capable?                       no 

5.  smit lv
6.  Add a Logical Volume
       ---> Add an l in front of the name
       ---> Number of LOGICAL PARTITIONS - should be 1 less than Total PP's (lsvg VG) for JFS Log.
       ---> Update  Logical volume TYPE              [jfs2]
7.  smit jfs2
8.  Add an Enhanced Journaled File System on a Previously Defined Logical Volume
* LOGICAL VOLUME name                                 VGNAME                 +
* MOUNT POINT                                        [MOUNT_POINT]
  Mount AUTOMATICALLY at system restart?              yes                    +
  PERMISSIONS                                         read/write             +
  Mount OPTIONS                                      []                      +
  Block Size (bytes)                                  4096                   +
  Logical Volume for Log                                                     +
  Inline Log size (MBytes)                           []                       #
  Extended Attribute Format                           Version 1              +
  ENABLE Quota Management?                            no                     +

9.  smit mount

10.  mount the filesystem

Post a Comment

Previous Post Next Post