NAS doesn't boot after setup Raid

Re: NAS doesn't boot after setup Raid

Postby Jocko » Mon Nov 21, 2016 9:38 pm

:cry:
I am sorry but that means you have a bad disk.

Use seagate tool on your laptop to check it
Jocko
Site Admin - expert
 
Posts: 11366
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: NAS doesn't boot after setup Raid

Postby jungfichte » Mon Nov 21, 2016 9:47 pm

Ok I will have a look at the seagate tool.

Btw - the checksum is right:
Code: Select all
root@(none):/sdb8/fvdw # md5sum UIMAGE-13142-2BIG1-6
4b6b03d0a21c6d16b50117a31d49c7c7  UIMAGE-13142-2BIG1-6
root@(none):/sdb8/fvdw #
jungfichte
Donator VIP
Donator VIP
 
Posts: 37
Joined: Thu Nov 10, 2011 7:54 pm
Location: Dachau, Germany

Re: NAS doesn't boot after setup Raid

Postby Jocko » Mon Nov 21, 2016 9:53 pm

I removed my previous post as I did not read your last post.

Yes the md5sum is ok => when dd wrote the kernel image, it had to do it on some (at least one) bad blocks
Jocko
Site Admin - expert
 
Posts: 11366
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: NAS doesn't boot after setup Raid

Postby jungfichte » Mon Nov 21, 2016 10:02 pm

I'll be back again if I know the condition of the hard drives.

Thank you very much until here... :thumbup :applause
jungfichte
Donator VIP
Donator VIP
 
Posts: 37
Joined: Thu Nov 10, 2011 7:54 pm
Location: Dachau, Germany

Re: NAS doesn't boot after setup Raid

Postby Jocko » Wed Nov 23, 2016 9:56 pm

Hi jungfichte,

A 2big1 member got my attention on this point:
do you succeed to boot your NAS with a gpt partition on sda before building the raid.
Up to now I though yes but according with your first post I am no longer sure about this :whistle

The usual boot-loader on 2big1 does not have gpt capabilities and in this case this explains why the NAS boots only from an external kernel
Jocko
Site Admin - expert
 
Posts: 11366
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: NAS doesn't boot after setup Raid

Postby jungfichte » Mon Dec 12, 2016 7:44 pm

Hi jocko,

sorry for my late feedback...
The two disk were checked with the seatool hdd check software.
Both disks passed the tests, but the second drive sounds very terrible when it was stressed.
I'm going to ask Santa Claus for two new hard disk drives :please .

Do you have any suggestions?
Maybe WD red or seagate barracuda (again)

Best regards,
jungfichte
jungfichte
Donator VIP
Donator VIP
 
Posts: 37
Joined: Thu Nov 10, 2011 7:54 pm
Location: Dachau, Germany

Re: NAS doesn't boot after setup Raid

Postby Jocko » Mon Dec 12, 2016 7:49 pm

Hi jungfichte,

Before going further, in my last post, I asked for some additional information.
(If the bootloader does not have gpt support, your nas behaviour is normal).
Jocko
Site Admin - expert
 
Posts: 11366
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: NAS doesn't boot after setup Raid

Postby jungfichte » Mon Dec 12, 2016 9:36 pm

Hi jocko,

I followed your Instructions in the Tutorial to build a RAID 1 for fvdw on Chapter II - 3) End to build the RAID.
Everything works fine (Change the system type of partition for sda8, Add sda8 to md0, Save the RAID conf) until
- Include the new raid in the nas database
Restart the NAS...

The NAS doesn't came up again.

So there was no successful boot after changing the system type to gpt...
jungfichte
Donator VIP
Donator VIP
 
Posts: 37
Joined: Thu Nov 10, 2011 7:54 pm
Location: Dachau, Germany

Re: NAS doesn't boot after setup Raid

Postby Jocko » Mon Dec 12, 2016 9:48 pm

