Posts

LVM Configuration - RHEL 8 (EX294)

Image
  LVM Configuration in Red Hat How to Create   LVM? Step-1   First verify hard disk status and current partitions? [root@localhost ~]# lsblk NAME   MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda      8:0    0   30G 0 disk ├─sda1   8:1    0 1000M 0 part /boot ├─sda2   8:2    0 14.7G 0 part / ├─sda3   8:3    0    2G 0 part [SWAP] └─sda4   8:4    0    1K 0 part sdb      8:16   0   10G 0 disk sr0     11:0    1 6.6G 0 rom [root@localhost ~]# [root@localhost ~]# fdisk -l Disk /dev/sda: 30 GiB, 32212254720 bytes, 62914560 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xf085a991 Device      Boot      Start      End Sectors Size Id Type /dev/sda1   *          2048 2050047 2048000 1000M 83 Linux /dev/sda2           2050048 32770047 30720000 14.7G 83 Linux /dev/sda3          32770048 36866047 4096000     2G 82 Linux swap / Solaris /dev/sda4         

Uninstall powerpath on a Boot from SAN configuration and get back to MPIO

  Uninstalling powerpath when your rootvg resides on a SAN LUN, is not so easy, because you can’t install concurrently the MPIO disk driver fileset, with the one you’re using with powerpath ! And you won’t be able to uninstall the latter (in order to install MPIO support for your disks), unless you wanna play with the ODM. But first things first :   Unconfigure powerpath # powermt unmanage dev=all PS : on some older versions (like 5.3 SP1), the argument « all » is not valid, you will need to specify each volume specifically. If you encounter this message (because you have open VG’s on the disks), don’t worry, the unmanage option will be active for the next reboot: # powermt unmanage dev=hdiskpower11   Cannot remove device that is in use: hdiskpower11 Device(s) will be unmanaged on Reboot. If not done yet, unmanage your rootvg hdisk and reboot to get rid of all powerpath managed stuff: # pprootdev off # shutdown -Fr Uninstall powerpath Now we can uninstall powerpath: # installp -u EMCpo