Jocko wrote:So fs on your raid is corrupted and you need to repair it.
read the other posts (still in the same topic viewtopic.php?f=26&t=1574&start=40#p19163) about xfs_repair.
No fs on your Lacie NAs is xfs and not at all ext3. How do I know for sure that its xfs and not ext3, etc? That question came up in that thread as well. I didn;t see where/how to tell
I don't see how to reference a particular post but on page 6 of that the thread you referenced. But, second to last post on that page, fvdw posted:
fvdw wrote:--edit see here how to use xfs_repair xfs-repair info
Running it with option -n will do only a check.
Ps you will need to install also the package glibc-mini-mkfs.xfs-25feb14 to be able to use xfs-repair
Uploud the tar archive in the glibc-mini...zip file to the 5big2 via telnet terminial and extract it.
Then after that upload the file xfs-repair in the xfs_repair.zip file and place it folder /usr/sbin and make it executable.
Now you should be able to use xfs-repair
In order to upload these files do I do?
- Code: Select all
tftp -l glibc-mini-mkfs.xfs-25feb14.tar -r glibc-mini-mkfs.xfs-25feb14.tar -g ip-pc
tftp -l xfs_repair.tar -r xfs_repair.tar -g ip-pc
These files are already included with the fvdw-sl console version 5.5.Do I need to do anything first with the drives before this? Dismount or anything? Don't want to mess this up.
No do nothingAlso, is there a reason not to first try (saw this online with something else):
- Code: Select all
mdadm --stop /dev/md4
if you stop the raid you can not check its fs later!Then run the command you gave me before:
- Code: Select all
mdadm --assemble --force /dev/md0 /dev/sda2 /dev/sdb2 /dev/sdc2 missing /dev/sde2
To see if it builds the raid5 array using the 4 out of 5 disks instead of what appears to now be only 3 out of 5 disks that currently make up md4, that I currently had assembled? Unless I am reading it wrong.
I made an error previously: missing option can be used only when your create a raid. So the right command is - Code: Select all
mdadm --assemble --force /dev/md0 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sde2
Please not to try several times to disassemble/assemble your raid :disapprove