Fail to get an IP from DHCP server after installing fvdw-sl

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sat Apr 20, 2019 3:27 pm

Code: Select all
root@Norman_Nas:/ # gdisk -l /dev/sea
GPT fdisk (gdisk) version 0.8.5

Problem opening /dev/sea for reading! Error is 2.
The specified file does not exist!
root@Norman_Nas:/ # mount
/dev/sda2 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/sek5 on /rw_fs/tmp/mnt/Volume_5 type ext3 (rw,noatime,data=ordered)
/dev/sek7 on /rw_fs/tmp/mnt/Volume_7 type ext3 (rw,noatime,data=ordered)
/dev/sek2 on /rw_fs/tmp/mnt/Volume_2 type ext3 (rw,noatime,data=ordered)
/dev/sek8 on /rw_fs/tmp/mnt/Volume_8 type ext4 (rw,noatime,nodelalloc,data=ordered)
/dev/sek1 on /rw_fs/tmp/mnt/Volume_1 type ext3 (rw,noatime,data=ordered)
/dev/sda8 on /share/1000 type ext3 (rw,noatime,data=ordered)
/dev/sdb1 on /share/1001 type ext3 (rw,noatime,data=ordered)
/dev/sdc1 on /share/1002 type ext3 (rw,noatime,data=ordered)
/dev/sdd1 on /share/1003 type ext3 (rw,noatime,data=ordered)
/dev/sde1 on /share/1004 type ext3 (rw,noatime,data=ordered)
/dev/sek1 on /share/1000/Volume_1 type ext3 (rw,noatime,data=ordered)
/dev/sek2 on /share/1000/Volume_2 type ext3 (rw,noatime,data=ordered)
/dev/sek5 on /share/1000/Volume_5 type ext3 (rw,noatime,data=ordered)
/dev/sek7 on /share/1000/Volume_7 type ext3 (rw,noatime,data=ordered)
/dev/sek8 on /share/1000/Volume_8 type ext4 (rw,noatime,nodelalloc,data=ordered)
/dev/root on /lacie-boot type ext3 (rw,relatime,data=ordered)
root@Norman_Nas:/ #

root@Norman_Nas:/ # ls /lacie-boot
sda2boot
root@Norman_Nas:/ #




I'm using the usb in the bottom, thera are 2 usb. can i change usb port with hot swap? or i have to reboot the nass each time i change the usb port?
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Sat Apr 20, 2019 4:12 pm

Seems your usb disk is sek
So give command
Code: Select all
gdisk -l /dev/sek
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sat Apr 20, 2019 4:18 pm

fvdw wrote:Seems your usb disk is sek
So give command
Code: Select all
gdisk -l /dev/sek


