lacie 5 big network v.1 please support for fvdw

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

Postby fvdw » Mon Nov 04, 2013 7:48 pm

Hi tatae, no the hard disk is not lost only not shown in the web interface ;) . I think the script to adapt the database for multi disk must be adapted. it seems it now treats your nas as a single disk device. Think the 5big1 must be added to a script. Let me have a look this evening

From serial output I can see you have added 4 pcs 2 TB disks (sdb, c, d and e) system disk is at it should sda (500 GB)
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 04, 2013 7:50 pm

but you can not even see the space I had in my system disk (500gb hd)

ok wait for you tonight I'm here;-)
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 04, 2013 8:07 pm

tatae

did you define a shared folder on sda8 when preparing the 500 GB disk ?

at least now ssh should work
You should be able to log on using ssh client (like putty)
Connect to the 5big1 running fvdw-sl-15-0 via ssh server (user: root and password: giveit2me)
on the command line give command
Code: Select all
mkdir /sda8
mount /dev/sda8 /sda8
ls -al /sda8

and post output

also post output of the command
Code: Select all
mount
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 04, 2013 9:22 pm

made from putty serial because I do not know how to use ssh :-P


Code: Select all

~ # mkdir /sda8
~ # mount /dev/sda8 /sda8
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda8): using internal journal
EXT3-fs (sda8): recovery complete
EXT3-fs (sda8): mounted filesystem with ordered data mode
~ # ls -al /sda8
total 3096
drwxrwxrwx    6 root     root          4096 Sep 23 03:50 .
drwxr-xr-x   23 root     root          4096 Nov  6 09:19 ..
drwxrwxrwx    3 root     root          4096 Sep 19 20:55 Terra
-rw-r--r--    1 root     root       3128740 Sep 21 20:12 UIMAGE-26394-5BIG1-11
drwx------    2 root     root         16384 Aug 28 08:08 lost+found
drwxrwxrwx    2 root     root          4096 Sep 22 03:50 motion-webcam
drwxrwxrwx    4 root     root          4096 Sep 24 22:13 public
~ # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,errors=continue,barrier=0,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=5000k)
/dev/sda8 on /sda8 type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
~ #
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 04, 2013 9:29 pm

so sda8 is there and mountable and it has shares

then something must be wrong with your nas database file. So to see you did not store any data on sda8. That means we can overwrite the nas database with a default one
For this we need to use the standalone kernel unless you have winScp running on your windows pc, do you have that ?
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 04, 2013 9:35 pm

are connected to the PC remotely and I'm downloading now WinSCP, it nas there are all 5 hd




ok ssh open and work
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 04, 2013 10:01 pm

Unpack the file in the archive in a folder of your windows PC
Start winscp and make contact via ssh using scp protocol

if winscp running then you should see the folders of your windows pc in left side of winscp window and those on the 5big1 on the right side, correct ?

browse on the windows-pc folder on the left to the folder were you have unpack the archve

browse on the nas folder window to /rw-fs/etc

You should then see something like this
winscp.JPG


now rename the nas_conf_db.xml file on the right (on the nas) to nas_conf_db.old
copy this file to the windows pc by drag and drop
copy the nas_conf_db.xml file on the windows pc to the nas by drag and drop
Now winscp will ask you if you want to copy it in a window that pops up, befor you hit copy set in that window transfer mode to binary. Now hit copy winscp will come back with asking the ssh password, enter it. After copy is done set permission of the the file
to 666 (rw rw rw) In winscp right click on it and choose properties

Ok now you are ready and can reboot the 5big1. Hopefully now the disks will be shown
ps also old database file you copied in a zip archive and post it here so that i can check if this file had a problem or not
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 » Mon Nov 04, 2013 10:14 pm

ok upload

no hd webinterface
You do not have the required permissions to view the files attached to this post.
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 04, 2013 10:21 pm

yes this database has a problem, it misses the shares...and disks definitions

the old one look likes this,
Code: Select all
   </samba>
   <shares>
   </shares>
   <access>

<snip>
   <disks>
   </disks>
   <vols>
   </vols>


It should be like this
Code: Select all
   <shares>
      <share>
         <sharename>public</sharename>
         <sharetype>public</sharetype>
         <desc>Default_share</desc>
         <sharestatus>active</sharestatus>
         <sharelocation>internal_share</sharelocation>
         <stream>1</stream>
         <nfs>0</nfs>
         <ftp>0</ftp>
         <protected>0</protected>
         <volid>1000</volid>
         <sharemount>1000</sharemount>
      </share>
   </shares>

<snip>

   <disks>
      <disk>
         <size>465.761741638</size>
         <internal>true</internal>
         <name>Single</name>
         <system>true</system>
         <blockdev>/dev/sda</blockdev>
         <diskid>VFB400R4CUJVAA</diskid>
         <model> Hitachi HDT725050VLA360</model>
         <usb>false</usb>
         <freesize>0</freesize>
         <init>true</init>
         <partitions>
            <partition>
               <lvname>/dev/sda8</lvname>
               <volid>1000</volid>
               <color>#9d773e</color>
               <index>0</index>
               <size>464.656182289</size>
            </partition>
         </partitions>
      </disk>
(other disks)
   </disks>



And are the disk now shown in the webinterface
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 » Mon Nov 04, 2013 10:22 pm

did you replace the database ?
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 9 guests