by psychokiller » Thu Apr 23, 2020 10:04 am
$this->bbcode_second_pass_quote('', 's')ummers wrote:
So why do you have both a NSA320 and NSA325 box? Thats alot of NAS ....
I found them on Ebay in 2019 for a few quids (around 40/50 euro each except shipping), both in great shape. I wished to upgrade a couple of Dockstars I use for few things at home and wish to have a backup so that if any device fails I have another to swap in quickly. I am actually after another NSA325
if anyone happen to have it laying around unused he/she can DM me, since NSA325 and 320 are not exactly the same and cannot be a true drop in replacement.
The final goal is to have them boot from USB and have the two drives in the sata slots to be in RAID1.
And well, I do not plan to actually use them as true NAS, but for home automation and the like...
$this->bbcode_second_pass_quote('', 's')ummers wrote:
Oh you say ext4 doesn't work - odd its what I have:
Yes, unfortunately ext4 does not work for me. I had:
- an 8gb USB key
- partitioned with parted with an msdos partition table
- created a primary partition 0%-100% to use up all the USB key space
- created an ext4 fs with mkfs.ext4 on the partition
- mounted it
- untar'ed
http://os.archlinuxarm.org/os/ArchLinuxARM-kirkwood-latest.tar.gz on the mounted ext4 fs
- sync'ed all
- inserted the USB key into a rear port on the NSA320 and booted
Here follows the output from UBoot, it seems it only looks for ext2 on the USB device... I actually tried the above procedure with n ext2 fs and NSA320 boots fine. The reason I would like to use ext4 is that ext2 is far more sensititive to power outages and would corrupt far more easily needing a manual fsck upon restart (otherwise it would panic).
$this->bbcode_second_pass_code('', '
U-Boot 2016.09.01-1 (Oct 10 2016 - 23:15:39 -0600) Arch Linux ARM
Zyxel NSA320
SoC: Kirkwood 88F6281_A1
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
MV88E1318 PHY initialized on egiga0
IDE: Bus 0: OK Bus 1: not available
Device 0: Model: ST2000VN000-1HJ164 Firm: SC60 Ser#: W524R1VT
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
Using egiga0 device
ARP Retry count exceeded; starting again
ping failed; host 10.10.10.5 is not alive
Hit any key to stop autoboot: 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: ST2000VN000-1HJ164 Firm: SC60 Ser#: W524R1VT
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
USB device 0:
Device 0: Vendor: Kingston Rev: PMAP Prod: DataTraveler 2.0
Type: Removable Hard Disk
Capacity: 7502.1 MB = 7.3 GB (15364416 x 512)
... is now current device
usb found on device 0
Checking for: /boot/uEnv.txt ...
Unsupported feature found (64bit, possibly metadata_csum), not mounting
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Unsupported feature found (64bit, possibly metadata_csum), not mounting
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Unsupported feature found (64bit, possibly metadata_csum), not mounting
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
No kernel found
USB device 1: unknown device
Device 0: Model: ST2000VN000-1HJ164 Firm: SC60 Ser#: W524R1VT
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
... is now current device
ide found on device 0
Checking for: /boot/uEnv.txt ...
** File not found /boot/zImage **
** File not found /boot/uImage **
No kernel found
Device 1: not available
Trying to boot from NAND ...
ubi0: attaching mtd1
ubi0: scanning is finished
UBI init error 22
Error reading superblock on volume 'ubi0:rootfs' errno=-19!
ubifsmount - mount UBIFS volume
Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
NSA320>
')