According to me, first step you need to take is create an automated Lacie NS2 reformatting bash script with this command.
Code:
./reformat_ns2 /dev/sda
Code:
#!/bin/bash
echo "Installing mbr"
echo "--------------"
dd if=mbr of=$1
echo " -> DONE"
echo "Formatting HD (1/2)"
echo "-------------------"
fdisk $1 >/dev/null <<EOF
d
10
d
9
d
8
d
7
d
6
d
5
d
2
w
EOF
echo " -> DONE"
echo "Formatting HD (2/2)"
echo "-------------------"
fdisk $1 >/dev/null <<EOF
n
p
2
n
l
32
t
5
82
n
l
33
n
l
34
n
l
140
n
l
249
n
l
w
EOF
echo " -> DONE"
echo "HD formatted!"
echo "-------------"
fdisk $1 <<EOF
p
q
EOF
echo "Downloading partition images"
echo "----------------------------"
wget "http://downloads.lacie.nas-central.org/Users/Mijzelf/Networkspace2/1.0.2/sda6.gz"
wget "http://downloads.lacie.nas-central.org/Users/Mijzelf/Networkspace2/1.0.2/sda7.gz"
wget "http://downloads.lacie.nas-central.org/Users/Mijzelf/Networkspace2/1.0.2/sda8.gz"
wget "http://downloads.lacie.nas-central.org/Users/Mijzelf/Networkspace2/1.0.2/sda9.gz"
wget "http://downloads.lacie.nas-central.org/Users/Mijzelf/Networkspace2/1.0.2/sda10.gz"
echo " -> DONE"
echo "Installing partition images"
echo "---------------------------"
gzip -dc sda6.gz | dd of=${1}6
gzip -dc sda7.gz | dd of=${1}7
gzip -dc sda8.gz | dd of=${1}8
gzip -dc sda9.gz | dd of=${1}9
gzip -dc sda10.gz | dd of=${1}10
echo " -> DONE"
echo "Make swap partition"
echo "-------------------"
mkswap ${1}5
echo " -> DONE"
echo "Format partition 2"
echo "------------------"
apt-get install xfsprogs
mkfs.xfs ${1}2
echo " -> DONE"
so after creating automated Lacie NS2 reformatting bash script you will eb able to reformat your Lacie NS2 and make some testing, you will find this useful as many users have sorted out such issues after reformatting Lacie NS2.
Bookmarks