Page 1 of 1

Raid problem (B3 and S1)

Posted: 09 Dec 2012, 13:09
by snipes19
Hi,

i try to install a raid-system with my B3 (2TB) together with an eSata S1 (2TB).
I installed my B3 from scratch and updated the firmware to the version 2.5.1.2.
After connecting the S1 via eSata i tried to build the raid.

After approx 60% of the setup this message appears:

Code: Select all

Caught error: Error: Operation failed in command /usr/sbin/diskmanager disk format /dev/md0 ext3 at /usr/lib/web-admin/diskdaemon.pl line 832. 
Both disks, the internal and the external are deleted so i have to install my b3 again.

What's going wrong? What can i do?

Regards,
Michael

Re: Raid problem (B3 and S1)

Posted: 09 Dec 2012, 17:15
by nobody
Its really strange that the master disk got corrupted, especially because the mirroring is done on a partition base, not on a disk base. Can you confirm the whole disk is buggered?

Re: Raid problem (B3 and S1)

Posted: 10 Dec 2012, 05:22
by snipes19
The operating system is still running, i can access the system. The web-interface shows error-messages. Some directories on the internal disk have been deleted and the raid-setup is stopped during installing...

Re: Raid problem (B3 and S1)

Posted: 12 Dec 2012, 13:37
by nobody
So the disk is ok, but the partition is deleted. Are you able to log into the ssh shell? If so, can you show the output of these commands?

Code: Select all

mount
Cat /proc/mdstat
mount -a

Re: Raid problem (B3 and S1)

Posted: 14 Dec 2012, 04:55
by snipes19
here's the output after attemting to build the raid:

Code: Select all

root@b3:/# mount
/dev/sda1 on / type ext3 (rw,noatime)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)

mike@b3:~$ more /proc/mdstat
Personalities : [raid0] [raid1]
unused devices: <none>

Re: Raid problem (B3 and S1)

Posted: 15 Dec 2012, 10:14
by nobody
you did not run the 3rd line

Re: Raid problem (B3 and S1)

Posted: 16 Dec 2012, 05:55
by snipes19
i did run the 3rd line

Code: Select all

mount -a
there was no output at all, nothing changed

Re: Raid problem (B3 and S1)

Posted: 16 Dec 2012, 07:12
by nobody
Odd, does that mean there is no mount line in /etc/fstab for /home? How did you log onto the b3 without /home being available? Are you booting from a rescue usb?
Can you post the content of /etc/fstab? And maybe also those of 'lvdisplay'' as well? Sorry this takes so long, debugging through a forum is tedious with many questions giving unhelpful results from the system...

Re: Raid problem (B3 and S1)

Posted: 17 Dec 2012, 10:34
by snipes19
hi nobody,

good news, now the raid is working.
i found following information:
http://wiki.excito.org/wiki/index.php/U ... _3TB_disks

After installing this bootloader-fix, i installed my b3 once more from scratch (firmware 2.4.1.1)
Now the raid was build successfully. After installing the raid, i upgraded to 2.5.1.2 - it seems to work :D

:?: Maybe there is a problem to install the raid with the firmware 2.5.1.2?? :?:

After installing the bootloader-hotfix i tried the following way 3 times:

- install from scratch with 2.4.1.1
- upgrade to 2.5.1.2
- setup raid-system via web-interface
- installation failed

this works:
- install from scratch with 2.4.1.1
- setup raid-system via web-interface
- upgrade to 2.5.1.2
- successfull raid installation

Many thanks for your help !!!!!
Regards, Michael