Red Hat / Fedora :: RAID 6 LVM Recovery From Interrupted Reconstruction
Jan 1, 2011
I have a pretty huge (16x1TB disks) RAID6 LVM array on a Red Hat box which has really thrown a spanner in its works and I'm in a right fix: I was part-way through rebuilding the array with one replacement disk when a second died and a third seemed to have fallen from the array. I was replacing a disk which had been showing signs through SMART of probable failure (uncorrectable errors) and I noticed the second disk was just starting to give similar but slightly less numerous errors.
Now my logic based on a gradually growing understanding of the workings of the LVM is that I stand a chance of resurrecting things as the data held on the machine has been static for a while (a few days) before my attempted drive replacement and none of the disks have actually FAILED.
I have replaced the unit I removed so the physical devices are as they were before the exercise. I clearly need to carefully convince the configuration that it's "how it was" and there are a few meta-data files in the /etc/lvm/archive I believe I can use to re-"set the scene". Presently the machine fails to boot completely and it's patiently waiting in single-user mode for my next visit.
View 3 Replies
ADVERTISEMENT
Feb 1, 2011
Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.
Now the array is (logically) no longer able to start:
mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]
I was able to examine the disks though:
Code:
root@127.0.0.1:/etc# mdadm --examine /dev/sdb2
/dev/sdb2:
Magic : a92b4efc
Version : 00.90.00
code....
Code:
mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.
View 4 Replies
View Related
Feb 22, 2010
This is my first post on LinuxQuestions.org, so I hope I am posting this this in the right forum, and English is not my mother language, so I hope I made myself understandable. I have this small Poweredge 350 server with two 80GB IDE hard drives running Red Hat Fedora 5, with software Raid 1. Some months ago hda started to have unrecoverable I/O read errors for some blocks. I leaved it that way for some time then hdb also started having same kind of issues. I got new hard drives and replaced hdb first, but the problem is mdadm hasn't been able to recover the raid. I have three LINUX RAID partitions conforming the raid 1 between hda and hdb
/dev/md0
/dev/md1
/dev/md2
[code]....
So how can I force the raid to be recovered ignoring the hda errors, is there a way to recover this?
View 7 Replies
View Related
Jun 18, 2010
I have a fileserver which is running Ubuntu Server 6.10. I had a RAID5 array consisting of the following disks:
Code:
/dev/sda1
/dev/sdb1
/dev/sdd1
/dev/md0 -
the raid drive for the above three disks. The sda1 disk has failed and the array is running on 2 of 3 disks
/dev/sdc (OS disk)
/dev/sde (new 2tb disk - unused)
/dev/sdf (new 2tb disk - unused)
My plan was to rebuild the array using the two new disks as RAID1. Would the best way to do this be to create a new RAID1 disk on /dev/md1 then copy all data over from /dev/md0? Also - this may sound stupid but since all 3 drives in md0 are identical i'm not sure physically which disk is bad. I tried disconnecting each disk one-by-one then rebooting but the system doesn't appear to want to boot without the bad drive connected. I've already failed the disk in the array with mdadm but i'm unsure of how to remove it properly.
View 3 Replies
View Related
Aug 12, 2010
I've got an 8-disk raid-5 setup, and one of the disks failed. I shut the system down, replaced it, and powered the box back on again. Then, I made a catastrophic mistake; I 'failed' and removed the wrong disk (should have been sdj1, and I typed sdk1 by accident). I tried to re-add sdk1 back to the raid array, but it got listed as 'spare'. My raid array is off-line, since I now have 2 disks unavailable.
I know that the data still exists on sdk1, is there any way I can get the raid array to recognise the fact that it's a valid part of the array, and not a spare disk? At least if I can do that, I'll have a degraded but accessible array, and then I can rebuild the array on the properly replaced disk.
View 7 Replies
View Related
Mar 9, 2010
I had a corrupted superblock in my RAID boot drive (/dev/md0), which I fixed with fsck in Recovery Mode.However, after rebooting, the same boot-up problem (hanging for hours) persists.When I re-enter Recovery Mode to examine the boot drive, I found its superblock was corrupted again (which I fixed again using fsck).Is there a proper reboot procedure which is gentle on the boot drive, such that it doesn't corrupt it? Or, is something else amiss
View 1 Replies
View Related
Mar 9, 2010
I had a corrupted superblock in my RAID boot drive (/dev/md0), which I fixed with fsck in Recovery Mode.
However, after rebooting, the same boot-up problem (hanging for hours) persists. When I re-enter Recovery Mode to examine the boot drive, I found its superblock was corrupted again (which I fixed again using fsck).
Is there a proper reboot procedure which is gentle on the boot drive, such that it doesn't corrupt it? Or, is something else amiss?
View 1 Replies
View Related
Nov 27, 2010
I'm depressed. Neither the compiled nor the rpm works well for me. After installing via the two methods refer to [URL] (MY os is fc13.i686) and I get the same error below when I play wmv:mplayer *.wmv. I really didn't know why.
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Decoder supports the following formats: RGB8 RGB555 RGB565 RGB24 RGB32
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x9616260] BICUBIC scaler, from bgra to yuv420p using MMX2
VO: [xv] 800x600 => 800x600 Planar YV12
Selected video codec: [wmsdmod] vfm: dmo (Windows Media Screen Codec 2)
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 1 ch, s16le, 32.0 kbit/4.54% (ratio: 4006->88200)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
AO: [pulse] 44100Hz 1ch s16le (2 bytes per sample)
Starting playback...
MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.
[ahui@ahui-host Downloads]$ mplayer -vc help |grep wmsd
wmsdmod dmo working Windows Media Screen Codec 2 [wmsdmod.dll]
The solution is to select a another video driver via appending parameter: "-vo gl_nosw " in command.
[ahui@ahui-host ~]$ mplayer -vo gl_nosw 33.wmv
Now I can successfully use my KMplayer to play these special wmv files via these configuration below:
click:setting->configure kmplayer->general options->output
Then set the video driver to OpenGL MT
View 2 Replies
View Related
Feb 23, 2010
I'm new to Fedora! My problem is this, I was updating Fedora using yum, the updates were in the process of installing when I got up and tripped over my power cord and of course cut power to my computer killing it and interrupting the installation. I plug my computer back in and boot it back up. I make it to the blue Fedora loading screen with the blank Fedora symbol that fills with white while loading; loads fine but before the user login screen appear Fedora melts down. The screen goes black, the cursor appears with the circle loading timer, and some form of terminal is there were I can enter text but no commands like SU or whatever seems to work.
View 4 Replies
View Related
Jun 24, 2009
I've tried to install Fedora 11, both 32 and 64 on my main machine.It could not install as it stops on the first install window. I've already filed a bug but really haven't seen any feed back yet.The bug has something to do with Anaconda and the Raid array but I really can't tell.
I have an Intel Board (see signature). I am running intel raid software under W7 currently.It works fine. But, I'm wondering, when I attempt to install F!!, is my current raid set-up causing problems? Do I need to get rid of the intel raid software and use a Fedor/Linux raid program to manage the raid array??
View 2 Replies
View Related
Aug 18, 2010
I've got a, as it seems to me, strange problem.I've inadvertently deleted my user from the group admin so I'm in the same situation of a lot of other users (read a lot of messages about it).My problem is that when restarted in recovery mode there is no way I can choose the 'drop to the root shell' or similar in the menu.The menu appears for a second and then I've got an empty screen. If I press a key I've been requested for a username and password that of course is not what I need.
View 2 Replies
View Related
Mar 18, 2011
What happens if the Linux mv command is interrupted? Say, I'm moving a whole directory to some other place and interrupt it while it's moving. Will the source directory still be untouched?
View 4 Replies
View Related
Jun 30, 2011
I just upgraded to F15 and it went well. But at the next and each subsequent cold boot the BIOS reports "Your system last boot fail or post interrupted Please enter setup to load default and reboot". The board is an asus P5N-D. I press F1 to blow past the error and all is well until the next cold boot. Restarts are fine, no errors at all.
View 12 Replies
View Related
Dec 9, 2009
I was working on a ppt file for a whole day and I am sure I saved my modifications several times. The next day, when I oppened the file, openOffice did not ask me for any recovery, but I lost many modifications. This is really strange. Does any one know a solution for recovery? I am in fedora 10.
View 5 Replies
View Related
Feb 4, 2011
I have a fedora file server with a raid 1 array acting as a NAS for my local network. I accidentally overwritten a file that I need to recovery. What are my chances of recovering this file?
View 2 Replies
View Related
Jan 28, 2010
I was running Update manager and my old system pull a 'freeze/lockup' before things were completed so I have tried using apt-get; I first updated then upgraded and get the same issue as in Update mgr with 2 small packages, 1 Rythmbox and 1 software center. This is the terminal just before, during and after:
-desktop:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libsmbclient libwbclient0 rhythmbox samba-common
samba-common-bin smbclient software-center
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 18.4MB/20.2MB of archives.....
View 3 Replies
View Related
Jan 7, 2011
I was installing 10.04 as a dual boot with Win7, the install was interrupted and now I can't do anything with it. Booting, I get as far as '[0.541227] kernal_thread_helper' and it stops there with or without a disc. How do I complete the install or strip out something so that I can start again?
View 6 Replies
View Related
May 7, 2011
My laptop is sadly rather elderly and the battery is broken, so if it is unplugged it loses power and immediately turns off. Unfortunately I managed to accidentally do exactly this in the middle of upgrading from Lucid to Natty. I turned the computer back on, some automated disk checks were run, and I'm now apparently using Maverick.
Launching Update Manager, I get the following message:
"Not all updates can be installed
Run a partial upgrade, to install as many updates as possible.
This can be caused by:
*A previous upgrade which didn't complete
*Problems with some of the installed software
*Unofficial software packages not provided by Ubuntu
*Normal changes of a pre-release version of Ubuntu"
Clicking the "Partial Upgrade" option, the system starts to upgrade but exits with the following in the Terminal:
"dpkg: parse error, in file '/var/lib/dpkg/updates/0121' near line 42 package 'texlive-xetex':
duplicate value for 'Status' field"
Basically I have no idea what to do from here. The functions that I need from my computer are working (internet, music player) and I don't really need much more than that but I'd rather it was working. Also I can't install any updates or upgrade to Natty until this is solved.
View 2 Replies
View Related
Sep 26, 2009
My computer isn't booting up or logging in, period, and I was wondering if I could run any of those Grub fixes if I downloaded it through the console. Can I run anything online besides yum using the console? I have a 4 gig USB Flash drive if necessary.
View 4 Replies
View Related
Nov 10, 2009
For some reason the fedora grub didnt detect my windows recovery partition (Im on a netbook).How would I go into adding that to grub. Its on /dev/sda2
View 2 Replies
View Related
Nov 23, 2009
Can anyone recommend good file recovery software for Fedora? I accidentally deleted an iPlayer file (not critical) from an NTFS partition. I tried booting into Windows and using Recuva - it can find the file intact (I can see from the file size it's the correct one) but the directory structure is gone and the file is nameless. EDIT: got it back with Recuva in Windows, just needed to run Recuva as admin.
View 2 Replies
View Related
Jan 17, 2010
I'm having an issue with LVM on an external USB drive. When booting, the system drops into a recovery console if the external drive is not powered on because it cannot find the volume group and members. The setup is one system drive with fedora 12 installed, one internal data drive; LVM volume group vg1 with 5 partitions and one external backup drive LVM volume group vg2 with 5 partitions. Both the data drive and external backup are the same size and identical layout.
I use an rsync script that I wrote to execute backups (mirroring actually).
fstab is set 'noauto' on the external partitions.
I am new to LVM and I'm stumped as how to make the system 'ignore' the external drive at boot, if not powered on.
View 1 Replies
View Related
Sep 20, 2010
It's my first time i switched to linux (fedora13) and i wanted to check out ubuntu10. Started installation but somehow (stupid!) selected not the right harddrive to install new system from an iso dvd. Well installation was not successfull, because not the right drive was selected.I came back to fedora but my "storage" harddrive that i had all my collected data and projects is lost. Basically it's like new formated and some files from the ubuntu 10 are on it. None of my files. Is there any way to recover it back? I don't even have a clue how do you install software to fedora13?(I'm a newbee that was sick and tired using and upgrading windows - so now mac OZ and linux)
View 7 Replies
View Related
Aug 13, 2010
I have installed RHEL5 in My Pc. Is it possible to create Recovery Disc's for my Loaded OS? If Yes, are there any tools to create Recovery Discs or any other methods?
View 5 Replies
View Related
Jan 6, 2009
Just having updated from SuSE 10.3 to 11.1 I'm struggling with some network issues. WLAN connection setup with Network manager worked, the connection comes up on login to KDE 3 and works for some time. All of a sudden, the wlan connection fails and reconnection via NM is not possible. The normal wired ethernet stays fully operational and connection is established at plug in of the cable. I tried to track the issue down by browsing through /var/log/NetworkManager but I did not find the answer. A rcnetwork restart brings back a fully operational network including wlan connectionvia NM.
Working connection fails, NM fails to reconnect:
Code:
Jan 6 13:04:30 mars NetworkManager: <info> (eth1): supplicant connection state: scanning -> associating
Jan 6 13:04:30 mars NetworkManager: <info> (eth1): supplicant connection state: associating -> associated
Jan 6 13:04:31 mars NetworkManager: <info> (eth1): supplicant connection state: associated -> 4-way handshake
Jan 6 13:04:31 mars NetworkManager: <info> (eth1): supplicant connection state: 4-way handshake -> group handshake .....
View 3 Replies
View Related
May 12, 2010
I use a headless 8.04 server for media storage. The system is a P4, 2Gb RAM, gigabit network. Some cpu/IO heavy processes are scheduled to run at night, typically the server is at about 3-6% CPU load, but memory is pretty fully used:
Tasks: 95 total, 1 running, 94 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2075584k total, 1944612k used, 130972k free, 30472k buffers
Swap: 0k total, 0k used, 0k free, 1364788k cached
When playing back media (DVD, MP3) from the server, I find that playback gets interrupted every 10-15 minuted for about 5 seconds, and then resumes.
View 1 Replies
View Related
May 24, 2010
I attempted to install gnucash just now to test it out, but, in the middle of the installation (which I was doing through Terminal), something happened and dpkg was interrupted. I'm unable to provide the Terminal output because (a) for some reason, prior to the error messages about a segment fault, the terminal shows a number of blank lines and does not show me what happened before the segfault, and (b) after the segfault, when I tried starting up gedit or make a screen capture, the prompt windows were blank, so I was unable to save the terminal output to either.
When I restarted Ubuntu, it told me that /tmp was not ready; I waited for it to mount, and, apparently, it did, as Ubuntu restarted fine. I tried updating my software, as the icon in my panel was telling me I needed updates. However, it told me that dpkg had been interrupted and that I needed to troubleshoot it with sudo apt-get install -f, which then told me to run sudo dpkg --configure -a, which I did, receiving the following output:
Code:
sqlu@thalamus:~$ sudo apt-get install -f
[sudo] password for sqlu:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
sqlu@thalamus:~$ sudo dpkg --configure -a
Setting up libktoblzcheck1c2a (1.24-2) .....
It looks like there were errors with a number of packages, and I'm guessing something else might have also broken. Since I'm already using homebank and don't really need to use gnucash, I was wondering if there was a way for me to check what was installed by gnucash and remove those packages, since they're cluttering my system, and I'm concerned that they might interfere with other packages if they're broken or something. I've been using Ubuntu for about two years now and have some knowledge of the command line and such, but I'd say my skills are still pretty basic. I'm running 64-bit 10.04.
View 2 Replies
View Related
Jun 11, 2010
When installing build-essential and ubuntu-restricted-extras the internet connection was interrupted. How can I force re-installation in terminal? I'm looking all over for the commands but I can't find them. If i just type "sudo apt-get install build-essential ubuntu-restricted-extras" it returns the message that they are both up to date. I know one of them was interrupted and needs to be finished.
View 1 Replies
View Related
Jul 16, 2010
I keep getting the following error when the Update Manager runs.
Code:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
If I open up a terminal and run sudo dpkg --configure -a I then get the following error.
Code:
dpkg: parse error, in file `/var/lib/dpkg/updates/0002' near line 1:
newline in field name `
How to fix this as I can't install any updates.
View 9 Replies
View Related
Aug 22, 2010
I have installed ubuntu 10.04 on a new laptop siemens xi3650. I have Vista installed on it, and it works perfectly. On Ubuntu the wifi connection stops after a few seconds, and it wont reconnect until I restart the pc. The only mean I have to connect to internet is vie ethernet on ubuntu, or ethernet or wifi with vista. here is the results of the OS information:
Code:
genni@genni-laptop:~$ uname -r -m
2.6.32-21-generic x86_64
and the result of commands related to the network manager and the wifi connection. lsusb
Code:
genni@genni-laptop:~$ lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 04b3:310c IBM Corp. Wheel Mouse
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[code]....
View 9 Replies
View Related