Quantcast
Viewing all articles
Browse latest Browse all 889

Storage • Extending existing volume

I got new disk for my F4-210 NAS, using regular raid 5. Slotted in, extended storage pool, waited long hours to sync, then finally extended the volume but... it seems that resize2fs was not run (and resize2fs throws "Permission denied to resize filesystem"), free space "disappeared" but the volume still is reporting 95% full. Storage pool is 10.9TB, but volume still is 7.2TB. How do I resize the volume? Is it safe to use standard linux procedure to unmount the volume, run fsck then extend, mount volume?

root@terra:~# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mapper/vg0-lv0 7.2T 6.9T 314.3G 96% /mnt/md0
root@terra:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
lv0 vg0 -wi-ao---- 10.90t
root@terra:~# vgs
VG #PV #LV #SN Attr VSize VFree
vg0 1 1 0 wz--n- 10.90t 4.00m
root@terra:~# lsblk -f -m | grep ext4
`-sda1 ext4 UTOSBOOT-X86-S64 b6774192-d16a-4cbe-8c7e-2c6876477aa5 /mnt/bootdev `-sda1 7.2G root root brw-r--r--
|-sdb1 ext4 UTOSDISK-X86-S64 ab5371a4-3f8f-44bb-8975-f4dd368cc56e |-sdb1 285M root root brw-r--r--
| `-md9 ext4 b4002d83-cf00-4429-8dfd-f5cf50f81849 / | `-md9 2.9G root root brw-r--r--
`-vg0-lv0 ext4 TOS_VOLUME_2022- 51e92eaa-c6eb-11ec-afd7-6cbfb50246db /mnt/md0 `-vg0-lv0 10.9T root root brw-------
|-sdc1 ext4 UTOSDISK-X86-S64 622c0171-78be-4673-85e8-df00241d69f4 |-sdc1 285M root root brw-r--r--
| `-md9 ext4 b4002d83-cf00-4429-8dfd-f5cf50f81849 / | `-md9 2.9G root root brw-r--r--
`-vg0-lv0 ext4 TOS_VOLUME_2022- 51e92eaa-c6eb-11ec-afd7-6cbfb50246db /mnt/md0 `-vg0-lv0 10.9T root root brw-------
|-sdd1 ext4 UTOSDISK-X86-S64 1c201e03-5271-403f-9457-c3e36819f075 |-sdd1 285M root root brw-r--r--
| `-md9 ext4 b4002d83-cf00-4429-8dfd-f5cf50f81849 / | `-md9 2.9G root root brw-r--r--
`-vg0-lv0 ext4 TOS_VOLUME_2022- 51e92eaa-c6eb-11ec-afd7-6cbfb50246db /mnt/md0 `-vg0-lv0 10.9T root root brw-------
|-sde1 ext4 UTOSDISK-X86-S64 832e6609-655d-4503-9fdd-6b10fb70912d |-sde1 285M root root brw-r--r--
| `-md9 ext4 b4002d83-cf00-4429-8dfd-f5cf50f81849 / | `-md9 2.9G root root brw-r--r--
`-vg0-lv0 ext4 TOS_VOLUME_2022- 51e92eaa-c6eb-11ec-afd7-6cbfb50246db /mnt/md0 `-vg0-lv0 10.9T root root brw-------
root@terra:~#

Statistics: Posted by maaeel — Today, 05:31



Viewing all articles
Browse latest Browse all 889

Trending Articles