Code: Select all
login as: root
root@192.168.0.189's password:
root@Norman_Nas:/ # gdisk -l /dev/sek
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sek: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 4546C7DF-2173-4F2A-BE88-D884A9620371
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 8-sector boundaries
Total free space is 663701 sectors (324.1 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1          128520         1156679   502.0 MiB   8300  Linux filesystem
   2         1156680         2184839   502.0 MiB   8300  Linux filesystem
   3         2184840         3212999   502.0 MiB   8200  Linux swap
   5         3341520         5012279   815.8 MiB   8300  Linux filesystem
   6         5140800         5269319   62.8 MiB    8300  Linux filesystem
   7         5397840         6425999   502.0 MiB   8300  Linux filesystem
   8         6554520      3907007999   1.8 TiB     8300  Linux filesystem
root@Norman_Nas:/ #



Edit.: may....is not GPT?.... :? one of 3 hdds was GPT, i'm secure.

Code: Select all
root@Norman_Nas:/ # fdisk -l /dev/sek

Disk /dev/sek: 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/sek1               9          72      514080  83 Linux
/dev/sek2              73         136      514080  83 Linux
/dev/sek3             137         200      514080  82 Linux swap
/dev/sek4             201      243200  1951897500   5 Extended
/dev/sek5             209         312      835380  83 Linux
/dev/sek6             321         328       64260  83 Linux
/dev/sek7             337         400      514080  83 Linux
/dev/sek8             409      243200  1950226740  83 Linux
root@Norman_Nas:/ #

Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sat Apr 20, 2019 4:23 pm

Here is fdisk -l becouse sems this hdd is not GPT, may the other 2 are certainly GPT. sorry :snicker

Code: Select all
login as: root
root@192.168.0.189's password:
root@Norman_Nas:/ # fdisk -l /dev/sea
fdisk: can't open '/dev/sea': No such file or directory
root@Norman_Nas:/ # mount
/dev/sda2 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/sek2 on /rw_fs/tmp/mnt/Volume_2 type ext3 (rw,noatime,data=ordered)
/dev/sek7 on /rw_fs/tmp/mnt/Volume_7 type ext3 (rw,noatime,data=ordered)
/dev/sek1 on /rw_fs/tmp/mnt/Volume_1 type ext3 (rw,noatime,data=ordered)
/dev/sek5 on /rw_fs/tmp/mnt/Volume_5 type ext3 (rw,noatime,data=ordered)
/dev/sek8 on /rw_fs/tmp/mnt/Volume_8 type ext4 (rw,noatime,nodelalloc,data=ordered)
/dev/sda8 on /share/1000 type ext3 (rw,noatime,data=ordered)
/dev/sdb1 on /share/1001 type ext3 (rw,noatime,data=ordered)
/dev/sdc1 on /share/1002 type ext3 (rw,noatime,data=ordered)
/dev/sdd1 on /share/1003 type ext3 (rw,noatime,data=ordered)
/dev/sde1 on /share/1004 type ext3 (rw,noatime,data=ordered)
/dev/sek1 on /share/1000/Volume_1 type ext3 (rw,noatime,data=ordered)
/dev/sek2 on /share/1000/Volume_2 type ext3 (rw,noatime,data=ordered)
/dev/sek5 on /share/1000/Volume_5 type ext3 (rw,noatime,data=ordered)
/dev/sek7 on /share/1000/Volume_7 type ext3 (rw,noatime,data=ordered)
/dev/sek8 on /share/1000/Volume_8 type ext4 (rw,noatime,nodelalloc,data=ordered)
/dev/root on /lacie-boot type ext3 (rw,relatime,data=ordered)
root@Norman_Nas:/ # ls /lacie-boot
sda2boot
root@Norman_Nas:/ #

Last edited by Draftmancorp on Sat Apr 20, 2019 4:33 pm, edited 1 time in total.
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Sat Apr 20, 2019 4:29 pm

Oke fdisk gives the correct output seems to have a correct partition table. What we are going to is clone your sda disk to the disk in sata>usb adapter.

WARNING
Now proceed with caution and use the commands exactly as they are given. If you don't do that or make a mistake you may destroy data on one of disks of your old 5big2.

First go in the disk setup of your old 5big2 and safe remove all sek disks (sek1, sek2, sek5, sek7 sek 8)

Now connect with putty via ssh and start to clone sda disk
Code: Select all
dd if=/dev/sda1 of=/dev/sek1
dd if=/dev/sda2 of=/dev/sek2
dd if=/dev/sda5 of=/dev/sek5
dd if=/dev/sda7 of=/dev/sek7

Each dd command will take a while, be patient, f you get an error message after a dd command then do not execute remaining other commands but post the error here.

If all gies well put the disk in your new 5big2:and see if it boots
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sat Apr 20, 2019 4:37 pm

fvdw wrote:Oke fdisk gives the correct output seems to have a correct partition table. What we are going to is clone your sda disk to the disk in sata>usb adapter.

WARNING
Now proceed with caution and use the commands exactly as they are given. If you don't do that or make a mistake you may destroy data on one of disks of your old 5big2.

First go in the disk setup of your old 5big2 and safe remove all sek disks (sek1, sek2, sek5, sek7 sek 8)

Now connect with putty via ssh and start to clone sda disk
Code: Select all
dd if=/dev/sda1 of=/dev/sek1
dd if=/dev/sda2 of=/dev/sek2
dd if=/dev/sda5 of=/dev/sek5
dd if=/dev/sda7 of=/dev/sek7

Each dd command will take a while, be patient, f you get an error message after a dd command then do not execute remaining other commands but post the error here.

If all gies well put the disk in your new 5big2:and see if it boots


Sorry, the safe remove, have I to make to the USB disk setup? Becouse in 5Big2 Disks setup i have no (sek1, sek2, sek5, sek7 sek 8) i see them only in the USB Disk tab...
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Sat Apr 20, 2019 4:39 pm

Yes in usb disk menu
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sat Apr 20, 2019 4:47 pm

fvdw wrote:Yes in usb disk menu


I'm in last dd command...
after this, can I shut down the disk brutally or is there a command for shut down softly? :-D

Code: Select all
login as: root
root@192.168.0.189's password:
root@Norman_Nas:/ # dd if=/dev/sda1 of=/dev/sek1
1028160+0 records in
1028160+0 records out
root@Norman_Nas:/ # dd if=/dev/sda2 of=/dev/sek2
1028160+0 records in
1028160+0 records out
root@Norman_Nas:/ # dd if=/dev/sda5 of=/dev/sek5
1670760+0 records in
1670760+0 records out
root@Norman_Nas:/ # dd if=/dev/sda7 of=/dev/sek7
1028160+0 records in
1028160+0 records out
root@Norman_Nas:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Sat Apr 20, 2019 5:01 pm

nada...
i can't find him with assistant and tried mani ping.
as the blu back led work and sound of spinning is real low, sems that there is no proper boot procedure.

Before, the blu led in the back did a sort of blinking procedure you know....slow blinking/solid/ fast blinking etc...
This time remain immediatly solid after the first slow blinking douring spinning.
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Sat Apr 20, 2019 5:23 pm

Load the standalone kernel and mount sda7 (on your new 5big2) and check contentent if boot.log

Also put file sda2boot in /lacie-boot folder of sda7 so that it will boot from sda2 just like your old 5big2
So after tenet access mountsda7 on /sda7 list boot.log and put sda2boot in the right folder
Code: Select all
mkdir /sda7
mount /dev/sda7 /sda7
cat /sda7/boot.log
cd /sda7/lacie-boot
touch sda2boot
cd /
umount /sda7
reboot -f
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 6 guests