Successfully upgraded hdd on my NS2

Successfully upgraded hdd on my NS2

Postby Wizor » Mon Dec 30, 2024 2:15 am

Hey all, registered here earlier today in search of information and stuff.

I've had this 1TB NS2 for quite some time and got a spare WB 2TB drive so i though why not upgrade the little box.
Thought it should be easy to just rip the old drive out, mirror them and then grow the big XFS partition to fit the new one... hah.

Seems i didn't have correct xfstools or anything and i tried on couple of different PartedMagic versions and on Linux Mint booted from USB stick. So the growing part didn't work since i couldn't even mount the damn partition.
Checked then that the new drive boots ok and it did. No option in Lacies webinterface to grow the partition and i wouldn't dare to press the format-button. My firmware at the moment is 2.2.12.2. Probably the latest since i have autoupdate on. Anyways since it still showed even the drive size incorrectly i ripped the drive out again and then just "stretched" the partition to fit the drive with fdisk without touching the XFS stuff. After that the size in webinterface is still informed wrongly so something else must be done.

So decided that i'd not yet try the custom firmware you're making and instead try and root the lacies firmware and since that had been achieved years ago. Well lacie has been patching those, but there was still one trick that almost worked and after an hour of pondering i managed to edit the shadow file and default.runlevel and after a reboot ssh to port 2222 worked!

Since i had already stretched the partition to fill the drive:

[root@NetworkSpace2 ~]# cat /proc/partitions
major minor #blocks name

31 0 512 mtdblock0
8 0 1953514584 sda
8 1 1 sda1
8 2 1951506458 sda2

It was just simple to
[root@NetworkSpace2 ~]# xfs_growfs /dev/sda2
....
data blocks changed from 243687968 to 487876614

after:
/dev/sda2 929.5G 917.9G 11.6G 99% /shares/OpenShare
before:
/dev/sda2 1.8T 917.9G 943.1G 49% /shares/OpenShare

[root@NetworkSpace2 ~]# uname -a
Linux NetworkSpace2 2.6.31.14-svn6790 #1 Fri May 29 23:10:26 UTC 2015 armv5tel GNU/Linux

I know it's old hardware, but still has been working as a small backupspace so maybe it'll keep humming in the desk for years to come :)
And now that i got to know it much better (had time this xmas) i'll be looking to install your firmware there too! If it's safe for the data in the drive.
Better get some sleep. 4am.
Wizor
 
Posts: 2
Joined: Sun Dec 29, 2024 11:39 pm

Re: Successfully upgraded hdd on my NS2

Postby fvdw » Wed Jan 01, 2025 10:37 pm

If you install our firmware on a disk with kacie firmware and data all that will be lost as we use a different partition setup
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Successfully upgraded hdd on my NS2

Postby Wizor » Sat Jan 04, 2025 1:11 am

fvdw wrote:If you install our firmware on a disk with kacie firmware and data all that will be lost as we use a different partition setup


Yeah, thanks for the heads up! Figured that might be the case when reading the installation intructions. Haven't had a look yet if the stock fw can do NFS, but there's still a few days left before going back to work and that diminishes my free time quite a lot. Root access helps a lot. I do have a bigger NAS with enough space to relocate the files via samba if need be.

One more beer for this evening :beer:
Wizor
 
Posts: 2
Joined: Sun Dec 29, 2024 11:39 pm


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 7 guests