Raid problem (B3 and S1)

Got problems with your B2 or B3? Share and get helped!
Post Reply
snipes19
Posts: 5
Joined: 09 Dec 2012, 13:03

Raid problem (B3 and S1)

Post by snipes19 » 09 Dec 2012, 13:09

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

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: Raid problem (B3 and S1)

Post by nobody » 09 Dec 2012, 17:15

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?

snipes19
Posts: 5
Joined: 09 Dec 2012, 13:03

Re: Raid problem (B3 and S1)

Post by snipes19 » 10 Dec 2012, 05:22

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...

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: Raid problem (B3 and S1)

Post by nobody » 12 Dec 2012, 13:37

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

snipes19
Posts: 5
Joined: 09 Dec 2012, 13:03

Re: Raid problem (B3 and S1)

Post by snipes19 » 14 Dec 2012, 04:55

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>

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: Raid problem (B3 and S1)

Post by nobody » 15 Dec 2012, 10:14

you did not run the 3rd line

snipes19
Posts: 5
Joined: 09 Dec 2012, 13:03

Re: Raid problem (B3 and S1)

Post by snipes19 » 16 Dec 2012, 05:55

i did run the 3rd line

Code: Select all

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

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: Raid problem (B3 and S1)

Post by nobody » 16 Dec 2012, 07:12

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...

snipes19
Posts: 5
Joined: 09 Dec 2012, 13:03

Re: Raid problem (B3 and S1)

Post by snipes19 » 17 Dec 2012, 10:34

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

Post Reply