fvdw wrote:your forget to upload and run udevstart
Actually I didn't. When assembling a raid array the role is read from the headers, and so the sequence as given to mdadm isn't important anymore. Fortunately. You can get the disks out and shuffle them, and still the array will assemble without problems.
I wrote a script, as attached.
/Edit: I was not yet ready, but hit submit, somehow.
Upload mdadm, udevstart and the tgz file. Run udevstart, extract the tgz file. The script generate_checksums.sh will daemonize and put 7 files in the current directory, abcd.txt. abce.txt, ... and stdout.txt and stderr.txt.
So you can create a directory, and run it from there:
- Code: Select all
mkdir /testdir
cd /testdir
/path/to/generate_checksums.sh
I have no idea how big the files can get. Especially stderr.txt. It is possible that some incarnation will give file system errors, in which case the file could be huge. I *think* it will fit in the 512MB memory, but maybe you'd better mount an usbstick (I suppose the kernel supports FAT), and run it from there. It has also the advantage that you won't loose already completed incarnations on a spontaneous reboot.
In case of a spontaneous reboot the script has to be changed a bit, to omit the already completed incarnations.
The script daemonizes, which means you can close the telnet session. The script should just continue working.
Oh, and on start the script expects the raid array to be not assembled.
/Edit2: Don't start this before you're done copying.
Check if md5sum is available, before starting.
You do not have the required permissions to view the files attached to this post.