Upgrade disk size of RAID 1 without loss?
Re: Upgrade disk size of RAID 1 without loss?
if we can do a remote session, it would be quicker i think, you could check everything quickly, thank you.
Re: Upgrade disk size of RAID 1 without loss?
You can just continue to try:
If you enter vgchange -an vg0 and it still shows that vg0 cannot be found, you can proceed directly to the next step.
Code: Select all
[root@TNAS-???? ~]fuser -m /mnt/md0
[root@TNAS-???? ~]fuser -mk /mnt/md0
[root@TNAS-???? ~]umount /mnt/md0
[root@TNAS-???? ~]vgchange -an vg0
[root@TNAS-???? ~]presize /dev/md0
[root@TNAS-???? ~]vgchange -ay vg0
[root@TNAS-???? ~]lvextend -l +100%100FREE /dev/vg0/lv0
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Re: Upgrade disk size of RAID 1 without loss?
[root@Terra ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 5.5T 0 disk
|-sda1 8:1 0 285M 0 part
|-sda2 8:2 0 1.9G 0 part
| `-md9 9:9 0 1.9G 0 raid1 /
|-sda3 8:3 0 977M 0 part
| `-md8 9:8 0 976.4M 0 raid1 [SWAP]
`-sda4 8:4 0 5.5T 0 part
`-md0 9:0 0 5.5T 0 raid1 /mnt/md0
sdb 8:16 0 5.5T 0 disk
|-sdb1 8:17 0 285M 0 part
|-sdb2 8:18 0 1.9G 0 part
| `-md9 9:9 0 1.9G 0 raid1 /
|-sdb3 8:19 0 977M 0 part
| `-md8 9:8 0 976.4M 0 raid1 [SWAP]
`-sdb4 8:20 0 5.5T 0 part
`-md0 9:0 0 5.5T 0 raid1 /mnt/md0
this is the output of lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 5.5T 0 disk
|-sda1 8:1 0 285M 0 part
|-sda2 8:2 0 1.9G 0 part
| `-md9 9:9 0 1.9G 0 raid1 /
|-sda3 8:3 0 977M 0 part
| `-md8 9:8 0 976.4M 0 raid1 [SWAP]
`-sda4 8:4 0 5.5T 0 part
`-md0 9:0 0 5.5T 0 raid1 /mnt/md0
sdb 8:16 0 5.5T 0 disk
|-sdb1 8:17 0 285M 0 part
|-sdb2 8:18 0 1.9G 0 part
| `-md9 9:9 0 1.9G 0 raid1 /
|-sdb3 8:19 0 977M 0 part
| `-md8 9:8 0 976.4M 0 raid1 [SWAP]
`-sdb4 8:20 0 5.5T 0 part
`-md0 9:0 0 5.5T 0 raid1 /mnt/md0
this is the output of lsblk
Re: Upgrade disk size of RAID 1 without loss?
[root@TNAS-???? ~]fuser -m /mnt/md0TMRyan wrote: ↑30 Aug 2021, 22:14 You can just continue to try:If you enter vgchange -an vg0 and it still shows that vg0 cannot be found, you can proceed directly to the next step.Code: Select all
[root@TNAS-???? ~]fuser -m /mnt/md0 [root@TNAS-???? ~]fuser -mk /mnt/md0 [root@TNAS-???? ~]umount /mnt/md0 [root@TNAS-???? ~]vgchange -an vg0 [root@TNAS-???? ~]presize /dev/md0 [root@TNAS-???? ~]vgchange -ay vg0 [root@TNAS-???? ~]lvextend -l +100%100FREE /dev/vg0/lv0
[root@TNAS-???? ~]fuser -mk /mnt/md0
after this two commands, ssh no longer works! it kicked me out of session, and it cant connect anymore!!!!!
network connection error, connection refused
i cant logon to web panel either anymore!
Re: Upgrade disk size of RAID 1 without loss?
Forgot to say, after entering the command, you need to log in to ssh again .
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Re: Upgrade disk size of RAID 1 without loss?
You can send an email to our support team. We will arrange a remote call back for during office hours.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Re: Upgrade disk size of RAID 1 without loss?
i rebooted and ssh/web work again
now. back to beginning.
now. back to beginning.
Re: Upgrade disk size of RAID 1 without loss?
[root@Terra ~]# umount /mnt/md0
[root@Terra ~]# vgchange -an vg0
Volume group "vg0" not found
Cannot process volume group vg0
found umount issue (plex server was running needed to stop)
at this stage
vg0 command not working not sure why! and the rest is not so different from the link you sent me
[root@Terra ~]# presize /dev/md0
-bash: presize: command not found
[root@Terra ~]# vgchange -ay vg0
Volume group "vg0" not found
Cannot process volume group vg0
[root@Terra ~]# lvextend -l +100%100FREE /dev/vg0/lv0
Specified %100FREE is unknown.
Invalid argument for --extents: +100%100FREE
Error during parsing of command line.
[root@Terra ~]#
[root@Terra ~]# vgchange -an vg0
Volume group "vg0" not found
Cannot process volume group vg0
found umount issue (plex server was running needed to stop)
at this stage
vg0 command not working not sure why! and the rest is not so different from the link you sent me
[root@Terra ~]# presize /dev/md0
-bash: presize: command not found
[root@Terra ~]# vgchange -ay vg0
Volume group "vg0" not found
Cannot process volume group vg0
[root@Terra ~]# lvextend -l +100%100FREE /dev/vg0/lv0
Specified %100FREE is unknown.
Invalid argument for --extents: +100%100FREE
Error during parsing of command line.
[root@Terra ~]#
Re: Upgrade disk size of RAID 1 without loss?
You can send an email to our support team.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Re: Upgrade disk size of RAID 1 without loss?
i sent email, waiting for response.
also your linked page has many typo errors on the commands.
"presize /dev/md0" >> resize /dev/md0
btrfs filesystem resize max /mnt/md0 >>
For btrfs filesystem use this command:
resize max /mnt/md0
[root@TNAS-???? ~]ext4 resize2fs /dev/vg0/lv0
FOR ext4 use this command:
[root@TNAS-???? ~]resize2fs /dev/vg0/lv0
+100%100FREE >>> +100%FREE ???
i dont know what else to do... something is messed up, now also my PLEX server is corrupted, because nowehere in the guides said you have to stop PLEX or ANY OTHER SERVICES that may interfere or cause problems for raid expansion process!
now i have followed the instructions set out in the forums, and it still didnt complete correctly... and the fix is really confusing and incomplete (due to typos and expectation of end user's knowledge on linux commands)
i cant say i m really happy... but i will wait until technician response for remote help. also "office hours" for technicians, which country's office hours are these?
also your linked page has many typo errors on the commands.
"presize /dev/md0" >> resize /dev/md0
btrfs filesystem resize max /mnt/md0 >>
For btrfs filesystem use this command:
resize max /mnt/md0
[root@TNAS-???? ~]ext4 resize2fs /dev/vg0/lv0
FOR ext4 use this command:
[root@TNAS-???? ~]resize2fs /dev/vg0/lv0
+100%100FREE >>> +100%FREE ???
Instructions are flawed somehow, whoever written this, didnt check it?also so many confusing lines, and only md0 is relevant, but commands so far mostly failing...
The following example is based on "md0, vg0, lv0"
Your "array, pool, Volume" may not be "md0, vg0, lv0".
Please use the following instructions to confirm:
i dont know what else to do... something is messed up, now also my PLEX server is corrupted, because nowehere in the guides said you have to stop PLEX or ANY OTHER SERVICES that may interfere or cause problems for raid expansion process!
now i have followed the instructions set out in the forums, and it still didnt complete correctly... and the fix is really confusing and incomplete (due to typos and expectation of end user's knowledge on linux commands)
i cant say i m really happy... but i will wait until technician response for remote help. also "office hours" for technicians, which country's office hours are these?