So these instructions first off assume that you understand some linux, and/or assume that they will work without any glitches/errors/or issues.
Here are a few things that went wrong for me, and how I fixed them. FTR I am not associated with TERRAMASTER, nor am I a certified linux guru, however I do work IT and have several years of experience on the OS. I DO NOT AND CAN NOT CLAIM THAT THE FOLLOWING WILL WORK FOR YOU, PLEASE PROCEED AT YOUR OWN RISK.
FTR: I started with a 3 disc 6TB/disc Raid 5, and worked to expand it to a 4 disc 6TB/disc Raid 5.
TLDR: If you can't be bothered to read this, then you don't need this issue fixed that badly...
okay. Legal stuff out of the way...For those of you that don't know, Linux is a very fluid operating system, as long as you know its syntax and programming, you can throw any file as an executable and it will run as one. Why did I go into this? Because there are several commands in the instructions above that I don't recognize, maybe they are core Linux, maybe they are fully custom to this 'flavor' of Linux. I am not sure.
Below I will break down the commands and where I had issues, but first...how to get to root? this article doesn't explain that, and just hitting "su" doesn't work. I closed the other article, but an official TERRAMASTER (TM) post instructed.
cd /
sudo -i
So now on to the other instructions. I am only going to keep the ones that I used. I am adding white space between each command and will comment in said white space my experience.
[root@TNAS-???? ~]# lsblk
[b] this displayed a list of various things, but I was able to determine that I had md0, vg0, and lv0 from looking at this list[/b]
[root@TNAS-???? ~]# mdadm --grow /dev/md0 --size=max
[b] no clue, but it didn't modify anything[/b]
[root@TNAS-???? ~]# umount /mnt/md0
[b] This part here didn't work, adding "-f" to it didn't work...in the end I had to use "lsof" which the OS recommended to me, and look for anything that looked like it was actively using the disk.
[b] I originally thought I would run plex off of this NAS, so that was installed. Uninstalling it (through the web interface), and having no other apps running, I was able to proceed with the previous command.[/b]
[root@TNAS-???? ~]# umount /home
[b]worked[/b]
[root@TNAS-???? ~]# vgchange -an vg0
[b]no clue[/b]
[root@TNAS-???? ~]# pvresize /dev/md0
[b]huh[/b]
[root@TNAS-???? ~]# vgchange -ay vg0
[b]boy it would be nice if TM explained some of this huh?[/b]
[root@TNAS-???? ~]# lvextend -l +100%100FREE /dev/vg0/lv0
[b] this out right did not work, I had to look up the man pages on this command, from the web since they aren't installed in the TM OS, here's the link to that. [/b][link]
https://linux.die.net/man/8/lvextend[/link][b]
[b] in the end, I tried several different things, but this command worked for me.[/b] [root@TNAS-???? ~]# lvextend -l 100%VG /dev/vg0/lv0
[b] when entering that command, the system responded that I had changed my volume from 10.2TB to 16.1TB[/b]
[i] the following are from the original instructions, and aren't bad[/i]
3. Adjust the file system size
You need to know the file system of your volume first (btrfs/ext4):
CODE: SELECT ALL
[root@TNAS-???? ~]# blkid /dev/vg0/lv0
Select commands to execute based on the type of file system you have learned previously:
[i] ok, back to the bullshit [/i]
[b] I am leaving this section in my post, but I did not have a btrfs FS, so I cannot comment on these steps below[/b]
btrfs
CODE: SELECT ALL
[root@TNAS-???? ~]# mount /dev/mapper/vg0-lv0 /mnt/md0
[root@TNAS-???? ~]# mount /dev/mapper/vg0-lv0 /home
[root@TNAS-???? ~]# resize max /mnt/md0
[b]here are the steps I followed for my FS (file system)[/b]
ext4
CODE: SELECT ALL
[root@TNAS-???? ~]# resize2fs /dev/mapper/vg0-lv0
[b] nope that didn't work...again the OS saved me here and I had to run[/b] " e2fsck -f /dev/mapper/vg0-lv0 " [b] I don't read fluent gibberish, but I have a son, and stayed in a holiday express last night, so I'm pretty sure this is a file system check...also that is what this command did.
afterwards, the command above worked...BE ADVISED, both commands took some time EACH.[/b]
[b] you won't believe it, but these two commands actually worked, they just worked![/b]
[root@TNAS-???? ~]# mount /dev/mapper/vg0-lv0 /mnt/md0
[root@TNAS-???? ~]# mount /dev/mapper/vg0-lv0 /home
and now my RAID 5 is all set and the volume is expanded.
again, this worked for me...please do be careful before attempting, and good luck.
TLDR and scrolled down to the bottom: Scroll back up and start over.
* could one of the modder fix my BB code...I tried, but it isn't turning on...I've wasted enough time here. Again, hope this helps someone.