lacie 5 big network v.1 please support for fvdw

Re: lacie 5 big network v.1 please support for fvdw

Postby fvdw » Wed Nov 06, 2013 8:02 pm

ok that image is as it should be and now all 5 disk are vivible.
However....

these 4 disk 2TB have (as I expected) an ntfs formatted partition

Code: Select all
    NTFS volume version 3.1.
    NTFS-fs error (device sdb1): load_system_files(): Volume is dirty.  Mounting read-only.  Run chkdsk and mount in Windows.
    NTFS volume version 3.1.
    NTFS-fs error (device sdc1): load_system_files(): Volume is dirty.  Mounting read-only.  Run chkdsk and mount in Windows.
    NTFS volume version 3.1.
    NTFS-fs error (device sdd1): load_system_files(): Volume is dirty.  Mounting read-only.  Run chkdsk and mount in Windows.
    NTFS volume version 3.1.
    NTFS-fs error (device sde1): load_system_files(): Volume is dirty.  Mounting read-only.  Run chkdsk and mount in Windows.

thats not what we want. They can be mounted but the drivers included in the firmware for ntfs have poor write support. Writing speed will be painful slow (1 Mb/s or so) this is because there is not yet a freeware driver driver available for Linux with better performance. We are going to adapt that and reformat the disk. I assume you have no data on it. Is that correct
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: lacie 5 big network v.1 please support for fvdw

Postby fvdw » Wed Nov 06, 2013 8:05 pm

ps also not the information on disk temperature on that page. It seems the disk in slot 1 has once in its life reached 56 oC
This is high
The current temperature is is ok.
It might be that this temperature has been reached before the disk was used in the 5big1 as it was a used one.
But keep an eye on these temperature as it might be a indication that the fan is not working !

You need to check by eye if it is working or not.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: lacie 5 big network v.1 please support for fvdw

Postby fvdw » Wed Nov 06, 2013 8:24 pm

to re-partition the disk do the following
example for disk sdb

Connect via ssh
unmount the disk
Code: Select all
umount /share/1001


When this succeed give command
Code: Select all
fisk /dev/sdb

It will connect to the disk and answer with
Code: Select all
Command (m for help):

Behind this line type "m" (without the quotes) if you want to see what commands are possible
Now delete the partitions that are present
Give command
Code: Select all
d

and answer the questions asked by the program
with the command "p" you can see if the partition is gone or not.

When it is gone the create a new one
use command
Code: Select all
n

it will as several questions like
if it is a primary partition or extended, choose primary
which partition number to use, choose 8
start cylinder, choose as value 400
end cylinder, accept the default
which file system to use, choose 8300 (linux file system) which is the default offered

Now enter the command "p" to list the new table
It should now list something like this
Code: Select all
Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb8             1      243200  1950226740  83 Linux
root@nwsp2-3:/ #


now write it to disk using the command
Code: Select all
w

If you forget these step and leave fdisk without writing it to disk then the new partition table is not saved and the old one will be used instead.

If you have successfully made the partition then format in ext3 format using this command
Code: Select all
mke2fs -j -m 1 /dev/sdb8

(this will take some time...)

repeat for disk sdc, sdd and sde
to unmount those use respectively
Code: Select all
umount /share/1002
umount /share/1003
umount /share/1004

and use the other commands as explained for sdb by replacing sdb by sdc etc ..

before rebooting we need to replace the nas database file again so that it uses the partitons sdb8, sdc8, sdd8 and sde8 for mounting
attached the new database to use. Install it by overwritten the existing one in /rw_fs/etc
nas_conf_db-5big1--tatae-sdx8-6nov13.zip


Why we use sda8 is to make it possible to use the disk later as a system disk. That will require creating additional partitions.
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Thu Nov 07, 2013 8:42 pm

Code: Select all
Command (m for help): p

Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes



8 ??
Code: Select all
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4):



my test
Code: Select all
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 8
Value is out of range
Partition number (1-4): 4
First cylinder (1-243201, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-243201, default 243201): Using default value 243201

Command (m for help): p

Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb4               1      243201  1953512032  83 Linux

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy
~ #

taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby fvdw » Thu Nov 07, 2013 11:35 pm

sorry my mistake when using fdisk (ms-dos partition table) you can only make 4 primary partitions.
To be able to create partition 8 you need to make an extended partition first

Tomorrow evening I will post some instructions

PS A more easy solution could is using gdisk instead of fdisk and make a GPT partition table
It works almost same as fdisk enter ? behind the line Command (? for help): in gdisk to get a list of commands
You will see that codes are similar then in fdisk.
After deleting the existing partitions you must use the command "o" to create a new empty GPT partition table

Reamrk: the bootloader of the 5big1 can not read disks with GPT partition tables as it has no support for it. However the kernel of the fvdw-sl firmware has.
To let u-boot start the nas we only need to have a ms-dos partition table on disk sda.
U-boot will be able to read sda and the kernel and root file system on sda, the kernel will find the other disk with GPT tables just fine
so when the firmware is up and running you will see all 5 disks
This (using GPT for disk 2-5) will also enable you to use disks bigger then 2 TB in slot 2,3,4 and 5.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Fri Nov 08, 2013 7:29 pm

I've formatted gpt but SIZES mmmmm is 1.8 tb for each disk and are well recognized




ps : not work
fan

interface web :
nas shutdown
nas restart
nas standlby
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby fvdw » Fri Nov 08, 2013 9:55 pm

thks for testing tata
so now you can use the 5 disks

about the fan
the fan will probably start working when temperature has reached a certain threshold (I think between 40 and 50 oC)
Keep an eye on you disk temperature in the webinterface

interface web :
nas shutdown
nas restart
nas standlby

To make these working we need to add some commands to the script setting up the links to the reboot and poweroff command
I will have alook at that this weekend
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: lacie 5 big network v.1 please support for fvdw

Postby fvdw » Sun Nov 10, 2013 4:30 pm

Hi tatae in the attachment a file that should get your shutdown and reboot buttons woring in the web interace

unpack the zip archive in the share with name public
You should have a file with name nas_bin
Connect via ssh and give following commands
Code: Select all
cp /share/1000/public/nas_bin /etc/nas_bin
chmod 755 /etc/nas_bin


After rebooting your 5big1 the buttons in the web interface should work.


ps what output do you get on the disk setup->SMART menu ? doe the tests run for all disks ?
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Mon Nov 11, 2013 5:29 pm

you forgot the attachment ;)
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby fvdw » Mon Nov 11, 2013 6:23 pm

:doh sorry
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 7 guests