How do I check disk space on AIX server?
How do I check disk space on AIX server?
To display available space on the file system in which your current directory resides, enter: cd/ df .
How do I rename a file in AIX?
Steps:
- Unmount the FS associated with the testlv_old ( lets us say /testfs)
- Rename the logical volume type.
- Verify dev parameters of the mount point of the filesystem associates with the logical volume in the /etc/filesystems file to match the new name of the logical volume.
How do I create a FileSystem in AIX?
Steps To Create A File System
- # lspv. lspv command.
- # mkvg hdisk0. This command will create a VG with default name vg00.
- # mklv vg00 10. To Check VG information interms of PPs assigned, command used:
- # lsvg -p vg00. lsvg command.
- # lsvg -l vg00. lsvg -l.
- # lslv lv00. OR.
- # lsvg -l vg00.
- # mkdir /test01.
How do I find FS in AIX?
At boot time, AIX® attempts to check all the file systems listed in /etc/filesystems with the check=true attribute by running the fsck command.
How do I find the size of a file in AIX?
How to List the File Size in Gigabytes in AIX
- Log in to your system if you have not already.
- Type “cd /path/to/location”, without quotes.
- Type “ls -h G”, without quotation marks, and then press “Enter.” Your files will be listed with their size printed in gigabytes.
How do I rename VG and LV?
Below is step by step procedure to do the same.
- Renaming the volume group. # vgs VG #PV #LV #SN Attr VSize VFree vg_os 1 2 0 wz–n- 557.88g 1.88g.
- Modify the /etc/fstab.
- Update the GRUB2 configuration file.
- activate new VG and refresh volumes.
- Create new initial ramdisk.
How do I rename a VG in AIX?
Rename VG in AIX
- # lsvg. CPIdatavg. CPIindexvg.
- # lsvg -l CPIdatavg.
- # lsvg -l CPIindexvg.
- # lsvg -l CPIbkupvg. See what all filesystems associated with each VG and umount all of them first.
- # lsvg -p CPIdatavg. CPIdatavg:
- # lsvg -p CPIindexvg. CPIindexvg:
- # lsvg -p CPIbkupvg. CPIbkupvg:
- # varyoffvg CPIdatavg.
What is VGDA in AIX?
VGDA (Volume Group Descriptor Area) It is an area on the hard disk (PV) that contains information about the entire volume group. There is at least one VGDA per physical volume, one or two copies per disk.
How do I create a filesystem in Aix using Smitty?
Setting up a file system
- Create a new file system, for example fsscratch :
- Mount the filesystem: smitty System Storage Management – File Systems – Mount a File Systems FILE SYSTEM name [/dev/lvscratch] + DIRECTORY over which to mount [/fsscratch] + # or on the command line: /usr/sbin/mount /dev/lvscratch /fsscratch.
What is filesystem AIX?
The basic type of file system used by AIX® is called the journaled file system (JFS). The AIX operating system supports multiple file system types including the journaled file system (JFS) and the enhanced journaled file system (JFS2).
Where is fstab in AIX?
4.3 BSD systems store lists of block devices and mount points in the /etc/fstab file. SVR4 systems store block devices and mount point information in /etc/vfstab file. AIX® stores block device and mount points information in /etc/filesystems file.
https://www.youtube.com/watch?v=wJ5JsEu31q8