=> ctrl all show config Smart Array P800 in Slot 3 (sn: PAFGF0M9SWV0MG) unassigned physicaldrive 1E:1:5 (port 1E:box 1:bay 5, SATA, 1000.2 GB, OK) physicaldrive 1E:1:6 (port 1E:box 1:bay 6, SATA, 1000.2 GB, OK) physicaldrive 1E:1:8 (port 1E:box 1:bay 8, SATA, 500.1 GB, OK) physicaldrive 1E:1:9 (port 1E:box 1:bay 9, SATA, 500.1 GB, OK) physicaldrive 1E:1:10 (port 1E:box 1:bay 10, SATA, 500.1 GB, OK) physicaldrive 1E:1:11 (port 1E:box 1:bay 11, SATA, 500.1 GB, OK) physicaldrive 1E:1:12 (port 1E:box 1:bay 12, SATA, 500.1 GB, OK) => ctrl slot=3 create type=ld raid=5 drives=1E:1:8,1E:1:9,1E:1:10 => show config Smart Array P800 in Slot 3 (sn: PAFGF0M9SWV0MG) array B (SATA, Unused Space: 1192270 MB) logicaldrive 2 (931.5 GB, RAID 5, OK) physicaldrive 1E:1:8 (port 1E:box 1:bay 8, SATA, 500.1 GB, OK) physicaldrive 1E:1:9 (port 1E:box 1:bay 9, SATA, 500.1 GB, OK) physicaldrive 1E:1:10 (port 1E:box 1:bay 10, SATA, 500.1 GB, OK) unassigned physicaldrive 1E:1:5 (port 1E:box 1:bay 5, SATA, 1000.2 GB, OK) physicaldrive 1E:1:6 (port 1E:box 1:bay 6, SATA, 1000.2 GB, OK) physicaldrive 1E:1:11 (port 1E:box 1:bay 11, SATA, 500.1 GB, OK) physicaldrive 1E:1:12 (port 1E:box 1:bay 12, SATA, 500.1 GB, OK) # pvcreate /dev/cciss/c0d1 Physical volume "/dev/cciss/c0d1" successfully created "/dev/cciss/c0d1" is a new physical volume of "931.46 GB" --- NEW Physical volume --- PV Name /dev/cciss/c0d1 VG Name PV Size 931.46 GB Allocatable NO PE Size (KByte) 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID GpWOHW-DB3h-lNTq-jHvF-6D5G-Y0uv-wEgqfP # vgcreate vg83 /dev/cciss/c0d1 Volume group "vg83" successfully created # vgdisplay --- Volume group --- VG Name vg83 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 1 VG Access read/write VG Status resizable MAX LV 0 Cur LV 0 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size 931.46 GB PE Size 4.00 MB Total PE 238453 Alloc PE / Size 0 / 0 Free PE / Size 238453 / 931.46 GB VG UUID 8NRu9j-KH16-mKvC-UvjF-Iyyv-dxqG-RUeiUz # pvdisplay --- Physical volume --- PV Name /dev/cciss/c0d1 VG Name vg83 PV Size 931.46 GB / not usable 4.02 MB Allocatable yes PE Size (KByte) 4096 Total PE 238453 Free PE 238453 Allocated PE 0 PV UUID GpWOHW-DB3h-lNTq-jHvF-6D5G-Y0uv-wEgqfP # lvcreate -n lv5 -L900G vg83 Logical volume "lv31" created # mkfs.ext4 /dev/vg83/lv31 # mkdir -p /mnt/a # mount /dev/mapper/vg83-lv5 /mnt/a (copy some junk into /mnt/a now ) => ctrl slot=3 array B add drives=1E:1:11,1E:1:12 => cltr slot=3 show config Smart Array P800 in Slot 3 (sn: PAFGF0M9SWV0MG) array B (SATA, Unused Space: 1192270 MB) logicaldrive 2 (931.5 GB, RAID 5, Expanding 0.0% complete) <---------------------- started physicaldrive 1E:1:8 (port 1E:box 1:bay 8, SATA, 500.1 GB, OK) physicaldrive 1E:1:9 (port 1E:box 1:bay 9, SATA, 500.1 GB, OK) physicaldrive 1E:1:10 (port 1E:box 1:bay 10, SATA, 500.1 GB, OK) physicaldrive 1E:1:11 (port 1E:box 1:bay 11, SATA, 500.1 GB, OK) physicaldrive 1E:1:12 (port 1E:box 1:bay 12, SATA, 500.1 GB, OK) unassigned physicaldrive 1E:1:5 (port 1E:box 1:bay 5, SATA, 1000.2 GB, OK) physicaldrive 1E:1:6 (port 1E:box 1:bay 6, SATA, 1000.2 GB, OK) => ctrl slot=3 show config detail Array: B Logical Drive: 2 Status: Expanding 0.0% complete => show config Smart Array P800 in Slot 3 (sn: PAFGF0M9SWV0MG) array B (SATA, Unused Space: 1192270 MB) logicaldrive 2 (931.5 GB, RAID 5, Expanding 51.4% complete) <------------------------ 51% physicaldrive 1E:1:8 (port 1E:box 1:bay 8, SATA, 500.1 GB, OK) physicaldrive 1E:1:9 (port 1E:box 1:bay 9, SATA, 500.1 GB, OK) physicaldrive 1E:1:10 (port 1E:box 1:bay 10, SATA, 500.1 GB, OK) physicaldrive 1E:1:11 (port 1E:box 1:bay 11, SATA, 500.1 GB, OK) physicaldrive 1E:1:12 (port 1E:box 1:bay 12, SATA, 500.1 GB, OK) => ctrl slot=3 show config logicaldrive 2 (1.8 TB, RAID 5, OK) <--------------------------------------------expand done. physicaldrive 1E:1:8 (port 1E:box 1:bay 8, SATA, 500.1 GB, OK) physicaldrive 1E:1:9 (port 1E:box 1:bay 9, SATA, 500.1 GB, OK) physicaldrive 1E:1:10 (port 1E:box 1:bay 10, SATA, 500.1 GB, OK) physicaldrive 1E:1:11 (port 1E:box 1:bay 11, SATA, 500.1 GB, OK) physicaldrive 1E:1:12 (port 1E:box 1:bay 12, SATA, 500.1 GB, OK) *********** WARNING UNSURE PART OF THIS GUIDE *************** for some reason, the bigger disk didn't appear in pvdisplay and the pvresize didn't grow the pv. pvscan, lvmdiskscan, partprobe (parted pkg) commands were given, but nothing changed the output of pvdisplay. at some point the pvresize /dev/cciss/c0d1 was given again, it helped. ************************************************************* # pvdisplay /dev/cciss/c0d1 --- Physical volume --- PV Name /dev/cciss/c0d1 VG Name vg83 PV Size 931.46 GB / not usable 3.84 MB Allocatable yes (but full) PE Size (KByte) 4096 Total PE 238453 Free PE 0 Allocated PE 238453 PV UUID TWGoZQ-648j-nBpx-zqz6-ah7t-CLbv-m0J7fQ # blockdev --getsize /dev/cciss/c0d1 1953415216 # lvmdiskscan -l WARNING: only considering LVM devices /dev/cciss/c0d1 [ 1.82 TB] LVM physical volume 0 LVM physical volume whole disks 1 LVM physical volumes # cat /sys/block/cciss\!c0d1/size 1953415216 # pvs PV VG Fmt Attr PSize PFree /dev/cciss/c0d1 vg83 lvm2 a- 931.46G 0 # pvdisplay /dev/cciss/c0d1 --- Physical volume --- PV Name /dev/cciss/c0d1 VG Name vg83 PV Size 931.46 GB / not usable 3.84 MB Allocatable yes (but full) PE Size (KByte) 4096 Total PE 238453 Free PE 0 Allocated PE 238453 PV UUID TWGoZQ-648j-nBpx-zqz6-ah7t-CLbv-m0J7fQ # pvresize /dev/cciss/c0d1 Physical volume "/dev/cciss/c0d1" changed 1 physical volume(s) resized / 0 physical volume(s) not resized # pvdisplay /dev/cciss/c0d1 --- Physical volume --- PV Name /dev/cciss/c0d1 VG Name vg83 PV Size 1.82 TB / not usable 3.84 MB Allocatable yes PE Size (KByte) 4096 Total PE 476907 Free PE 238454 Allocated PE 238453 PV UUID TWGoZQ-648j-nBpx-zqz6-ah7t-CLbv-m0J7fQ # vgdisplay --- Volume group --- VG Name vg83 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 6 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 1 Max PV 0 Cur PV 1 Act PV 1 VG Size 1.82 TB PE Size 4.00 MB Total PE 476907 Alloc PE / Size 238454 / 931.46 GB Free PE / Size 238453 / 931.46 GB VG UUID xewusH-db2J-MVoe-Xb2K-vZKm-E6IN-dQxXev # lvextend -l+100%FREE /dev/vg83/lv5 <----------------------- + is important. Extending logical volume lv5 to 1.82 TB Logical volume lv5 successfully resized # lvdisplay --- Logical volume --- LV Name /dev/vg83/lv5 VG Name vg83 LV UUID v2qA1k-8mN3-wYrG-jWG3-1aJe-UUvB-mPe8gp LV Write Access read/write LV Status available # open 1 LV Size 1.82 TB Current LE 476907 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg83-lv5 917G 4.6G 866G 1% /mnt/a # fsck.ext4 -fn /dev/mapper/vg83-lv5 e4fsck 1.41.5 (23-Apr-2009) Warning! /dev/mapper/vg83-lv5 is mounted. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/mapper/vg83-lv5: 61/61046784 files (1.6% non-contiguous), 5027409/244175872 blocks # resize4fs -p /dev/mapper/vg83-lv5 resize4fs 1.41.5 (23-Apr-2009) Filesystem at /dev/mapper/vg83-lv5 is mounted on /mnt/a; on-line resizing required old desc_blocks = 59, new_desc_blocks = 117 Performing an on-line resize of /dev/mapper/vg83-lv5 to 488352768 (4k) blocks. The filesystem on /dev/mapper/vg83-lv5 is now 488352768 blocks long. # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg83-lv5 1.8T 11G 1.7T 1% /mnt/a You're done.