I have a Zyxel NSA325v2 and finally made it trough the u-boot hasle. Installed with success Openwrt on it. So now i want to mount sda2 to /mnt/Volume1 but i get an error.
I made a folder /mnt/Volume1
cmd i used: mount /dev/sda2 /mnt/Volume1
Error: mount: mounting /dev/sda2 on /mnt/Volume1 failed: Invalid argument
I just did, but it is not completely clear to me. I don't want to loose the data on it. So i don't want to make new partitions or wipe it.
What is the action i have to perform to be able to read the disc again?
Fix the partition table??
sda was always in the NAS, but i copied everything to the sdb disc before the uboot and openwrt conversion. I can't remember what filesystem i formatted the disc before it went in the nas...
root@NAS:~# mdadm --examine /dev/sda2 /dev/sdb2
/dev/sda2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : b246bfb6:3c387062:2af1d298:d94be6dc
Name : NAS:0 (local to host NAS)
Creation Time : Tue Jan 9 09:28:22 2018
Raid Level : linear
Raid Devices : 1
Avail Dev Size : 5859530752 (2794.04 GiB 3000.08 GB)
Used Dev Size : 0
Data Offset : 2048 sectors
Super Offset : 8 sectors
Unused Space : before=1968 sectors, after=0 sectors
State : clean
Device UUID : fb121774:6bc9a26a:dc1f86ed:d4af521c
Update Time : Tue Jan 9 09:28:22 2018
Checksum : 6ce3707f - correct
Events : 0
Rounding : 0K
Device Role : Active device 0
Array State : A ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c2c9e5b9:322e5605:065c0579:f6b0744a
Name : NAS:1 (local to host NAS)
Creation Time : Fri Jul 9 18:50:49 2021
Raid Level : linear
Raid Devices : 1
Avail Dev Size : 1952489857 (931.02 GiB 999.67 GB)
Used Dev Size : 0
Data Offset : 2048 sectors
Super Offset : 8 sectors
Unused Space : before=1968 sectors, after=0 sectors
State : clean
Device UUID : 1c3a962b:63a3cde8:e1690aad:88d2f75f
Update Time : Fri Jul 9 18:50:49 2021
Checksum : bdcb8f76 - correct
Events : 0
Rounding : 0K
Device Role : Active device 0
Array State : A ('A' == active, '.' == missing, 'R' == replacing)
You can't mount the volumes before the arrays are assembled. Were the packages kmod-md-raid0 and blockd already installed when you tried to assemble them?
Else retry.
root@NAS:/mnt$ ls -l /dev/md/0
ls: /dev/md/0: No such file or directory
How do i assemble them? That part i did not do i guess..?
kmod-md-raid0 i did not install myself, but blockd i did because i read some stuff about it on the forum and that was recommended.
It annoys the hell out of me that i cannot get to my files!?
After all the shit i gone trough to finally get the uboot installed and now such a simple thing as mounting my drives and browse trough my files i cannot solve?!!
Is it an option to put the drives into an external usb bay and solve this on my linux pc??