Page 1 of 1

RAID5 with all disks (5x2TB)

PostPosted: Thu Jun 28, 2018 11:27 am
by Basajaun
Hi team,

is possible install firmware and create RAID5 with all disks (5x2TB) ? Now i have (1x2TB + 4x2TB(RAID5)).

Thanks in advance !

Best regards,

Re: RAID5 with all disks (5x2TB)

PostPosted: Thu Jun 28, 2018 11:58 am
by Jocko
Yes you can

But you need to make it with several steps.

First backup your data stored in sda :
- select your raid volume as new addons volume. By running it, you will move all your technical shares (if you select the related option) to the raid volume (fvdw, mldondkey, .... shares)
- move manually the other shares, created on Vol-A
- grow your raid by adding Vol-A in the current raid (use the volume menu : click on the volume name link of your raid volume in the main disks setup menu)
- resize the fs of your raid (use the volume menu : click on the volume name link of the main disks setup menu)

Note: growing and resizing will take a long time.

Re: RAID5 with all disks (5x2TB)

PostPosted: Thu Jun 28, 2018 1:08 pm
by Basajaun
Hi Jocko,

i've followed your instructions and i get this error message:

Fail: could not grow the raid volume! : (120)

Thanks a lot !

Best regards,

Re: RAID5 with all disks (5x2TB)

PostPosted: Thu Jun 28, 2018 1:25 pm
by Jocko
error 120 means the firmware failed to add your disk as a spare disk in the raid before growing it.
maybe because it failed to unmount sda8 at the previous step :scratch
Please to post
Code: Select all
ls -l /direct-usb
mount
cat /proc/mdstat

Re: RAID5 with all disks (5x2TB)

PostPosted: Thu Jun 28, 2018 1:39 pm
by Basajaun
Hi Jocko,

here you are

Code: Select all
root@Osiris:/ # ls -l /direct-usb
lrwxrwxrwx  1 root root 11 2018-06-28 15:02 /direct-usb -> /share/1100
root@Osiris:/ # mount
/dev/sda7 on / type ext3 (rw,relatime,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/md0 on /share/1100 type ext4 (rw,noatime,nodelalloc,stripe=384,data=ordered)
root@Osiris:/ # cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdb8[0] sde8[3] sdd8[2] sdc8[1]
      5850679296 blocks super 1.0 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
      bitmap: 0/15 pages [0KB], 65536KB chunk

unused devices: <none>


Thanks !

Regards,

Re: RAID5 with all disks (5x2TB)

PostPosted: Thu Jun 28, 2018 1:48 pm
by Basajaun
Jocko,

is my mistake, perhaps my root connection was on VAULT volumen, now i execute cd / command. After this i've executed RAID5 grow and now is executing tasks.

Thanks.

Sorry !

Regards,

Re: RAID5 with all disks (5x2TB)

PostPosted: Thu Jun 28, 2018 1:53 pm
by Jocko
As now sda8 is really unmounted, I expect you will succeed this time.

So try to repeat

(Anyhow this allows me to find a bad coding :dry )

---edit---
is my mistake, perhaps my root connection was on VAULT volumen
No this can not prevent the firmware from unmounting sda8. But yes if the current directory would have been on the vol-A

Re: RAID5 with all disks (5x2TB)

PostPosted: Thu Jun 28, 2018 1:58 pm
by Basajaun
Jocko,

big5vs1 is working on expand raid5.

Thanks !

Regards,

Re: RAID5 with all disks (5x2TB)

PostPosted: Thu Jun 28, 2018 2:07 pm
by Jocko
On this menu, you will get a message and an additional button for resizing the fs when raid reshaping is complete

Re: RAID5 with all disks (5x2TB)

PostPosted: Thu Jun 28, 2018 2:08 pm
by Basajaun
Thanks Jocko !