Disk /dev/sdc: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x95392dee
Device Boot Start End Blocks Id System
/dev/sdc1 1 10240 10485744 8e Linux LVM
Disk /dev/sdd: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/rootvg-root: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/rootvg-swap01: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/oravg-oraclelv: 48.3 GB, 48318382080 bytes
255 heads, 63 sectors/track, 5874 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/rootvg-tmp: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/rootvg-opt: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/rootvg-usr: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/rootvg-var: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/rootvg-home: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sde: 53.7 GB, 53687091200 bytes
64 heads, 32 sectors/track, 51200 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8104904e
Device Boot Start End Blocks Id System
/dev/sde1 1 51200 52428784 8e Linux LVM
Disk /dev/mapper/oravg-oradatalv: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdf: 53.7 GB, 53687091200 bytes
64 heads, 32 sectors/track, 51200 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
[root@test ~]# fdisk /dev/sd
sda sda1 sda2 sdb sdb1 sdc sdc1 sdd sde sde1 sdf
[root@test ~]# fdisk /dev/sdd
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x7b3afc49.
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): p
Disk /dev/sdd: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7b3afc49
Device Boot Start End Blocks Id System
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-10240, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-10240, default 10240):
Using default value 10240
Command (m for help): p
Disk /dev/sdd: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7b3afc49
Device Boot Start End Blocks Id System
/dev/sdd1 1 10240 10485744 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[root@test ~]# pv
pvchange pvck pvcreate pvdisplay pvmove pvremove pvresize pvs pvscan pv.sh
[root@test ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sdb1
VG Name oravg
PV Size 50.00 GiB / not usable 3.98 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 12799
Free PE 1278
Allocated PE 11521
PV UUID 2kCego-8ebB-h31g-9Ers-lbDo-HKZM-tE2qB3
--- Physical volume ---
PV Name /dev/sdc1
VG Name oravg
PV Size 10.00 GiB / not usable 3.98 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 2559
Free PE 2559
Allocated PE 0
PV UUID cvfyG2-lGsU-M6xz-IDRx-ZNzs-Sm7j-u4QRGT
--- Physical volume ---
PV Name /dev/sde1
VG Name oravg
PV Size 50.00 GiB / not usable 3.98 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 12799
Free PE 0
Allocated PE 12799
PV UUID YsEdrR-qGuN-ouF0-axf2-vl1d-b7L7-MHpmDF
--- Physical volume ---
PV Name /dev/sda2
VG Name rootvg
PV Size 49.80 GiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 12749
Free PE 2509
Allocated PE 10240
PV UUID Twj2r5-FmOE-O2aV-WdUa-Yk24-pvXR-wQeIVo
[root@test ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 rootvg lvm2 a-- 49.80g 9.80g
/dev/sdb1 oravg lvm2 a-- 50.00g 4.99g
/dev/sdc1 oravg lvm2 a-- 10.00g 10.00g
/dev/sde1 oravg lvm2 a-- 50.00g 0
[root@test ~]# vgs
VG #PV #LV #SN Attr VSize VFree
oravg 3 2 0 wz--n- 109.99g 14.99g
rootvg 1 7 0 wz--n- 49.80g 9.80g
[root@test ~]# pvcreate /dev/sdd
sdd sdd1
[root@test ~]# pvcreate /dev/sdd1
Physical volume "/dev/sdd1" successfully created
[root@test ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 rootvg lvm2 a-- 49.80g 9.80g
/dev/sdb1 oravg lvm2 a-- 50.00g 4.99g
/dev/sdc1 oravg lvm2 a-- 10.00g 10.00g
/dev/sdd1 lvm2 a-- 10.00g 10.00g
/dev/sde1 oravg lvm2 a-- 50.00g 0
[root@test ~]# vgextend rootvg /dev/sdd1
Volume group "rootvg" successfully extended
[root@test ~]# vgs
VG #PV #LV #SN Attr VSize VFree
oravg 3 2 0 wz--n- 109.99g 14.99g
rootvg 2 7 0 wz--n- 59.80g 19.80g
[root@test ~]# lvcreate -l +10GBFREE timed out waiting for input: auto-logout
Connection closing...Socket close.
Connection closed by foreign host.
Disconnected from remote host(172.16.122.202:22) at 09:10:39.
Type `help' to learn how to use Xshell prompt.
[d:~]$
Connecting to 172.16.122.202:22...
Connection established.