Installing firmware 11-0. I have a brick?

Installing firmware 11-0. I have a brick?

Postby gravis » Wed Dec 12, 2012 11:43 pm

{sorry for my english}
I have a Lacie NSP2 lite version 2TB Seagate Advanced format (4K)
The problem is that after following all the steps, the nas does not boot.
Followed steps:
fdisk /dev/sdb
Command (m for help): u
..n..p..1.1....

Command (m for help): p

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a003a

Device Boot Start End Blocks Id System
/dev/sdb1 1 64 513056 83 Linux
/dev/sdb2 65 128 514080 83 Linux
/dev/sdb3 129 192 514080 82 Linux swap / Solaris
/dev/sdb4 193 243201 1951969792+ 5 Extended
/dev/sdb5 193 292 802226 83 Linux
/dev/sdb6 293 293 7008+ 83 Linux
Partition 6 does not start on physical sector boundary.
/dev/sdb7 294 357 513056 83 Linux
Partition 7 does not start on physical sector boundary.
/dev/sdb8 358 243201 1950643406 83 Linux
Partition 8 does not start on physical sector boundary.


Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a003a

Device Boot Start End Blocks Id System
/dev/sdb1 2048 1028159 513056 83 Linux
/dev/sdb2 1028160 2056319 514080 83 Linux
/dev/sdb3 2056320 3084479 514080 82 Linux swap / Solaris
/dev/sdb4 3084480 3907024064 1951969792+ 5 Extended
/dev/sdb5 3086528 4690979 802226 83 Linux
/dev/sdb6 4693028 4707044 7008+ 83 Linux
Partition 6 does not start on physical sector boundary.
/dev/sdb7 4709093 5735204 513056 83 Linux
Partition 7 does not start on physical sector boundary.
/dev/sdb8 5737253 3907024064 1950643406 83 Linux
Partition 8 does not start on physical sector boundary.


And the other indications... but the nas does not boot.
I've also used Gparted GPT formatted like http://www.plugout.net/viewtopic.php?f=11&t=950&p=5557&hilit=GPT+formatted#p5557
I considered:
- http://www.plugout.net/viewtopic.php?f=11&t=489
- http://www.plugout.net/viewtopic.php?f=11&t=698 and
- http://www.plugout.net/viewtopic.php?f=6&t=881&p=5047&hilit=advanced+format#p5047
... but nothing.
I used Ubuntu 12 live, Debian live, Gparted live, Parted Magic .. etc

I do not know if I have a brick
I begin to despair :pound
Please could anyone help me???
Thanks a lot
gravis
 

Re: Installing firmware 11-0. I have a brick?

Postby Jocko » Thu Dec 13, 2012 9:47 am

Hi gravis,

first, you must check if your OS didn't mount some partitions of your device (sdb).

So in a root Terminal (or use with the command sudo) do this command:
Code: Select all
mount
If you get some lines like this
Code: Select all
/dev/sdbx on /path/To/folder type ext3 (rw,...)
(where /path/To/folder is the path of the folder where the partition sdx is mounted). You must unmount each partition
Code: Select all
umount /path/To/folder

If the command fails (Device or resource busy) check if a window (or terminal) doesn't use it !

After unmounted all sdb partitions, you can try again to create the new partitions table. But it seems that you have an AF disk so you must use this settings :
With this new partition table and with an AF disk, the following partition table must be used :

