Home Storage: Increasing Filesystem Size

Extending my backup volume group, logical volume and filesystem on both NASes.

vgdisplay

— Volume group —
VG Name hcst002
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 465.52 GiB
PE Size 4.00 MiB
Total PE 119173
Alloc PE / Size 119173 / 465.52 GiB
Free PE / Size 0 / 0
VG UUID 7aaDWJ-6go0-nSLQ-3Hwa-FdJo-0g9q-3ZbW71

— Volume group —
VG Name raid5_vg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 14
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size 5.46 TiB
PE Size 4.00 MiB
Total PE 1430793
Alloc PE / Size 412160 / 1.57 TiB
Free PE / Size 1018633 / 3.89 TiB
VG UUID YvllV4-32bA-uBII-orNY-40RK-eIYF-csNooE

It’s in the raid5VG

lvdisplay

— Logical volume —
LV Name /dev/hcst002/root
VG Name hcst002
LV UUID 1w8LwA-FDHw-aclD-SLfw-WkGf-GHNH-1t65ct
LV Write Access read/write
LV Status available
# open 1
LV Size 463.67 GiB
Current LE 118699
Segments 1
Allocation inherit
Read ahead sectors auto
– currently set to 256
Block device 253:0

— Logical volume —
LV Name /dev/hcst002/swap_1
VG Name hcst002
LV UUID 71T2Lx-F4dV-xCOC-TWNJ-2X5G-qFUm-HEp0Tq
LV Write Access read/write
LV Status available
# open 1
LV Size 1.85 GiB
Current LE 474
Segments 1
Allocation inherit
Read ahead sectors auto
– currently set to 256
Block device 253:1

— Logical volume —
LV Name /dev/raid5_vg/backup_lv
VG Name raid5_vg
LV UUID gnwkgv-NeOb-KPqd-RfCz-HFyp-sghl-9wTeT5
LV Write Access read/write
LV Status available
# open 1
LV Size 40.00 GiB
Current LE 10240
Segments 3
Allocation inherit
Read ahead sectors auto
– currently set to 768
Block device 253:2

— Logical volume —
LV Name /dev/raid5_vg/iscsi_lv
VG Name raid5_vg
LV UUID UxabXT-pnsM-dUGg-7CeX-qR02-nlmD-ElHQCm
LV Write Access read/write
LV Status available
# open 1
LV Size 50.00 GiB
Current LE 12800
Segments 1
Allocation inherit
Read ahead sectors auto
– currently set to 768
Block device 253:3

— Logical volume —
LV Name /dev/raid5_vg/media_lv
VG Name raid5_vg
LV UUID RHs90J-3KzU-Yt6g-TxiK-Na7K-4vUU-a4spaK
LV Write Access read/write
LV Status available
# open 1
LV Size 1.42 TiB
Current LE 371200
Segments 3
Allocation inherit
Read ahead sectors auto
– currently set to 768
Block device 253:4

— Logical volume —
LV Name /dev/raid5_vg/common_lv
VG Name raid5_vg
LV UUID wZdWZI-44wi-MJjn-XF0A-Lq1V-XnWp-w8DtVf
LV Write Access read/write
LV Status available
# open 1
LV Size 10.00 GiB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
– currently set to 768
Block device 253:5

— Logical volume —
LV Name /dev/raid5_vg/public_lv
VG Name raid5_vg
LV UUID j5Rfho-pHHB-Qxfv-DPZY-LgRm-Rwje-TH3UKc
LV Write Access read/write
LV Status available
# open 1
LV Size 60.00 GiB
Current LE 15360
Segments 2
Allocation inherit
Read ahead sectors auto
– currently set to 768
Block device 253:6

lvextend -L+10G /dev/mapper/raid5_vg-backup_lv
xfs_growfs /NAS/backup

df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/raid5_vg-backup_lv
40G 30G 11G 75% /NAS/backup

Hits: 0