How do I check disk space on HP UX?

How do I check disk space on HP UX?

You can use bdf command to see the file system usage and availability in hpux, df -g command in AIX, df command in solaris. This command will show you the usage of files and directories under that file system.

How do you put a disk in a HP UX?

Adding Disks with HP-UX

  1. Go to the build directory and from there, run the script, system_prep. This script will extract the system file from the current kernel.
  2. Modify the /stand/build/system file, adding the driver.
  3. Save the copy of the old kernel and move the new one in its place and reboot the system.

How do I find the volume group in HP UX?

Use #vgdisplay -v and look for the physical volume under one of the VGs. Use #strings /etc/lvmtab (but I understand you may need to run #vgscan to regenerate it for some reason).

How do I check the size of a directory in HP Unix?

If you want to find the size of directories, you can use: du -kxs directories …

How do I view a LVM partition?

There are three commands you can use to display properties of LVM logical volumes: lvs , lvdisplay , and lvscan . The lvs command provides logical volume information in a configurable form, displaying one line per logical volume. The lvs command provides a great deal of format control, and is useful for scripting.

How can I check my ILO disk status?

If the disks are internal, you can use the HP tools such as HPASM and HPSMH. HPASM’s cpqimlview will let you see any alerts raised by ILO. HPSMH and the associated daemons will allow you to see the status of attached storage such as an MSA. These together will allow you to view the internal disk status.

How do I check free space volume?

Execute the command vgdisplay to get information of all volume groups on the system. Example output is given below. The line “Free PE / Size” indicates the free physical extents in the VG and free space available in the VG respectively. From the example above there are 40672 available PEs or 158.88 GiB of free space.

How do I view disks in Linux?

List Disks on Linux using lsblk

  1. The easiest way to list disks on Linux is to use the “lsblk” command with no options.
  2. Awesome, you successfully listed your disks on Linux using “lsblk”.
  3. In order to list disk information on Linux, you have to use the “lshw” with the “class” option specifying “disk”.