Partition 1 start 9 end 72
partition 2 start 73 end 136
partition 3 start 137 en 200
partition 4 start 201 end 243200
Partition 5 start 209 end 312
Partition 6 start 321 end 328
Partition 7 start 337 end 400
Partition 8 start 409 end 243200
(See post http://www.plugout.net/viewtopic.php?f=11&p=4394#p4394)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Installing firmware 11-0. I have a brick?

Postby gravis » Thu Dec 13, 2012 12:47 pm

I have followed the steps:

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


Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a003a

Device Boot Start End Blocks Id System
/dev/sdb1 9 72 514080 83 Linux
/dev/sdb2 73 136 514080 83 Linux
/dev/sdb3 137 200 514080 82 Linux swap / Solaris
/dev/sdb4 201 243200 1951897500 5 Extended
/dev/sdb5 209 312 835380 83 Linux
/dev/sdb6 321 328 64260 83 Linux
/dev/sdb7 337 400 514080 83 Linux
/dev/sdb8 409 243200 1950226740 83 Linux

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

The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
root@ubuntu:~# fdisk /dev/sdb

The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.

Command (m for help): p

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a003a

Device Boot Start End Blocks Id System
/dev/sdb1 128520 1156679 514080 83 Linux
/dev/sdb2 1156680 2184839 514080 83 Linux
/dev/sdb3 2184840 3212999 514080 82 Linux swap / Solaris
/dev/sdb4 3213000 3907007999 1951897500 5 Extended
/dev/sdb5 3341520 5012279 835380 83 Linux
/dev/sdb6 5140800 5269319 64260 83 Linux
/dev/sdb7 5397840 6425999 514080 83 Linux
/dev/sdb8 6554520 3907007999 1950226740 83 Linux


And the rest of the steps ... It does not work :pound

Gparted displays an error:
http://www.plugout.net/download/file.php?mode=view&id=1401

:thinking
You do not have the required permissions to view the files attached to this post.
gravis
 

Re: Installing firmware 11-0. I have a brick?

Postby Jocko » Thu Dec 13, 2012 1:12 pm

One question :
Do you use fdisk or Gparted to create the partition table ?

If you use Gparted you need a special kernel (fvdw can send you this)

If you use fdisk, think there is an error with the step k (copy the kernel on sdb6). So I advise you to try again this step (dd if=/pathto/UIMAGE.... of=/dev/sdb6)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Installing firmware 11-0. I have a brick?

Postby gravis » Thu Dec 13, 2012 1:38 pm

...
Do you use fdisk or Gparted to create the partition table ? NO

If you use fdisk, think there is an error with the step k (copy the kernel on sdb6). So I advise you to try again this step (dd if=/pathto/UIMAGE.... of=/dev/sdb6) I have used fdisk
I have used this kernel:
root@ubuntu:~# dd if=/media/ubuntu/MYLINUXLIVE/UIMAGE-26394-NWSP2CL-9 of=/dev/sdb6
5851+1 records in
5851+1 records out
2996012 bytes (3.0 MB) copied, 0.14228 s, 21.1 MB/s

..but It does not work :doh

:thinking
gravis
 

Re: Installing firmware 11-0. I have a brick?

Postby fvdw » Thu Dec 13, 2012 1:44 pm

this is not a GPT partition table but a ms-dos one (GPT format partition tables do not use extended partitions for instance).
It looks ok. You must be doing something wrong in writing the image to sdb1, sdb2, sdb7 and the the linux kernel to sdb6.
Of course also the files for sdb5 must be installed properly.

More then 500 people managed to do it so I see no reason why it won't work for you ;)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Installing firmware 11-0. I have a brick?

Postby fvdw » Thu Dec 13, 2012 1:48 pm

gravis wrote:...
Do you use fdisk or Gparted to create the partition table ? NO

If you use fdisk, think there is an error with the step k (copy the kernel on sdb6). So I advise you to try again this step (dd if=/pathto/UIMAGE.... of=/dev/sdb6) I have used fdisk
I have used this kernel:
root@ubuntu:~# dd if=/media/ubuntu/MYLINUXLIVE/UIMAGE-26394-NWSP2CL-9 of=/dev/sdb6
5851+1 records in
5851+1 records out
2996012 bytes (3.0 MB) copied, 0.14228 s, 21.1 MB/s

..but It does not work :doh

:thinking


ok writing the kernel is ok so to see. next write the diskimage to sdb1, sdb2 and sdb7. Post output also here.

Then look to the directory structure of sdb5, especially if the etc directory is there and that the nas database file is in there with proper permissions (see how to)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Installing firmware 11-0. I have a brick?

Postby gravis » Thu Dec 13, 2012 3:23 pm

The diskimage to sdb1, sdb2 and sdb7:
root@ubuntu:~# dd if=/media/ubuntu/MYLINUXLIVE/fvdw-sl-11-0-nwsp2-6jan2012.img of=/dev/sdb1
409600+0 records in
409600+0 records out
209715200 bytes (210 MB) copied, 8.70229 s, 24.1 MB/s
root@ubuntu:~# dd if=/media/ubuntu/MYLINUXLIVE/fvdw-sl-11-0-nwsp2-6jan2012.img of=/dev/sdb2
409600+0 records in
409600+0 records out
209715200 bytes (210 MB) copied, 8.70968 s, 24.1 MB/s
root@ubuntu:~# dd if=/media/ubuntu/MYLINUXLIVE/fvdw-sl-11-0-nwsp2-6jan2012.img of=/dev/sdb7
409600+0 records in
409600+0 records out
209715200 bytes (210 MB) copied, 8.83813 s, 23.7 MB/s


The directory structure of sdb5:
You do not have the required permissions to view the files attached to this post.
gravis
 

Re: Installing firmware 11-0. I have a brick?

Postby fvdw » Thu Dec 13, 2012 3:37 pm

thats look ok as well

Now can you try to mount /dev/sdb7 on Ubuntu and see the directory structure. ?
When booting the kernel will be loaded from sdb6 which then tries to mount /dev/sdb7, if this fails then boot stops.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Installing firmware 11-0. I have a brick?

Postby gravis » Thu Dec 13, 2012 3:51 pm

The directory structure of sdb7 (I do not know if this is all the information you need):
You do not have the required permissions to view the files attached to this post.
gravis
 

Next

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: Bing Bot and 12 guests