Hi,
This is a new enigmatic situation for me, with one of my NAS.
my concerned NAS:
OMV 3.0.99, OS on SSD, HP Smart array P410i card with 5 x 4TB HDD, and with motherboard sata ports, 3 hdds used as single partition each.
Raid 5 created and managed by HP smart array card P410i with FWBC 1Gb, Logical Volume ~14.5TB seen by OMV, device /dev/sdb1/ EXT4 formatted by OMV3.
Everything works fine, ssh, ftp, samba, omv-extras, HWraid plugin, HPraid infos, shared folders.
ssh connection and df -h command i can see /dev/sda1 15T 12T 3,2T 79% /srv/dev-disk-by-label-NAS.... and i see same thing on OMV webgui and same value from Windows 10 browser.
New step:
A few days ago, i install a new 4TB HDD on the array, i used HP ACU and ran a few successive commands to Expand, Transforming, Parity Progression, and then extend the logical volume to 18.2TB. Parity 100% complete.
with HP tools (ssacli, hpacucli) i can see this
I thought it was finished.
i restart system.
OMV displays the same physical disk "Logical Volume" with 18.19TB size on left menu "Storage/Physical Disks".
OMV displays the previous size of partition in the left menu "Storage/File Systems", /dev/sda1 NAS_genna Ext4 14.44 TB 3,14 TB 11.29 TB Mounted...
previously, i delete every references, to unmount, if it is the right thing to do. but not enough.
Resizing does not work for this. I mount/unmount, delete share folders (without contents), i can unmount it because there is no reference to any shared folder... i shutdown and went to HP ACU ... size is ok, raid 5 status is ok.
I thought HP utility will grow up the volume itself without any other command. It did it. But OMV doesn't use this new space/volume.
as i do not use mdadm for this raid, i am not able to use it.
i have another NAS with a volume 19.3 TB formatted by OMV, managed with p410i too... so , i don't think there is a strange limit.
I don't want to loose any data with a inappropriate command.
I don't know if i have to run resize2fs or not. Is it just a single partition resizing to do ?
partprobe displays that i don't use the full capacity.
fdisk -l displays :
Disk /dev/sda: 18,2 TiB, 20003765968896 bytes, 39069855408 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Device Start End Sectors Size Type
/dev/sda1 2048 31255884430 31255882383 14,6T Linux filesystem
can you help me ? it seems i need another command to extend like gparted can do on single hdd.
thanks.
edit:
i search on forum how to grow Ext4...
i run this:
resize2fs -p /dev/sda1
and as result, i was informed that i need to run this first : e2fsck -f /dev/sda1
i ran again resize2fs -p /dev/sda1 and i got this :
resize2fs 1.43.3 (04-Sep-2016)
Le système de fichiers a déjà 3906985297 blocs (4k). Rien à faire ! (Nothing to do).
nothing has changed. is there a limit or a link with -O 64bit when i created the 1st partition (size under 16TB) ?
Do i have to re-create the Volume ?