[root@sfzwapp2 /]# fuser -c /app
/app: 18822ce [root@sfzwapp2 /]# ps -ef|grep 18822 root 18822 1 0 00:00 ? 00:00:07 ./nmon_x86_64_rhel6 -f -T -s 120 -c 720 root 21559 21427 0 14:55 pts/2 00:00:00 grep 18822 [root@sfzwapp2 /]# kill -9 18822 [root@sfzwapp2 /]# umount -f /app[root@sfzwapp2 /]# lvremove /dev/vg_sfzwapp2/LogVapp Do you really want to remove active logical volume LogVapp? [y/n]: y Logical volume "LogVapp" successfully removed [root@sfzwapp2 /]# lvextend -L +100G /dev/vg_sfzwapp2/LogVhome Size of logical volume vg_sfzwapp2/LogVhome changed from 10.00 GiB (2560 extents) to 110.00 GiB (28160 extents). Logical volume LogVhome successfully resized [root@sfzwapp2 /]# resize2fs /dev/vg_sfzwapp2/LogVhome
resize2fs 1.41.12 (17-May-2010) Filesystem at /dev/vg_sfzwapp2/LogVhome is mounted on /home; on-line resizing required old desc_blocks = 1, new_desc_blocks = 7 Performing an on-line resize of /dev/vg_sfzwapp2/LogVhome to 28835840 (4k) blocks. The filesystem on /dev/vg_sfzwapp2/LogVhome is now 28835840 blocks long. [root@sfzwapp2 /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_sfzwapp2-LogVroot 35G 2.2G 31G 7% / tmpfs 16G 224K 16G 1% /dev/shm /dev/sda1 477M 42M 410M 10% /boot /dev/mapper/vg_sfzwapp2-LogVhome 109G 38M 103G 1% /home /dev/mapper/vg_sfzwapp2-LogVtmp 9.8G 23M 9.2G 1% /tmp /dev/mapper/vg_sfzwapp2-LogVusr 9.8G 2.9G 6.5G 31% /usr /dev/mapper/vg_sfzwapp2-LogVvar 9.8G 145M 9.1G 2% /var