Page 1 of 1

[SOLVED] Beginner add disk

PostPosted: Wed Mar 08, 2017 10:03 am
by saitan
Good morning,

I'm a beginner and I need help. I discover this fantastic firmware, and I installed with success on my 5big.
now, I try to add another disk, but i'm lost with tutorials.

I follow the steps detailled in Add additonal disks instruction document.

- Making gpt partition table using gdisk
commands :
Code: Select all
gdisk /dev/sdb
x
l
4096
m
n
8
5804032  (start sector)
(enter)  (end sector)
8300
w
y
mke2fs -j -m 1 /dev/sdb8


I got now :
Code: Select all
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 7C0031C0-9E56-443B-B101-B51748F57357
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4062 sectors (2.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            4096         1052671   512.0 MiB   8300  Linux filesystem
   2         1052672         2101247   512.0 MiB   8300  Linux filesystem
   3         2101248         3149823   512.0 MiB   8200  Linux swap
   4         3149824         3166207   8.0 MiB     8300  Linux filesystem
   5         3166208         4739071   768.0 MiB   8300  Linux filesystem
   6         4739072         4755455   8.0 MiB     8300  Linux filesystem
   7         4755456         5804031   512.0 MiB   8300  Linux filesystem
   8         5804032      3907029134   1.8 TiB     8300  Linux filesystem

Disk /dev/sdb: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 3FB35D4F-58DE-45DC-BC2C-59BB374F59F8
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 5803998 sectors (2.8 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   8         5804032      3907029134   1.8 TiB     8300  Linux filesystem


I saw both Vol-A and Vol-B in "disk setup", but in File Share, I didn't have Vol-B available ?
More, I don't know what is best, have 2 shares with 2TB or get an array 0 with these.
My objective is to get a media NAS to share all at home.

Re: Beginner add disk

PostPosted: Wed Mar 08, 2017 11:20 am
by Jocko
Hi saitan,

Maybe you did not note this:
After installing fvdw-sl, only one share is created by default: public on volume Vol-A. So on the main File share menu, you see only Vol-A. But if you try to create another share on the edit share menu you will see Vol-A and Vol-B volumes:
create_shr_menu.jpg
Note: it is a screen capture with my development NAS and on the next version (17.0) you can rename the volume name, so the screen capture contains custom volume name.

Re: Beginner add disk

PostPosted: Wed Mar 08, 2017 1:19 pm
by saitan
Salut Jocko,

I already try to create another share, but :

Re: Beginner add disk

PostPosted: Wed Mar 08, 2017 2:03 pm
by Jocko
So there is an issue somewhere...

Can you post these outputs:
Code: Select all
cat /etc/platform
mount
file -bs /dev/sdb8
/etc/api/nasapi.php "mrvlGetVolume high all"

Re: Beginner add disk

PostPosted: Wed Mar 08, 2017 2:13 pm
by saitan
Code: Select all
root@5big:/ # cat /etc/platform
5big2
root@5big:/ # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=1,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,errors=continue,barrier=1,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/sda8 on /share/1000 type ext3 (rw,relatime,errors=continue,user_xattr,acl,b                                                                                                                     arrier=1,data=ordered)
root@5big:/ # file -bs /dev/sdb8
data
root@5big:/ # /etc/api/nasapi.php "mrvlGetVolume high all"
API[2017/03/08 14:08:24] dm_get_vol_free_size.finc(31)[5205]: System is during file system build process on vol 1001
Array
(
    [0] => Array
        (
            [volid] => 1000
            [totalsize] => 1860.24909163
            [freesize] => 1797.14226532
            [usedsize] => 63.1068263102
            [name] => Vol-A
            [md] => /dev/sda8
            [color] => #777ccc
            [formatting] => 0
            [status] => active
            [busy] => 0
            [raidtype] => single
        )

    [1] => Array
        (
            [volid] => 1001
            [totalsize] => 1860.24909163
            [freesize] => 1860.24909163
            [usedsize] => 0
            [name] => Vol-B
            [md] => /dev/sdb8
            [color] => #5eb6a3
            [formatting] => 1
            [status] => active
            [busy] => 1
            [raidtype] => single
        )

)


Est-ce que ce ne serais pas ça : [formatting] => 1 ?

Re: Beginner add disk

PostPosted: Wed Mar 08, 2017 2:27 pm
by Jocko
Yes the issue is on the fs. It seems format command failed and then the volume can not be mounted.

So do
Code: Select all
mke2fs -t ext3 -j -m 1 /dev/sdb8
(post the output)

if file command returns ext3, try to restart the nas

Re: Beginner add disk

PostPosted: Wed Mar 08, 2017 3:23 pm
by saitan
Yeah! Thank you, now visible

:punk