Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Reinstall B3 failing

Got problems with your B2 or B3? Share and get helped!
Post Reply
paapereira
Posts: 10
Joined: 02 May 2011, 17:14

Reinstall B3 failing

Post by paapereira »

I'm trying to reinstall B3 (after ssh and web access stopped working) and I'm having a lot of trouble.

I followed the instructions on the wiki (http://wiki.excito.org/wiki/index.php/Rescue_System) and got all my files out (DO_INSTALL=0).

But when I tried to reinstall the system (DO_INSTALL=1) I'm getting the following errors. Is my 2 weeks old B3 hard drive failing already?

Also, some times I'm able to boot with the USB stick and other times don't.

I've tried many things now :(

Can I install B3 manually? Create the default partitions, etc..
Check if we have an old lvm disk
--- Logical volume ---
LV Name /dev/bubba/storage
VG Name bubba
LV UUID Qn13Uk-Uwr9-33vP-HyN9-OJxI-WbO2-TC3WQe
LV Write Access read/write
LV Status NOT available
LV Size 454.76 GB
Current LE 116418
Segments 1
Allocation inherit
Read ahead sectors auto

Check if we an old raid disk
Reading external config
Fixing umask
Check for preinst script
No preinst script available
Setting date/time
Connecting to http://www.excito.com (194.236.32.217:80)

- 0% | | 0 --:--:-- ETA
- 100% |*******************************| 12 --:--:-- ETA
Sun May 1 19:21:00 MDT 2011
Possibly reduce lvm if degraded
Volume group "bubba" is already consistent
Removing existing lvm
Logical volume "storage" successfully removed
Volume group "bubba" successfully removed
Labels on physical volume "/dev/sda2" successfully wiped
LVM removed
No raid devices detected
Partition disk
Warning: The resulting partition is not properly aligned for best performance.
Create volume
Physical volume "/dev/sda2" successfully created
Volume group "bubba" successfully created
Logical volume "storage" created
Format system disk
tune2fs 1.41.11 (14-Mar-2010)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Formatting lvm data partition
ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir
tune2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/mapper/bubba-storage
Couldn't find valid filesystem superblock.
tune2fs 1.41.11 (14-Mar-2010)
Create swapspace
Setting up swapspace version 1, size = 1073737728 bytes
mkswap: short write
Install root filesystem
mount: mounting /dev/sda1 on /mnt/disk failed: Invalid argument
mount: mounting /dev/mapper/bubba-storage on /mnt/disk/home failed: Invalid argument
tar: write error: No space left on device
Creating missing devicenodes
mknod: dev/sda: No such file or directory
mknod: dev/sda1: No such file or directory
mknod: dev/sda2: No such file or directory
mknod: dev/sda3: No such file or directory
mknod: dev/sda4: No such file or directory
mknod: dev/sdb: No such file or directory
mknod: dev/sdb1: No such file or directory
mknod: dev/sdb2: No such file or directory
mknod: dev/sdb3: No such file or directory
mknod: dev/sdb4: No such file or directory
mknod: dev/ttyS0: No such file or directory
mknod: dev/rtc: No such file or directory
Check for postinst script
No postinst script available
Umount home install partition
umount: can't umount /mnt/disk/home: Invalid argument
Umount system install partition
umount: can't umount /mnt/disk: Invalid argument
Umount usb storage
umount: can't umount /mnt/usb: Device or resource busy
Install done
Reboot into new system
DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: Reinstall B3 failing

Post by DanielM »

Sounds to me your disk is simply broken. Might have been manufactured on a monday. First thing I'd try is put the drive into another computer and see what it says about it.

/Daniel
paapereira
Posts: 10
Joined: 02 May 2011, 17:14

Re: Reinstall B3 failing

Post by paapereira »

DanielM wrote:Sounds to me your disk is simply broken. Might have been manufactured on a monday. First thing I'd try is put the drive into another computer and see what it says about it.

/Daniel
Need to physical remove the drive right? I'm need to get myself the proper tool...
Last edited by paapereira on 03 May 2011, 17:36, edited 1 time in total.
paapereira
Posts: 10
Joined: 02 May 2011, 17:14

Re: Reinstall B3 failing

Post by paapereira »

Still don't have my B3 working :( I believe the hard drive is dead (?).

The problem seems to be in the lvm partition (/dev/sda2). I manage to boot with a recovery usb stick and remove and recreate the lvm partition. It's when I'm trying to format the partition that the error occurs.

Code: Select all

lvremove -f /dev/bubba/storage
vgremove -f storage  
pvremove -f /dev/sda2

pvcreate /dev/sda2
vgcreate bubba /dev/sda2
lvcreate -l 116416 bubba -n storage
mkfs.ext3 /dev/bubba/storage
ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Reinstall B3 failing

Post by Binkem »

The LVM partition would be a second attached HDD. Do you have one connected? and how do you have this connected?
paapereira
Posts: 10
Joined: 02 May 2011, 17:14

Re: Reinstall B3 failing

Post by paapereira »

Binkem wrote:The LVM partition would be a second attached HDD. Do you have one connected? and how do you have this connected?
No. I only have the HDD that came with B3.

From what I saw it has 3 partitions:
/dev/sda1 - for the system install
/dev/sda2 - the LVM for the storage
/dev/sda3 - for the swap

I'm trying to reinstall the B3 default system. Although I can't see the install script (can I?) the first steps seem to be the creation of said partitions. And it's when it tries to create the LVM one that the error occur.
I tried to create the partition manually I had the same error.
I've email excito support 2 times, but still haven't got an answer. I think the hard drive is dead... I have the B3 for 2/3 weeks... And one of them I was on vacations... :(

I'm searching for badblocks on the partition, but it's been running all night and I don't know if it will help or not.
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Reinstall B3 failing

Post by johannes »

Replied on the support now, looks like a broken disk. Apologies for the slow support response, won't happen again!
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Post Reply