Lost Original image

jsanzperez
Posts: 2
Joined: Fri Mar 26, 2010 12:24 pm

Re: Lost Original image

Post by jsanzperez » Fri Mar 26, 2010 12:51 pm

Hi, I have the same problem.
I have mounted all good, but I do not have access to the partition sda2 and the system start well, but I do not have access to the partition sda2.
I have created myshare and openshare with the permissions 755.
Has nobody an image of this partition?
That contains this partition?

Thank you.

klooride
Posts: 11
Joined: Sat Jul 04, 2009 10:20 am

Re: Lost Original image

Post by klooride » Fri Apr 02, 2010 1:40 pm

jsanzperez wrote:Hi, I have the same problem.
I have mounted all good, but I do not have access to the partition sda2 and the system start well, but I do not have access to the partition sda2.
I have created myshare and openshare with the permissions 755.
Has nobody an image of this partition?
That contains this partition?

Thank you.
I created filesystem XFS for sda2 with mkfs.xfs of my laptop debian-lenny. When I put the HD back in its black-case I faced this problem too.
In my case that was caused by a different filesystem version: it's likely that debian mkfs.xfs command built a newer version filesystem, not supported by networkspace linux distro.
If you're able to connect to the networkspace's shell (using webshell, utelnetd, ssh or whatever) you can use the "mkfs.xfs" shipped with the "original" linux distro. Recreate then the 2 directory and restart the box.

HTH

jsanzperez
Posts: 2
Joined: Fri Mar 26, 2010 12:24 pm

Re: Lost Original image

Post by jsanzperez » Fri Apr 02, 2010 2:20 pm

Ok. Thank's

mushia
Posts: 1
Joined: Fri May 14, 2010 7:26 pm

Re: Lost Original image

Post by mushia » Fri May 14, 2010 7:33 pm

Hi Im new to this whole Network Space thing.

The thing is, my disk has crashed and I want to install a new disk.

I've replaced to old (crashed) one for a new one, and now Im trying to install the requirement software to run this thing.

I've red this topic but it's not clear for me.

I assume that I have to create all the partitions manualy.
I still have these questions ( :? )

- Wich exact partition table do I have to use? (What are the names, size and formats of the partitions?)
- I need image 1 to 10 :oops:
- How do I install them?

Can someone help me with a step-by-step guide?

Mijzelf
Posts: 6224
Joined: Mon Jun 16, 2008 10:45 am

Re: Lost Original image

Post by Mijzelf » Sat May 15, 2010 9:13 am

First you'll have to hook up the disk to a Linux PC. 'Any PC' booted from a Live CD will do. Then use fdisk to build a partition table as shown here. You'll need to find out which device you disk is. Open a terminal and type

Code: Select all

cat /proc/partitions
Your disk should show up, recognizable on its size, possibly sdb. Assuming that it's sdb, and that you are using Ubuntu, type

Code: Select all

sudo fdisk /dev/sdb
This will open fdisk, and tell you which key to use for help.
First create an extended partition of at least 1004031 kB. Then fill this partition with 6 logical partitions:
sdb5 (will contain swap, sice is not that important) of about 128457 kB. Use fdisk to change the partition type to swap.
sdb6 (will contain the kernel) of at least 8001 kB.
sdb7 (will contain the first root filesystem) of at least 8001 kB.
sdb8 (will contain the second root filesystem) of at least 176683 kB.
sdb9 (will contain a unionfs overlay on sdb8, size is not that important) of about 674698 kB.
sdb10 (can contain a 2nd kernel) of at least 8001 kB.

Next you can create a primary partition sda2, which can fill the rest of the disk. This is the user data partition.

After you have saved the partition table, and closed fdisk, you must prepare the partitions:

Code: Select all

sudo mkswap /dev/sdb5
sudo dd if=/dev/zero of=/dev/sdb10
Download the paritition images at http://downloads.lacie.nas-central.org/ . The kernel can be written:

Code: Select all

