Successfully upgraded hdd on my NS2

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.
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.