[root@cnsz046122 ~]# fdisk -l |grep sdb Disk /dev/sdb: 107.4 GB, 107374182400 bytes /dev/sdb1 1 13054 104856223+ 8e Linux LVM [root@cnsz046122 ~]# fdisk -l |grep sdc Disk /dev/sdc: 107.4 GB, 107374182400 bytes [root@cnsz046122 ~]# vgs VG #PV #LV #SN Attr VSize VFree VolGroup00 1 6 0 wz--n- 98.97g 8.97g VolGroup01 1 1 0 wz--n- 100.00g 0 [root@cnsz046122 ~]# printf "n\np\n1\n\n\nt\n8e\nw\n" | fdisk /dev/sdc Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0x9e5f7a16. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): Command action e extended p primary partition (1-4) Partition number (1-4): First cylinder (1-13054, default 1): Using default value 1 Last cylinder, +cylinders or +size{K,M,G} (1-13054, default 13054): Using default value 13054 Command (m for help): Selected partition 1 Hex code (type L to list codes): Changed system type of partition 1 to 8e (Linux LVM) Command (m for help): The partition table has been altered! pvcreate /dev/sdc1Calling ioctl() to re-read partition table. Syncing disks. [root@cnsz046122 ~]# pvcreate /dev/sdc1 dev_is_mpath: failed to get device for 8:33 vgextend /dev/VolGroup01 /dev/sdc1 Physical volume "/dev/sdc1" successfully created [root@cnsz046122 ~]# vgextend /dev/VolGroup01 /dev/sdc1 lvresize -L +98g /dev/mapper/VolGroup01-LVwls Volume group "VolGroup01" successfully extended [root@cnsz046122 ~]# lvresize -L +98g /dev/mapper/VolGroup01-LVwls resize2fs /dev/mapper/VolGroup01-LVwls Extending logical volume LVwls to 198.00 GiB Logical volume LVwls successfully resized [root@cnsz046122 ~]# resize2fs /dev/mapper/VolGroup01-LVwls resize2fs 1.41.12 (17-May-2010) Filesystem at /dev/mapper/VolGroup01-LVwls is mounted on /wls; on-line resizing required old desc_blocks = 7, new_desc_blocks = 13 Performing an on-line resize of /dev/mapper/VolGroup01-LVwls to 51903488 (4k) blocks. The filesystem on /dev/mapper/VolGroup01-LVwls is now 51903488 blocks long. [root@cnsz046122 ~]# vgs VG #PV #LV #SN Attr VSize VFree VolGroup00 1 6 0 wz--n- 98.97g 8.97g VolGroup01 2 1 0 wz--n- 199.99g 2.00g [root@cnsz046122 ~]# fdisk -l |grep sdc Disk /dev/sdc: 107.4 GB, 107374182400 bytes /dev/sdc1 1 13054 104856223+ 8e Linux LVM