My ask is:
I noted this
Code: Select all
root@(none):/ # gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present
So you have used a gpt partition on sda.
At what time did you do it ?
When you initialized the disk? (and then if the NAS had succeeded to boot => you have a bootloader with gpt support)
or later when you tried to do the raid.

Otherwise, if you try again to initialize the disks, use fdisk command (and not gdisk). Same thing when you change the partition disk (do not use gdisk)
Jocko
Site Admin - expert
 
Posts: 11366
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: NAS doesn't boot after setup Raid

Postby jungfichte » Wed Jan 04, 2017 10:52 pm

Hi,

first of all: HAPPY NEW 2017 :rock

I have to admit it took a while until i knew you want from me in your last post :scratch .

Today, i initialized /dev/sda (of course - with gpt partition on it :hammerhead )
And started again from the beginning.
FVDW-SL console 6
--> Install fvdw-sl-firmware
and then the penny has dropped. - i choosed the bootloader UIMAGE-26394-2BIG1-44-1-1-4-standalone of course without GPT-Support .... in the Tutorial to build a RAID 1 for fvdw-sl 16.0 it is necessary the change the partition table to GPT
And now its clear why the nas didn't boot, after doing this :doh :oops:

But after succesful installing the firmware again, the NAS isn't able to boot :hairpull

installer.log:
Code: Select all
fvdw-sl-installer log
tftpd ip address 192.168.18.102
getting required programs from tftp server 192.168.18.102
Dialog installed
xterm installed
mke2fs-ext3 present
gdisk present
Start fvdw-sl firmware installer version 3.0.0

selected nas type 2big1 platform orion
selected disk /dev/sda
gpt support bootloader selected no
selected partion table type msdos
Deleting old msdos partiton table
partitions found before deleting ms-dos partition table = \n
del = w\n\q\n\n
partitions found after delete ms-dos partition table = \n
deleting ms-dos partition succeeded\n
create new partiton table
create ms-dos partiton table
max cylinder 60801
ms-dos partiton scheme disk last cylinder 60800 (-1)

The number of cylinders for this disk is set to 60801.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): First cylinder (201-60800, default 201): First cylinder (201-60800, default 201): Value is out of range
First cylinder (201-60800, default 201): Value is out of range
First cylinder (201-60800, default 201): Value is out of range
First cylinder (201-60800, default 201): First cylinder (201-60800, default 201): First cylinder (201-60800, default 201): Value is out of

range
First cylinder (201-60800, default 201): Value is out of range
First cylinder (201-60800, default 201): Value is out of range
First cylinder (201-60800, default 201): First cylinder (201-60800, default 201): First cylinder (201-60800, default 201): Value is out of

range
First cylinder (201-60800, default 201): Value is out of range
First cylinder (201-60800, default 201): Value is out of range
First cylinder (201-60800, default 201): First cylinder (201-60800, default 201): Value is out of range
First cylinder (201-60800, default 201): Value is out of range
First cylinder (201-60800, default 201): First cylinder (201-60800, default 201): First cylinder (201-60800, default 201): Last cylinder or

+size or +sizeM or +sizeK (201-208, default 208): Value is out of range
Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Value

is out of range
Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Value is out of range
Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Value

is out of range
Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Value is out of range
Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Value

is out of range
Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Value is out of range
Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Value

is out of range
Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Value is out of range
Last cylinder or +size or +sizeM or +sizeK (201-208, default 208): Last cylinder or +size or +sizeM or +sizeK (201-208, default 208):

