2Big Drive Image help

Post Reply
Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Tue Jan 31, 2012 11:54 am

Does initramfs drop a shell? It *might* help to execute

Code: Select all

echo -n "LaCieFirstBootLaCie" | dd if=/dev/stdin bs=1 seek=1536 count=20 of=/dev/sda
echo -n "LaCieFirstBootLaCie" | dd if=/dev/stdin bs=1 seek=1536 count=20 of=/dev/sdb
reboot
BTW, this will destroy all your data, so it's not suitable for data recovery.

tulliod
Posts: 8
Joined: Wed Jan 25, 2012 8:09 pm

Re: 2Big Drive Image help

Post by tulliod » Tue Jan 31, 2012 9:03 pm

This need for recognition by the 2big disks that are new?

tulliod
Posts: 8
Joined: Wed Jan 25, 2012 8:09 pm

Re: 2Big Drive Image help

Post by tulliod » Tue Jan 31, 2012 9:05 pm

else

putting the disc with the image that I have recovered from another 2big, I get this error.

Starting kernel ...

Uncompressing Linux ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ....

crc error

- System halted

may be because the image was of a 500 gb and I am using a 160 instead?
or what?

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Tue Jan 31, 2012 9:27 pm

This need for recognition by the 2big disks that are new?
Yes. There is an evil eeprom which contains the UUID's of the raid arrays. The box refuses to boot when the UUID's doesn't fit. Unless the disks are new, in that case the current UUID's will be written to eeprom, and a fresh, new raid array is made in the data partitions (erasing all data).
The box knows the disks are new by the given signature.
crc error

- System halted

may be because the image was of a 500 gb and I am using a 160 instead?
or what?
The error is that the kernel is damaged on disk. I don't think that has anything to do with the disksize. The donor of this kernel was a working 2Big?

tulliod
Posts: 8
Joined: Wed Jan 25, 2012 8:09 pm

Re: 2Big Drive Image help

Post by tulliod » Tue Jan 31, 2012 9:30 pm

yes, he says he has solved this.
which partition can be ruined

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Tue Jan 31, 2012 9:31 pm

Sorry, don't know what you mean.

tulliod
Posts: 8
Joined: Wed Jan 25, 2012 8:09 pm

Re: 2Big Drive Image help

Post by tulliod » Tue Jan 31, 2012 9:33 pm

yes, the image is of a functioning 2big
sorry but I do not speak English (google translator)

which partition may be faulty

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Wed Feb 01, 2012 8:18 am

The kernel is in sda6/sdb6

tulliod
Posts: 8
Joined: Wed Jan 25, 2012 8:09 pm

Re: 2Big Drive Image help

Post by tulliod » Wed Feb 01, 2012 6:39 pm

sorry to bother you again, but not very practical as you say I can solve this problem
===INITRAMFS: =======================================INITRAMFS==================
===INITRAMFS: Initializing filesystem
===INITRAMFS: Mounting /proc
===INITRAMFS: Mounting /sys
===INITRAMFS: Populating /dev
===INITRAMFS: Mounting /dev/pts
===INITRAMFS: Product ID = '2Big'
===INITRAMFS: minRaidDevices=2
===INITRAMFS: maxRaidDevices=2
===INITRAMFS: Waiting for the master disk to spin up
===INITRAMFS: Waiting for 1 to 1 disks to spin up
===INITRAMFS: We finally have 1 disks, updating /dev
===INITRAMFS: Found available BootFS partition: /dev/sdb7
===INITRAMFS: Normal boot, starting bootfs system array
mdadm: No md superblock detected on /dev/sdb7.
===INITRAMFS: Device '/dev/sdb7' is not valid. Select another one.
mdadm: No md superblock detected on /dev/sdb7.
===INITRAMFS: Device '/dev/sdb7' is not valid too. Select next one.
===INITRAMFS: Warning: No valid device for this product. A claim is necessary...
===INITRAMFS: =========FIND AND CLAIM A COMPATIBLE DEVICE=========
===INITRAMFS: Signature for device '/dev/sdb' = '2Big'
mdadm: No md superblock detected on /dev/sdb7.
mdadm: No md superblock detected on /dev/sdb8.
mdadm: No md superblock detected on /dev/sdb9.
mdadm: No md superblock detected on /dev/sdb2.
mdadm: No md superblock detected on /dev/sdb7.
===INITRAMFS: Device '/dev/sdb' has not active boot partition : REJECTED
===INITRAMFS: No valid bootfs found!

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Thu Feb 02, 2012 8:52 am

Wow. Google translate is doing a great job!

I suppose you changed the signatures on both disks? In that case, is this the second boot? As the signature is still (or again?) '2Big'.

Where did you get the contents of those disks? It seems the partitions doesn't contain any raid arrays. How did you prepare the disks?

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Thu Feb 02, 2012 8:17 pm

/########################
## Volunteer/victim needed ##
########################/

andreus kindly provided me image dumps of his 2Big. I prepared a set of recovery files, which can be found here.

You can use the direction for the reinstalling the 2Big2 (here) to prepare the disks.

Do not try this when your 2Big still works. When you prepare 2 new disks, and let the 2Big boot from it, the old disk will not be accepted anymore.

I tested the procedure for the 2Big2 on my own system, and it worked. I've had 1 report from some other guy with a 2Big2, and for him it failed. But at least 2 5Big2's are successfully recovered. (Well, not really successfully, it became 5Big2's which thought they were 2Big2's).

The procedure is untested for the 2Big. Yet. Now it's your turn.

PaiZaNo
Posts: 4
Joined: Tue Mar 27, 2012 9:43 am

Re: 2Big Drive Image help

Post by PaiZaNo » Tue Mar 27, 2012 9:57 am

ok, let me see if it's working on a 2Big.

victim ? u kidding me huh ? :?

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Tue Mar 27, 2012 6:47 pm

PaiZaNo wrote:u kidding me huh ? :?
:mrgreen:

PaiZaNo
Posts: 4
Joined: Tue Mar 27, 2012 9:43 am

Re: 2Big Drive Image help

Post by PaiZaNo » Wed Mar 28, 2012 11:45 pm

:? U can call me the rookie ! :mrgreen:

What's wrong ? As u can see, this is my first time with fdisk...

victim, :?
You do not have the required permissions to view the files attached to this post.

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Thu Mar 29, 2012 6:57 pm

PaiZaNo wrote:What's wrong ?
You are using an 'Advanced format' disk. This disk has physical sectors of 4k, while it exposes logical sectors of 512 bytes. For maximal performance an 'advanced format' disk should be aligned, which means that each partition starts on a 4k boundary.
Your partitions are not aligned, and fdisk is warning for it. You can just ignore it, I don't think you will notice the difference. (The disk will be slower, but the disk isn't the bottleneck in a NAS like this. The maximum performance is limited by the CPU on maybe 25MB/sec, while the disk could do 100MB, when aligned.)

Post Reply