nwsp2 classic gpt support

Re: nwsp2 classic gpt support

Postby fvdw » Mon Dec 24, 2012 11:23 pm

minibike12 wrote:Restore sda5 only will do the trick.
Or do i have to rebuild whole structure?

There was one problem with partition 4 though.
I described it here in case you missed it.
Is this an important error?
http://www.plugout.net/viewtopic.php?f=11&t=1061&start=40#p6439


try sda5 only and to be sure write once more the kernel to sda6
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: nwsp2 classic gpt support

Postby minibike12 » Mon Dec 24, 2012 11:27 pm

Ok, i will do that.
It will take a sec, will post as soon as i'm done.

It might be a good idea to first reboot with the interface button when the nas is up and running again, before applying the loop device try again.
minibike12
 
Posts: 99
Joined: Sat Dec 22, 2012 9:23 pm
Location: The Netherlands

Re: nwsp2 classic gpt support

Postby fvdw » Mon Dec 24, 2012 11:32 pm

yes but before doing a restart via the web interface first look at the the output of the mount command to see if sda5 is properly mounted and the rest also looks normal
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: nwsp2 classic gpt support

Postby minibike12 » Mon Dec 24, 2012 11:33 pm

Where can i find this, and what specific things should i look at?
minibike12
 
Posts: 99
Joined: Sat Dec 22, 2012 9:23 pm
Location: The Netherlands

Re: nwsp2 classic gpt support

Postby fvdw » Mon Dec 24, 2012 11:37 pm

minibike12 wrote:Where can i find this, and what specific things should i look at?


log in via ssh after it has booted and type "mount" on the command line and post the output here
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: nwsp2 classic gpt support

Postby minibike12 » Mon Dec 24, 2012 11:44 pm

Ok.
I've done :
- reformat partition 5
- install UIMAGE-26394-NWSP2CL-51 to partition 6
- and used :
Code: Select all
mkdir /mnt-sdb5
mount /dev/sdb5 /mnt-sdb5
cd /mnt-sdb5
cp  /path-to/sda5-lacie-nwsp.tar.gz /mnt-sdb5
cd /mnt-sdb5
tar –xzvf sda5-lacie-nwsp.tar.gz
chmod 777 /mnt-sdb5/etc/nas_conf_db.xml
umount /mnt-sdb5


This should do the trick right.
Did i miss something? (Just to be sure).
minibike12
 
Posts: 99
Joined: Sat Dec 22, 2012 9:23 pm
Location: The Netherlands

Re: nwsp2 classic gpt support

Postby fvdw » Mon Dec 24, 2012 11:47 pm

looks ok, sure that all partitions 1 to 7 are there (we need partition 7 for loading the firmware). Try if you can mount sdb7 and look if content is there
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: nwsp2 classic gpt support

Postby minibike12 » Mon Dec 24, 2012 11:50 pm

Yes all partitions are there.
Only cat /proc/partitions says that partition 4 is only 1 block.
But fdisk -p and gparted are showing partition 4 as it should, so i guess it is okay?
minibike12
 
Posts: 99
Joined: Sat Dec 22, 2012 9:23 pm
Location: The Netherlands

Re: nwsp2 classic gpt support

Postby fvdw » Mon Dec 24, 2012 11:52 pm

did you try to mount sdb7 ? and looked if content is there ?
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: nwsp2 classic gpt support

Postby minibike12 » Mon Dec 24, 2012 11:54 pm

No i already pulled it out of the pc.
But it is still not working, so i will try that.
Code: Select all
mount /dev/sda7
ls /dev/sda7

Like this?
minibike12
 
Posts: 99
Joined: Sat Dec 22, 2012 9:23 pm
Location: The Netherlands

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 8 guests