creating ms-dos partiton table succeeded
format partition 5
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
52304 inodes, 208845 blocks
2088 blocks (1.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=213909504
7 block groups
32768 blocks per group, 32768 fragments per group
7472 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840

Writing inode tables: done                           
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
formatting sda5 succeeded
writing kernel to partition 6
mounting sda 5 succeeded
getting kernel from tftp server
writing kernel to partition 6
3964+1 records in
3964+1 records out
2029704 bytes (1.9MB) copied, 0.344407 seconds, 5.6MB/s
writing kernel to partition 6 succeeded
Getting firmware image from tftp server
firmware disk image uploaded succesfully\n
Unpacking firmware image from archive
firmware disk image extracted succesfully\n
Adapting firmware image for 2big1\n
Transfer of firmware correction from tfp server succeeded, starting pacthing of firmware image
mounting firmware image succeeded
./
./etc/
./etc/init.d/
./etc/init.d/insert-modules
./etc/platform
./lib/
./lib/modules/
./lib/modules/3.14.2/
./lib/modules/3.14.2/sm_ftl.ko
./lib/modules/3.14.2/jedec_probe.ko
./lib/modules/3.14.2/pwc.ko
./lib/modules/3.14.2/videobuf-core.ko
./lib/modules/3.14.2/dm-mirror.ko
./lib/modules/3.14.2/rtl8187.ko
./lib/modules/3.14.2/jfs.ko
./lib/modules/3.14.2/xt_nat.ko
./lib/modules/3.14.2/raid1.ko
./lib/modules/3.14.2/ehci-pci.ko
./lib/modules/3.14.2/isofs.ko
./lib/modules/3.14.2/dm-round-robin.ko
./lib/modules/3.14.2/eeprom_93cx6.ko
./lib/modules/3.14.2/nfsv3.ko
./lib/modules/3.14.2/nf_conntrack_pptp.ko
./lib/modules/3.14.2/ppp_deflate.ko
./lib/modules/3.14.2/plat-ram.ko
./lib/modules/3.14.2/hid-samsung.ko
./lib/modules/3.14.2/gspca_spca1528.ko
./lib/modules/3.14.2/dns_resolver.ko
./lib/modules/3.14.2/usb_f_mass_storage.ko
./lib/modules/3.14.2/raid10.ko
./lib/modules/3.14.2/cmdlinepart.ko
./lib/modules/3.14.2/async_raid6_recov.ko
./lib/modules/3.14.2/rt2x00usb.ko
./lib/modules/3.14.2/cfi_cmdset_0002.ko
./lib/modules/3.14.2/usblp.ko
./lib/modules/3.14.2/caif_socket.ko
./lib/modules/3.14.2/nf_defrag_ipv4.ko
./lib/modules/3.14.2/nf_nat_ipv4.ko
./lib/modules/3.14.2/nand_ecc.ko
./lib/modules/3.14.2/ip6_tables.ko
./lib/modules/3.14.2/g_ether.ko
./lib/modules/3.14.2/v4l2-common.ko
./lib/modules/3.14.2/nf_defrag_ipv6.ko
./lib/modules/3.14.2/ftdi-elan.ko
./lib/modules/3.14.2/hid-sunplus.ko
./lib/modules/3.14.2/nf_conntrack_broadcast.ko
./lib/modules/3.14.2/nf_nat_tftp.ko
./lib/modules/3.14.2/ipt_REJECT.ko
./lib/modules/3.14.2/gspca_sn9c2028.ko
./lib/modules/3.14.2/hid-petalynx.ko
./lib/modules/3.14.2/xt_REDIRECT.ko
./lib/modules/3.14.2/zlib_deflate.ko
./lib/modules/3.14.2/scsi_tgt.ko
./lib/modules/3.14.2/xt_conntrack.ko
./lib/modules/3.14.2/rt2x00lib.ko
./lib/modules/3.14.2/iscsi_tcp.ko
./lib/modules/3.14.2/lzo_compress.ko
./lib/modules/3.14.2/rtlwifi.ko
./lib/modules/3.14.2/rt2800usb.ko
./lib/modules/3.14.2/cuse.ko
./lib/modules/3.14.2/hid-gyration.ko
./lib/modules/3.14.2/nf_conntrack_snmp.ko
./lib/modules/3.14.2/cifs.ko
./lib/modules/3.14.2/async_tx.ko
./lib/modules/3.14.2/usb_f_rndis.ko
./lib/modules/3.14.2/oid_registry.ko
./lib/modules/3.14.2/ftdi_sio.ko
./lib/modules/3.14.2/ppp_generic.ko
./lib/modules/3.14.2/pegasus.ko
./lib/modules/3.14.2/exportfs.ko
./lib/modules/3.14.2/ipt_MASQUERADE.ko
./lib/modules/3.14.2/async_memcpy.ko
./lib/modules/3.14.2/dm-raid.ko
./lib/modules/3.14.2/cfi_cmdset_0001.ko
./lib/modules/3.14.2/xfrm6_mode_transport.ko
./lib/modules/3.14.2/mac80211.ko
./lib/modules/3.14.2/nfsd.ko
./lib/modules/3.14.2/auth_rpcgss.ko
./lib/modules/3.14.2/dm-queue-length.ko
./lib/modules/3.14.2/raid_class.ko
./lib/modules/3.14.2/nf_conntrack_ipv4.ko
./lib/modules/3.14.2/rtc-s35390a.ko
./lib/modules/3.14.2/nand_ids.ko
./lib/modules/3.14.2/usb-storage.ko
./lib/modules/3.14.2/sg.ko
./lib/modules/3.14.2/uvcvideo.ko
./lib/modules/3.14.2/caif.ko
./lib/modules/3.14.2/cfi_cmdset_0020.ko
./lib/modules/3.14.2/nf_nat_ipv6.ko
./lib/modules/3.14.2/dm-crypt.ko
./lib/modules/3.14.2/nf_nat_ftp.ko
./lib/modules/3.14.2/ipv6.ko
./lib/modules/3.14.2/hid.ko
./lib/modules/3.14.2/pl2303.ko
./lib/modules/3.14.2/dm-multipath.ko
./lib/modules/3.14.2/ip6t_NPT.ko
./lib/modules/3.14.2/rtc-pcf8563.ko
./lib/modules/3.14.2/nf_conntrack.ko
./lib/modules/3.14.2/rtl8192c-common.ko
./lib/modules/3.14.2/xt_connlimit.ko
./lib/modules/3.14.2/nfs.ko
./lib/modules/3.14.2/pppoe.ko
./lib/modules/3.14.2/cdrom.ko
./lib/modules/3.14.2/libiscsi.ko
./lib/modules/3.14.2/videobuf2-memops.ko
./lib/modules/3.14.2/nand.ko
./lib/modules/3.14.2/iptable_mangle.ko
./lib/modules/3.14.2/libcomposite.ko
./lib/modules/3.14.2/xfrm6_mode_beet.ko
./lib/modules/3.14.2/ums-sddr55.ko
./lib/modules/3.14.2/nf_nat_proto_gre.ko
./lib/modules/3.14.2/ip_tables.ko
./lib/modules/3.14.2/net1080.ko
./lib/modules/3.14.2/ax88179_178a.ko
./lib/modules/3.14.2/cdc_ether.ko
./lib/modules/3.14.2/mii.ko
./lib/modules/3.14.2/cfi_probe.ko
./lib/modules/3.14.2/fuse.ko
./lib/modules/3.14.2/rt2800lib.ko
./lib/modules/3.14.2/md-mod.ko
./lib/modules/3.14.2/ehci-orion.ko
./lib/modules/3.14.2/configfs.ko
./lib/modules/3.14.2/nf_nat.ko
./lib/modules/3.14.2/gen_probe.ko
./lib/modules/3.14.2/ext4.ko
./lib/modules/3.14.2/scsi_transport_iscsi.ko
./lib/modules/3.14.2/g_mass_storage.ko
./lib/modules/3.14.2/ehci-hcd.ko
./lib/modules/3.14.2/u_ether.ko
./lib/modules/3.14.2/ip6table_filter.ko
./lib/modules/3.14.2/videodev.ko
./lib/modules/3.14.2/gspca_sonixb.ko
./lib/modules/3.14.2/usbserial.ko
./lib/modules/3.14.2/ppp_mppe.ko
./lib/modules/3.14.2/usbnet.ko
./lib/modules/3.14.2/dm-region-hash.ko
./lib/modules/3.14.2/chnl_net.ko
./lib/modules/3.14.2/ums-jumpshot.ko
./lib/modules/3.14.2/zr364xx.ko
./lib/modules/3.14.2/zlib_inflate.ko
./lib/modules/3.14.2/dm-bufio.ko
./lib/modules/3.14.2/gspca_sonixj.ko
./lib/modules/3.14.2/oxu210hp-hcd.ko
./lib/modules/3.14.2/mtd.ko
./lib/modules/3.14.2/sit.ko
./lib/modules/3.14.2/zaurus.ko
./lib/modules/3.14.2/gspca_main.ko
./lib/modules/3.14.2/linear.ko
./lib/modules/3.14.2/videobuf-vmalloc.ko
./lib/modules/3.14.2/nfs_acl.ko
./lib/modules/3.14.2/pci-stub.ko
./lib/modules/3.14.2/squashfs.ko
./lib/modules/3.14.2/raid0.ko
./lib/modules/3.14.2/iptable_filter.ko
./lib/modules/3.14.2/raid456.ko
./lib/modules/3.14.2/evdev.ko
./lib/modules/3.14.2/jbd2.ko
./lib/modules/3.14.2/hid-generic.ko
./lib/modules/3.14.2/xt_connmark.ko
./lib/modules/3.14.2/nfsv2.ko
./lib/modules/3.14.2/nf_conntrack_h323.ko
./lib/modules/3.14.2/async_xor.ko
./lib/modules/3.14.2/xfs.ko
./lib/modules/3.14.2/ums-freecom.ko
./lib/modules/3.14.2/xor.ko
./lib/modules/3.14.2/videobuf2-vmalloc.ko
./lib/modules/3.14.2/nf_conntrack_ftp.ko
./lib/modules/3.14.2/ip6table_nat.ko
./lib/modules/3.14.2/nf_conntrack_tftp.ko
./lib/modules/3.14.2/dm-service-time.ko
./lib/modules/3.14.2/nf_conntrack_proto_gre.ko
./lib/modules/3.14.2/cmac.ko
./lib/modules/3.14.2/libiscsi_tcp.ko
./lib/modules/3.14.2/mtd_blkdevs.ko
./lib/modules/3.14.2/ip6t_MASQUERADE.ko
./lib/modules/3.14.2/rtl8192cu.ko
./lib/modules/3.14.2/rtl_usb.ko
./lib/modules/3.14.2/raid6_pq.ko
./lib/modules/3.14.2/usb_f_ecm_subset.ko
./lib/modules/3.14.2/asix.ko
./lib/modules/3.14.2/gspca_vicam.ko
./lib/modules/3.14.2/async_pq.ko
./lib/modules/3.14.2/nf_nat_sip.ko
./lib/modules/3.14.2/nf_nat_h323.ko
./lib/modules/3.14.2/dm-snapshot.ko
./lib/modules/3.14.2/r8712u.ko
./lib/modules/3.14.2/dm-log.ko
./lib/modules/3.14.2/map_ram.ko
./lib/modules/3.14.2/pppox.ko
./lib/modules/3.14.2/nf_conntrack_sip.ko
./lib/modules/3.14.2/hid-pl.ko
./lib/modules/3.14.2/orion_nand.ko
./lib/modules/3.14.2/nf_nat_pptp.ko
./lib/modules/3.14.2/xt_NETMAP.ko
./lib/modules/3.14.2/gspca_benq.ko
./lib/modules/3.14.2/ubi.ko
./lib/modules/3.14.2/pktgen.ko
./lib/modules/3.14.2/udf.ko
./lib/modules/3.14.2/cdc_ncm.ko
./lib/modules/3.14.2/sisusbvga.ko
./lib/modules/3.14.2/xfrm6_mode_tunnel.ko
./lib/modules/3.14.2/udc-core.ko
./lib/modules/3.14.2/mv_udc.ko
./lib/modules/3.14.2/ntfs.ko
./lib/modules/3.14.2/cfi_util.ko
./lib/modules/3.14.2/usbhid.ko
./lib/modules/3.14.2/nf_conntrack_ipv6.ko
./lib/modules/3.14.2/nfsv4.ko
./lib/modules/3.14.2/videobuf2-core.ko
./lib/modules/3.14.2/plat_nand.ko
./lib/modules/3.14.2/dm-mod.ko
./lib/modules/3.14.2/hid-sony.ko
./lib/modules/3.14.2/ums-sddr09.ko
./lib/modules/3.14.2/cfg80211.ko
./lib/modules/3.14.2/cdc_subset.ko
./lib/modules/3.14.2/ppp_async.ko
./lib/modules/3.14.2/marvell.ko
./lib/modules/3.14.2/michael_mic.ko
./lib/modules/3.14.2/lzo_decompress.ko
./lib/modules/3.14.2/ums-datafab.ko
./lib/modules/3.14.2/chipreg.ko
./lib/modules/3.14.2/lockd.ko
./lib/modules/3.14.2/qinfo_probe.ko
./lib/modules/3.14.2/lpddr_cmds.ko
./lib/modules/3.14.2/v4l2-dv-timings.ko
./lib/modules/3.14.2/rt73usb.ko
./lib/modules/3.14.2/sunrpc.ko
./lib/modules/3.14.2/gspca_sn9c20x.ko
./lib/modules/3.14.2/nf_nat_snmp_basic.ko
./lib/modules/3.14.2/usb_f_ecm.ko
./lib/modules/3.14.2/slhc.ko
./lib/modules/3.14.2/mtdblock.ko
./lib/modules/3.14.2/sr_mod.ko
./lib/modules/3.14.2/ipheth.ko
./lib/modules/3.14.2/ums-alauda.ko
./lib/modules/3.14.2/rtc-m41t80.ko
./lib/modules/3.14.2/rt2500usb.ko
./lib/modules/3.14.2/iptable_nat.ko
./lib/modules/3.14.2/wire.ko
./lib/modules/3.14.2/physmap.ko
./lib/modules/3.14.2/mdc800.ko
./lib/modules/3.14.2/rpcsec_gss_krb5.ko
correcting firmware image for 2big1 succeeded\n
Writing firmware to partion 7
512000+0 records in
512000+0 records out
262144000 bytes (250.0MB) copied, 56.016480 seconds, 4.5MB/s
writing firmware file to partition 7 succeeded
writing firmware to partition 1
512000+0 records in
512000+0 records out
262144000 bytes (250.0MB) copied, 54.819484 seconds, 4.6MB/s
writing firmware file to partition 1 succeeded
writing firmware to partition 2
512000+0 records in
512000+0 records out
262144000 bytes (250.0MB) copied, 56.663869 seconds, 4.4MB/s
writing firmware file to partition 2 succeeded
write default database to partition 5
uploading default database on partition 5 succeeded
extraction and installing of the default database on partition 5 succeeded
format partition 8 shared folder partition
formating partition 8 succeeded
create shared folder public on partition 8
Installation completed


H - E - L - P
jungfichte
Donator VIP
Donator VIP
 
Posts: 37
Joined: Thu Nov 10, 2011 7:54 pm
Location: Dachau, Germany

PreviousNext

Return to Lacie 2Big Network vs1

Who is online

Users browsing this forum: No registered users and 1 guest