Ubuntu Servers :: 10mins To Boot After Rebuilding A R5 Partition?
Jan 19, 2010
I have/had a working system that took maybe 20seconds to boot. However due to an oops with hardware (power cable fell out) I lost 2 disks in a raid5...so I had to rebuild it, now the new partition wont mount on boot and it takes 180seconds Plus to get a control-d prompt. If I remove the mount from fstab and reboot and then mount manually after a normal boot its perfect and works....so it appears something in the boot/mount process is confused....
The q is where do I start looking to fix this?
I suspect its the LVM looking at the ext4 system and getting upset that its isnt LVM'd? Is that possible? The original partiton was /dev/i2o/hda1 and was not lvm'd and neither is the new....so i dont see why.. multiple 180 second timeouts!
View 2 Replies
ADVERTISEMENT
Nov 21, 2010
through a series of mistakes i have managed to take a working system and make it unable to boot. my two objectives right now are to back up my data, and to make my system bootable. here's how i got here. i used the Upgrade Manager to upgrade to 10.04 thinking it would solve a problem i was having with my previous installation. when that had completed i found I was unable to boot into 10.04. The system would hang after echoing the message "checking battery state." I attempted to rebuild my grub file, thinking this would solve the 'battery state' problem. this was a mistake. I ended up deleting it, and now there's no menu.lst file in its place.
currently when i boot up normally (i.e., with no Live CD) I automatically go into the rescue mode. so far i haven't managed to enter a command that rescue mode recognizes. alternatively, i can boot from the installation CD for Ubuntu 10.04. per this page: [URL] I take these steps:
1. boot from the installation CD.
2. go into terminal
3. type these commands:
[Code]....
View 9 Replies
View Related
Dec 6, 2010
I am building a 10.04.1LTS server. I am putting the /root filesystem into a Software RAID1 partition. I want to keeo my /boot partition outside of RAID.Is there a way to have a boot partition on both sda and sdb so if one drive fails the second boot partition will work away - or should this be kept in with RAID also.
View 6 Replies
View Related
Aug 9, 2011
I have been working in my spare time over the last few days, Had problems with the whole grub2 not installing on RAID 1. Then I found out that I had to have a separate non raid Ext4 partition on one drive with "/Boot" as mount point and install went though fine.
My question is, will the developers FIX this. I mean if I only have 2 x 2tb drives in teh pc as RAID 1, and the one fails with the boot partition the whole machine goes down. Kinda defeats the whole RAID feature huh.
I USED to run a windows network with RAID 5 servers, and windows never had a problem installing everything on the RAID. Or even setting up RAID 1 in the bios on the PC and installing XP or NT4 on the RAID 1. There was never a need for a separate non raid boot partition.
Do we need a separate RAID friendly/enabled Grub? I guess for now I will get a 250gb drive and install the Server OS to it, and setup RAID1 manually after the server OS boots. Then will make a ghost type image of the server in case that drive fails so I can quickly install a new drive and restore the image and get it back up and running again.
View 9 Replies
View Related
Aug 2, 2011
I have an ML570 G4 with a P400 array card. Ubuntu server 10.04. I added more drives and extended the size of the partition to 2048gb. Now on boot I get Grub Error 18. The live cd sees the partition I just cannot boot it. I've googled around quit a bit,but have not found much that is relevant. I believe I am going to be adding a smaller boot partition to the beginning of the drive to fix this
View 2 Replies
View Related
May 21, 2010
I am trying to install a box here where my /storage partition is about 2.5T.I had setup the partitioning with suse, while testing, and all worked well.Now when trying to install CentOs 5.5 it gives me an error, that my boot partition is on a gpt partition and this machine cannot boot that.Also I don't see the option to create XFS partitions from the installer.Can 5.5 support GPT @ install time?
View 1 Replies
View Related
Mar 23, 2010
I have Ubuntu server 8.04. I have 4 hard drives of 149Go each. Size of a mounted partition is smaller thant the partition itself :
- first drive is the system
- I mounted the 2nd drive (ext3) on a folder, but the Size is 941.89 MB instead of 149Go
- same for drive 3 monted on another folder, but the Size is 941.89 MB instead of 149Go
View 2 Replies
View Related
Jan 6, 2011
I need to rebuild a kernel module and I'd like the module to be compatible with the ubuntu distributed kernel.I tried something along these lines:
* get the sources via: apt-get source linux-image-2.6.35-24-generic
* cd to the unpacked (and patched, I believe) directory: cd linux-2.6.35
* take kernel config that I'm currently running (I'm running 2.6.35-24-generic): cp /boot/config-2.6.35-24-generic .config
* build the module I care about: make drivers/usb/class/usblp.ko
The module is built, but when I try to load it, insmod fails and I see this in dmesg: usblp: no symbol version for module_layoutI tried to generate the kernel config via debian/rules genconfigs, which resulted in the same config file (with the exception of the local version string). I tried building some other modules and loading them, but I always get that error on loading.
View 4 Replies
View Related
Jun 15, 2010
I had run out of space on a 30GB raid1 partition so I rebuilt it as I had three 30GB partitions on a pair of 120GB drives. I stopped the array and used gparted to create a single 120GB partition on one of the disks. I then copied the data from all three partitions on the other drive onto this newly cleared space, before zapping that too. So I now had two drives with identical single partitions, one of which had all my data and lots of space. I used mdadm to create a new array from the two disks, which looked good. It immediately started to resync the data onto the second drive. However, when I tried to mount the new array this is what I get:
Code:
bob@zaphod:~$ sudo mount -t ext4 /dev/md0 /media/raid/
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or helper program, or other error
[code]....
I can mount the drives independently and GOOD NEWS the data is there! However, how can I get round this problem and mount the raid array.
View 7 Replies
View Related
Sep 16, 2010
This isn't exactly Ubuntu specific, but I do plan on using Ubuntu to try to recover this array. I've been using a Freedom9 freestor 4020 for the past few years and other than it totally blowing up last week it's been pretty good. I was on vacation for almost a month and a few days after I returned my NAS (freestor 4020) started acting up. I tried a few power cycles, but was dismayed to see that I could not log in via browser or SSH (SMB shares were no accessible either). A drive failure light is supposed to illuminate if a disk fails, but no dice.
I plugged all 4 drives from the NAS into an Ubutnu 9.04 Desktop system and one started throwing out all kinds of errors. Thinking that it would be a simple rebuild, I went to my local computer shop and picked up another 500GB drive (same manufacturer/part #), replaced the failed drive, and powered up the NAS again... Nothing. I left it for 12 hours then powered it down, plugged the new drive into my linux box again to see if it rebuilt... the drive was a virgin. What gives me hope that I can still recover the data is Ubuntu sees "RAID components" on the drives (through disk manager and parted), and gives me the option of initializing the array.
My plan of attack is to plug all of the drives back into my Ubuntu box, initialize the RAID array via LVM, and pretty much hope for the best. The data is not uber critical, but it would be a pretty big pain in the behind to rip/upload all the software that was on it (ripping hundreds of DVD/CD images is not fun). If my Ubuntu box can make sense of this newly initialized/mounted RAID set... I'll plug in a 2TB external drive, copy the data over, and rebuild the NAS from scratch, then put my data back on (perhaps a different unit, or something running openfiler).
View 2 Replies
View Related
Jul 2, 2011
i had installed fedora 14 into my new hardisk(1500gb) as new server the problem is how can i use the fdisk to partition the hardisk into two partition.
View 10 Replies
View Related
Nov 25, 2010
After installing openSUSE 11.3 (retaining my old /home) and attempting to upgrade to KDE 4.5, failing to get KDE to run, downgrading to 4.4 I've now got nothing in the KDE Application menu.
[Code]...
View 5 Replies
View Related
May 27, 2010
It appears the liblphp.so and liblpssl.so files that have been added to /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ and the php.ini are 32 bit libraries. This is preventing them from loading as PHP and it's other modules are all built as 64 bit libraries. To resolve this error, I would recommend re-building the libraries as 64bit. Most likely this can be done using Easyapache to re-build PHP (and Apache) to support these modules. Additionally, libcrypto and libssl are on the server in /usr/lib/ folder. However, they are 64bit libraries which may not work on the 32bit .so files you have provided.
View 3 Replies
View Related
Aug 18, 2010
so i built my computer with a 32 bit system and I was wondering if it might run on a 64bit. how can i tell and how do you upgrade to a 64?in aix i can just relink the /unix file to a 64bit file and reboot.oh ya do i gain that much by going to a 64bit system? this will be a mail and www and may be a spacewalk system may be use it as a media system too to serve up my mp3/dvd or store them. home system not work related.
View 8 Replies
View Related
Feb 1, 2010
I started out with a RAID 0 of 3x 500GB drives. Partitioned to a 200gb Windows 7 install (plus the 100mb partition), a 50gb partition I was going to use for Ubuntu 9.10, and the around 1081GB NTFS storage partition. It wouldn't work, I tried a bunch of things, EasyBCD, ect, rebuilding grub, and everything else... wouldn't work for me. So I gave up, backed up everything and then rebuilt my RAID into to "separate" drives so that I could just change the booting drive depending on the flavour of frustration I was looking for at the time. Installed W7 back, installed Ub9.10 back. Windows loaded through it's drive fine. Ubuntu will not freaking load. So I ran a script I found laying around on one of the many.... MANY posts I read and will attach the outcome.
[Cide]...
View 4 Replies
View Related
Jul 11, 2011
I'm hoping, now that I've recovered my partition tables, how to rebuild my LVM volume group. The trouble is that one of the volumes lost its partition table, and after rebuilding the table, LVM can no longer identify the drive. I'm trying to rebuild the 'fileserver' volume group.
pvscan produces the following:
Couldn't find device with uuid 'jsZAMq-LSa1-87Zb-WoGs-oi6v-u1As-h7YZMl'.
PV /dev/sdc5 VG dev lvm2 [232.64 GiB / 0 free]
PV unknown device VG fileserver lvm2 [1.36 TiB / 556.00 MiB free]
PV /dev/sda1 VG fileserver lvm2 [1.36 TiB / 556.00 MiB free]
Total: 3 [2.96 TiB] / in use: 3 [2.96 TiB] / in no VG: 0 [0 ]
View 2 Replies
View Related
Jul 17, 2009
I have a 9x320G RAID5 array that I am migrating over to a 3x1.5T RAID5 array.Intermittently, a drive would drop out of the older array and it would automatically start rebuilding. I thought it was a bad cable or controller somewhere, so when I bought the three new drives, I bought a new controller for them all, too. I'm running both arrays side by side until I'm happy the new hardware is stable (one drive was DOA). Then I noticed one morning that both arrays were rebuilding themselves. This was in /var/log/messages:
Quote: Jul 5 00:30:19 mnemosyne -- MARK --
Jul 5 00:50:19 mnemosyne -- MARK --
Jul 5 01:06:02 mnemosyne kernel: md: syncing RAID array md0
[code]....
View 4 Replies
View Related
Dec 24, 2009
If I compile the kernel once fully and if I wan't to make a minor change how do I do that without having to go through the whole recomiliation? Commands like "rpmbuild -bb" and "make rpm" seem to recompile everything but it should just compile the changes I made.I'm using Fedora 12 with the latest stable kernel.
View 11 Replies
View Related
Jan 17, 2010
I was unable to boot my computer because bad blocks in my drive 'appeared' over my current and most used partition, for 9.10. I discovered there were 101 bad blocks on the drive, so I called western digital and had them send me a new one. In the meantime, running fsck on the drive managed to sort out the bad blocks for the time being. The replacement drive arrived on Friday, and since then, I've been trying to clone my current drive to the replacement. Using Clonezilla, I kept getting the error "bad partition table on /dev/sdb". Alright, I tried a bit-by-bit transfer using dd, but for some reason, the transfer fails on the last partition, leaving the replacement drive unbootable. What do you think I should do? Does it sound likethet sent me another faulty drive, or am I just doing something stupid? I've copied my drive before, but ive never had these problems- i just popped in Clonezilla and away it went.
I'm really leary about this drive, I have many important files for school and TONS of music. The school files, I can back up, and the music could be shuffled to another external drive, but I reallydo no want to go through all of the time and effort to move it to a new drive that may already be failing. Does anyone know what I should do? Is there some way to test the 'health' of the drive before I spend hours rebuilding my filesystem?
View 3 Replies
View Related
Apr 20, 2011
using onboard windows disk management i have made 75gb unallocated to add to the aforementioned ntfs data partition. but, after resizing extended partition, will i need to fix grub even though i will be adding the unallocated space to a storage partition and not the ubuntu boot partition?
View 4 Replies
View Related
Jul 13, 2011
I have been able to successfully build a live Linux CD, the problem is during the course of setting up my new linux instance on my latop I had to install a few items (intel drivers). So got all the files and everything worked after manually installing, but wanted to try to rebuild the CD with all the files in the CD, rather than having to use a USB drive to put the file onto my laptop. When I made the changes to the configuration that I previously used(just edited the chroot file and did lh_build again) nothing happened the binary was no rebuilt. So some questions: If I am wanting to add files into a live CD build how do I do this? How do I rebuild a CD? or Is it possible? (i.e. I have to continually start from scratch each time).
View 2 Replies
View Related
Jan 2, 2011
Here are 2 questions
1.In the last line of the debian kernel handbook 4.2.2 Applying patches
It is possible to apply extra patches to the source before starting the build. First, you should apply the existing patches by running:
You will then find the patched source in the subdirectories debian/build/source_arch_none (default) and debian/build/source_arch_featureset (featuresets added).
You should apply the extra patches in the appropriate subdirectory. where can I find the "extra patchies" and how to do?
2.Even though More than 8 hours have passed, 4.2.3 Building many packages
To build all possible packages for this architecture, run:
To build all architecture-dependent packages, run:
To build all architecture-independent packages, run:
The 1st command still working. what is the all possible packages? and what I am doing?
I am just trying to rebuild debian linux kernel 2.6.26-2, Did I misunderstand?
View 3 Replies
View Related
Sep 2, 2009
I've got a mailserver set up in a raid1 array.I shut down the system to install a CD-ROM drive but forgot to change the master/slave settings (I know, don'tt say anything) and didn't realize it before Centos started booting up, so it booted the hdc drive from the array.I rebuilt the array using mdadm without any apparant issues but on subsequent bootup, I get the following error :
kernel: hdc: dma_intr: status=0x51 { DriveReady SeekCompleteError }
kernel: hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
kernel: ide: failed opcode was: unknown
[code]....
There doesn't seem to be any side effects to this but since that didn't happen prior, I figure there's probably something I didn't do properly since I'm fairly new to the linux world.My raid array was originally set up by the Centos instal software and is set up like this :
hda1 + hdc1 = md0 (boot)
Hda3 + hdc3 = md2 (/)
The other partitions are of the same size on each drive and are swap partitions.
PS : The drive is SMART capable and no errors appear during a self-test.
edit : Clonezilla also fails to boot properly although I don't know if its due to a software raid array in the first place or the errors in the filesystem. When only one drive was detected because of the jumpers, it booted properly.
View 2 Replies
View Related
Mar 9, 2010
is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?
View 4 Replies
View Related
Jun 24, 2011
When I installed Ubuntu on my system (a year or so ago) I forgot to add a BIOS Boot Partition. This is something of a problem considering that the partition type for my 2TB drive is GPT. Hence, whenever grub is updated I get a warning:
Code:
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged..
Installation finished. No error reported.
[Code]....
If so, what is the rough sequence of commands to create the partition (without disturbing what is already there) and then setting it as a BIOS boot partition.
View 4 Replies
View Related
Mar 5, 2010
After I upgraded to current(Tue Mar 2 19:07:31 UTC 2010), I could not connect to any wireless network. It will always failed in obtaining IP address. When I rebuild the package and upgrade with the new one, the problem gone. Also I notice that the package I rebuild is different with the one on the stock tree:
Code:
..ckware-mirrors/slackware64-current% md5sum /tmp/wicd-1.7.0-x86_64-1.txz
446ff631eee4c862263ad0488e3a38be /tmp/wicd-1.7.0-x86_64-1.txz
grissiom 2010-03-05 17:21 @darkstar
[code]....
View 6 Replies
View Related
Apr 19, 2010
Recently I reinstall Grub, but I have chosen on ntfs (windows 7 partition E: drive). After this I chosen /dev/sda which is correct boot partition.
Now Fedora 10 and Win 7 booth are working properly.
How can I get back my E: drive safely?
In Fedora 10 E: is not available, where as in Win7 it is available but asking for Format.
how to get back my E: partition which was chosen wrongly as boot partition.
View 4 Replies
View Related
Apr 24, 2010
Everything is installed and setup on my system, but when I setup my partitions I chose my Windows partition to be bootable. Can I just use cfdisk to toggle the bootable flag so my linux partition is bootable and rewrite the partition table?
View 2 Replies
View Related
Feb 25, 2010
I having a problem getting my grub loader to see one of my hard drives. I added a drive, and my grub loader lost track of where everything was. I couldn't get my old linux (Red Hat 9) so I installed SuSe on my new hard drive. But I need my be able to boot from my old hard drive because it has apps that only run on the earlier version. From /proc/partitions the old hard drive is sdd
major minor #blocks name
8 0 976762584 sda
8 1 2104483 sda1
8 2 20972857 sda2
[code]....
View 27 Replies
View Related
Aug 31, 2010
when I tried to install Fedora on my pc, I got this error message " Defined Root partition not created a / boot/efi partition. I am trying to install it on a seperate hd. My main one has windows xp pro, but I do not want to interfer with that at all?.
View 14 Replies
View Related