sudo dd if=/path/to/lacieNS_sda6.dd of=/dev/sdb6
For the other partitions you need partimage. I hope this is available in the Ubuntu repositories:

Code: Select all

sudo apt-get update
sudo apt-get install partimage
If that works, use partimage to restore partition 7, 8 and 9. Possibly you can start it from terminal

Code: Select all

sudo partimage
Then prepare the data partition:

Code: Select all

sudo mkfs.xfs /dev/sdb2
sudo mkdir /mnt/sdb2
sudo mount /dev/sdb2 /mnt/sdb2
sudo mkdir /mnt/sdb2/myshare
sudo mkdir /mnt/sdb2/openshare
sudo chmod 777 /mnt/sdb2/*
sudo umount /mnt/sdb2
After that you can build back your disk. It is possible that you can't access the datapartition. In that case you'll need an older version of Linux to prepare the data partition, or need a shell to do it on the box itself. But I suppose you can also format it ext3. Get the disk out again and hook it to the Linux PC, open a terminal and type:

Code: Select all

sudo mke2fs -j /dev/sdb2
sudo mkdir /mnt/sdb2
sudo mount /dev/sdb2 /mnt/sdb2
sudo mkdir /mnt/sdb2/myshare
sudo mkdir /mnt/sdb2/openshare
sudo chmod 777 /mnt/sdb2/*
sudo umount /mnt/sdb2

mattylad
Posts: 61
Joined: Sat Jul 11, 2009 10:20 pm

Re: Lost Original image

Post by mattylad » Sat May 15, 2010 9:59 am

Thank you for those instructions, I too shall save them.

What about the sizes of the partitions?
are there any specific sizes that certain ones need to be?

Also what if the disk your putting in is smaller/larger than the one the images were created from, can you resize them
when adding the information?
Dumb Windows user & 500gb Network Store owner.
I'm not compatible with Linux :(

Mijzelf
Posts: 6224
Joined: Mon Jun 16, 2008 10:45 am

Re: Lost Original image

Post by Mijzelf » Sat May 15, 2010 10:36 am

mattylad wrote:What about the sizes of the partitions?
are there any specific sizes that certain ones need to be?
Well, at least they need to be big enough to store the contents. Maybe there are some constraints imposed by the bootloader. It probes partition 10 for the existance of a kernel, and if not available, it loads the kernel from partition 6. Maybe the bootloader has some limits in reading the partition table or addressing sectors. So it could be a good idea to stay close to the original sizes.
Another point is firmware updates. Maybe an update assumes some partition size.
Also what if the disk your putting in is smaller/larger than the one the images were created from, can you resize them
when adding the information?
Depends on how the images were made, and the size of the contents. An image made by partimage can be resized, but cannot shrink further than the size of the contents, of course. A image made by dd cannot be resized, it's a byte-by-byte copy of the filesystem.

In all cases the data partition can just consume all residual space. (With some limits, I suppose. I don't think the bootloader and/or kernel can handle a disksize bigger then 2TB.)

mattylad
Posts: 61
Joined: Sat Jul 11, 2009 10:20 pm

Re: Lost Original image

Post by mattylad » Sat May 15, 2010 11:50 am

OK thank you
Dumb Windows user & 500gb Network Store owner.
I'm not compatible with Linux :(

tajo49
Posts: 3
Joined: Tue Jun 01, 2010 2:29 pm

Re: Lost Original image

Post by tajo49 » Tue Jun 01, 2010 2:48 pm

Hi...
Im new to this whole Network Space thing.

The thing is, my disk has crashed and I want to install a new disk.
someone can put a disk image and complete list and rapidshare?

Can someone help me with a step-by-step guide?

Mijzelf
Posts: 6224
Joined: Mon Jun 16, 2008 10:45 am

Re: Lost Original image

Post by Mijzelf » Wed Jun 02, 2010 2:59 pm

What's wrong with the step-by-step guide 4 posts above yours?

tajo49
Posts: 3
Joined: Tue Jun 01, 2010 2:29 pm

Re: Lost Original image

Post by tajo49 » Wed Jun 02, 2010 11:41 pm

with a step-by-step guide for Network Space 2? not Network Space1 ... There are also differences ... there is no hard disk image in ftp://downloads.lacie.nas-central.org

network space1
# fdisk-l / dev / sdb

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes Disco / dev / sdb: 1000,2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders 255 cabezas, 63 sectores / pista, 121601 cilindros
Units = cylinders of 16065 * 512 = 8225280 bytes Unidades = cilindros de 16065 * 512 = 8225280 bytes
Disk identifier:

Device Boot Start End Blocks Id System Dispositivo Inicio Comienzo Fin Bloques Id Sistema
/dev/sdb1 1 125 1004031 5 Extended
/dev/sdb2 126 121601 975755970 83 Linux
/dev/sdb5 1 16 128457 82 Linux swap / Solaris
/dev/sdb6 17 17 8001 83 Linux
/dev/sdb7 18 18 8001 83 Linux
/dev/sdb8 19 40 176683+ 83 Linux
/dev/sdb9 41 124 674698+ 83 Linux
/dev/sdb10 125 125 8001 83 Linux

Network Space2

# fdisk-l / dev / sdb

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes Disco / dev / sdb: 1000,2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders 255 cabezas, 63 sectores / pista, 121601 cilindros
Units = cylinders of 16065 * 512 = 8225280 bytes Unidades = cilindros de 16065 * 512 = 8225280 bytes
Disk identifier:

Device Boot Start End Blocks Id System Dispositivo Inicio Comienzo Fin Bloques Id Sistema
/dev/sdb1 2 250 200092+ 5 Extended
/dev/sdb2 251 121601 975755970+ 83 Linux
/dev/sdb5 2 33 257008+ 82 Linux swap / Solaris
/dev/sdb6 34 34 8001 83 Linux
/dev/sdb7 35 35 8001 83 Linux
/dev/sdb8 36 141 851413+ 83 Linux
/dev/sdb9 142 249 867478+ 83 Linux
/dev/sdb10 250 250 8001 83 Linux

Mijzelf
Posts: 6224
Joined: Mon Jun 16, 2008 10:45 am

Re: Lost Original image

Post by Mijzelf » Thu Jun 03, 2010 11:16 am

This thread is about the NS1. The guide is about the NS1 too, and the images are at http://downloads.lacie.nas-central.org/Users/klooride/.

BTW, as your partition tables show, the only difference between NS1 and NS2 is the size of some partitions. (And the needed images).

mattylad
Posts: 61
Joined: Sat Jul 11, 2009 10:20 pm

Re: Lost Original image

Post by mattylad » Sun Jun 06, 2010 11:23 am

I guess that it would be interesting to see if the NS1 images can be used to re create the NS2.

And to find out what the differences are between the two.
Dumb Windows user & 500gb Network Store owner.
I'm not compatible with Linux :(

WarlocK
Posts: 1
Joined: Fri Dec 09, 2011 1:49 pm

Re: Lost Original image

Post by WarlocK » Fri Dec 09, 2011 2:02 pm

hi to all.
first thank you all for this thread, i save a nas :p

After restoring the nas i can't update the firmware 1.1.8 and 1.1.10.
LaCie Network Assistant does not work well with windows seven, so I had to create a virtual machine with XP (after creating one with linux to partitioning) and running the update from there, it worked.

despite everything, the lacie nas is really poor: (

Thanks to all

fvdw
Posts: 777
Joined: Wed Mar 18, 2009 11:13 pm

Re: Lost Original image

Post by fvdw » Sun Jan 01, 2012 1:11 pm

WarlocK wrote:
....

despite everything, the lacie nas is really poor: (

Thanks to all
indeed the original firmware doesn't have much to offer but the nas itself is not too bad, although limited by its tiny system memory of 16 MB. Despite that it is capable to much more possibilities and performance with other firmware. If you are interested to enhance your nwsp1 than you could consider to use our alternative (fvdw-sl) firmware. More info you can find here http://plugout.net/index.php

Post Reply