1
I have a HDD of size 120Gb, that has RHEL6 with 2 physical partitions sda1: /boot sda2: LVM managed Logical volumes VolGroup00
VolGroup00 contains following logical volumes /lv_root 36G /lv_opt 45G /lv_home 24G /lv_tmp 3G /lv_audit 3G /lv_log 3G
I had tried shrinking /opt by 4Gb using lvresize, resize2fs and mkfs commands and created new physical partition from the new free space. In this case, /opt was present as last logical volume (as printed by fdisk -l). Freeing space from /opt and creating new partition worked fine. sda3 was created at the end of hdd.
But I want to free space from /home which is present in the middle of logical volume group. When I try to create sda3 by freeing space from /home, all existing logical volumes gets corrupted and OS fails to boot.
Kindly suggest on how this could be achieved. Thanks in advance.
Please clarify your question, because you make very bad mix of physical disks, partitions, physical volumes and logical volumes. At least provide result of mount command – Romeo Ninov – 2015-05-29T08:04:49.447
apologies for my incomplete question. Please check the edited question – AvinashUpadhyaya – 2015-05-29T09:31:55.213