Lacie 5bign_v2 support

Re: Lacie 5bign_v2 support

Postby fvdw » Tue May 14, 2013 7:32 pm

Draftmancorp wrote:What's this:  ???? :scratch

Output from a php script that is not readable, its no problem, its normal
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 7:33 pm

ok, i'm coming!
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 7:35 pm

here i'm.

Code: Select all
login as: root
root@192.168.1.189's password:
root@fvdwsl-base:/ # gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.5

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

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2         4245504       976773134   463.7 GiB   FD00  Linux RAID
   5            2048          526335   256.0 MiB   8200  Linux swap
   6          526336          559103   16.0 MiB    8300  Linux filesystem
   7          559104          591871   16.0 MiB    FD00  Linux RAID
   8          591872         2402303   884.0 MiB   FD00  Linux RAID
   9         2402304         4212735   884.0 MiB   FD00  Linux RAID
  10         4212736         4245503   16.0 MiB    8300  Linux filesystem
root@fvdwsl-base:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby fvdw » Tue May 14, 2013 7:44 pm

ok we are going to delete all partitions on sdb
give command
Code: Select all
gdisk /dev/sdb

then give in gdiks command "d" and partition number you want to delete, start with 10 and work back to 2
when all are gone give command "p", to check that it is empty en when this is the case give command "w" to write the empty table
The start gdisk again
Code: Select all
gdisk /dev/sdb

and make one partition with n command and give it number 8
start sector default value, end sector default value (end of disk)
and give command "p" and post output here
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 7:49 pm

Code: Select all
login as: root
root@192.168.1.189's password:
root@fvdwsl-base:/ # gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.5

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

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2         4245504       976773134   463.7 GiB   FD00  Linux RAID
   5            2048          526335   256.0 MiB   8200  Linux swap
   6          526336          559103   16.0 MiB    8300  Linux filesystem
   7          559104          591871   16.0 MiB    FD00  Linux RAID
   8          591872         2402303   884.0 MiB   FD00  Linux RAID
   9         2402304         4212735   884.0 MiB   FD00  Linux RAID
  10         4212736         4245503   16.0 MiB    8300  Linux filesystem
root@fvdwsl-base:/ # gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.5

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

Found valid GPT with protective MBR; using GPT.

Command (? for help): d
Partition number (2-10): 10

Command (? for help): d
Partition number (2-9): 9

Command (? for help): d
Partition number (2-8): 8

Command (? for help): d
Partition number (2-7): 7

Command (? for help): d
Partition number (2-6): 6

Command (? for help): d
Partition number (2-5): 5

Command (? for help): d
Using 2

Command (? for help): d
No partitions

Command (? for help): p
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 976773101 sectors (465.8 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.
root@fvdwsl-base:/ # gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.5

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

Found valid GPT with protective MBR; using GPT.

Command (? for help): n
Partition number (1-128, default 1): 8
First sector (34-976773134, default = 2048) or {+-}size{KMGTP}:
Last sector (2048-976773134, default = 976773134) or {+-}size{KMGTP}:
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300):
Changed type of partition to 'Linux filesystem'

Command (? for help): p
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   8            2048       976773134   465.8 GiB   8300  Linux filesystem

Command (? for help):
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 7:50 pm

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

Re: Lacie 5bign_v2 support

Postby fvdw » Tue May 14, 2013 7:52 pm

ok give command "w" to write the table and leave gdisk

Now we are going to format it
Code: Select all
mke2fs -j -m 1 /dev/sdb8

this might takes some minutes to complete
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5bign_v2 support

Postby fvdw » Tue May 14, 2013 8:00 pm

when that is done then download the trial nas database attached. Unpack the zip archive and put it in the share folder "public" on the nas
Be sure that you do not have the webinterface of the nas open in a browser, if you have it open close that window
Now copy the database,
Connect with putty and enter
Code: Select all
cp /share/1000/public/nas_conf_db.xml /rw_fs/etc/nas_conf_db.xml


close putty window and reboot the nas, after it finished boot, look in the web interface in the disk menu if you can see two disks...
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Tue May 14, 2013 8:01 pm

Code: Select all
Command (? for help): n
Partition number (1-128, default 1): 8
First sector (34-976773134, default = 2048) or {+-}size{KMGTP}:
Last sector (2048-976773134, default = 976773134) or {+-}size{KMGTP}:
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300):
Changed type of partition to 'Linux filesystem'

Command (? for help): p
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   8            2048       976773134   465.8 GiB   8300  Linux filesystem

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.
root@fvdwsl-base:/ # mke2fs -j -m 1 /dev/sdb8
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
30531584 inodes, 122096385 blocks
1220963 blocks (1.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
3727 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000

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

This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
root@fvdwsl-base:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby fvdw » Tue May 14, 2013 8:01 pm

see previous post for next step
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 10 guests