Ubuntu :: Mdadm Resuming Broken Set?
Feb 8, 2011
So i am having trouble resuming an array. When i try it tells me that it's unable to do so because only one drive is available. Here is the weird bit, if i examine each of the drives one thinks that both drives are available and the other drive shows the first drive as being removed. (see below). This is a raid 5 and one of the drive has failed and been removed. I know that this was a terrible idea but the array has been functioning for a few weeks with just the two drives. And now i can't resume. Here is the output of the examine functions for each drive: notice that sda1 sees both drive 0 and 1 as active, but sdb2 sees drive 0 as removed.
[Code]...
I need to resume without losing the data, i'm afraid that adding drive 0 to array will reinitialize the array losing all of the data. Someone please help me out in finding the right command to get the array up long enough for me to get the important data off.(and please refrain from telling me how stupid i am for not getting it all off as soon as drive 2 went faulty. I know it was dumb but this is where i am now and can't change the past).
View 1 Replies
ADVERTISEMENT
Nov 22, 2009
Here's a brief description of my system:
120GB Sata HDD - Primary OS drive
3 x 1.0TB Sata HDD - Raid 5 array
This is on a C2D MSI P35 Platinum board. Anyway, did a fresh install of F12 on the 120GB, which I had problems with - Anaconda refused to see the drive. Fedora Live could see it fine, and it was listed as an 'nvidia_raid_member' - no idea why, but I completely erased the disc under the Live CD and proceeded to install F12.
Once F12 was installed, I loaded up mdadm to re-activate my Raid 5 array, using 'sudo mdadm --assemble --uuidthe uuid) - and it started with only 2 of the 3 drives. My /dev/sdb drive did not activate into the array, due to what mdadm said was a mismatched UUID. Ok, so I erased /dev/sdb, intending to rebuild the array. Erased /dev/sdb, and then attempted 'sudo mdadm --add /dev/md0 /dev/sdb' and I get this error: "mdadm: Cannot add disks to a 'member' array, perform this operation on the parent container" - I can find NO information on this error message.
[Code].....
I don't believe the hard drives are connected in the exact same order they were in before - I disconnected everything in the system and blew it out (it was pretty dusty)
View 1 Replies
View Related
Jan 11, 2010
I am planning on setting up a 4x1TB RAID5 with mdadm under Ubuntu 9.10. I tried installing mdadm using "sudo apt-get install mdadm", all worked fine except for the following error: Code: Generating array device nodes... /var/lib/dpkg/info/mdadm.postinst: 170: /dev/MAKEDEV: not found failed. The end result is the /dev/md0 device has not been created, as can be seen here:
Code: windsok@beer:~$ mdadm --detail /dev/md0 mdadm: cannot open /dev/md0: No such file or directory After googling, I found the following bug which describes the issue: [URL] However it was reported way back in April 2009, and it does not look like it will be fixed any time soon, so I was wondering if anyone knows a workaround for this bug, to get me up and running?
View 4 Replies
View Related
Sep 11, 2010
I'm running Ubuntu 10.04. What I want to do is have the xboxdrv (xbox userspace driver) run after I resume from suspend. I created a script for it to run at boot and that worked out fine but I can't figure out how to enable it after I resume. I found something that described how to resume a module from suspend and it was to be placed in /etc/pm/sleep.d. That script looked like this:
#!/bin/bash
case $1 in
resume)
[code]...
That was for a wireless module to load after a suspend. What I did was replaced /sbin/modprobe ath_pci with the location of the xboxdrv at /usr/bin xboxdrv; unfortunately, that didn't work. I actually tried pointing it to my script that runs at boot but that also didn't work. Is there anyway I can just write a simple script that will run after I resume?
edit: Okay I also tried putting a script in another place at /etc/acpi/resume.d/xbox.sh; I had to create the folder resume.d. There I put the same script that I use at startup (which works fine) and it still won't work.
View 2 Replies
View Related
Feb 18, 2010
When the computer is in standby i press the power button and it whirrs into life but the screen stays blank and the power light stays orange.
Only way to sort it is to turn it off then on again.
View 1 Replies
View Related
May 30, 2010
Before upgrading to 10.04 from 9.10, I had sound issues after resuming from suspend (I had no audio at all). I found a script that solved the sound issue. My problem now is, with 10.04, the script keeps my laptop from going into suspend. I haven't been able to find anything to resolve this issue in 10.04. Any help as to why/how to resolve?
View 4 Replies
View Related
Apr 15, 2011
I bought a laptop from ZaReason (zareason.com) with Ubuntu already installed. I am currently running 10.10. The machine has worked great but recently has had problems coming back from hibernation. This is a new problem and did not seem to coincide with an update or new software. When I try to "wake up" my laptop, it shows a bunch of text (I am not that computer-literate, so I don't understand the text) and becomes unresponsive. I will insert an image of my screen when it is frozen: DSCF7055.jpg
View 2 Replies
View Related
May 25, 2011
I recently did a fresh install of 11.04 (previously had 9.10) Everything works fine and dandy (I didn't have to do much tweaking at all to this version!!!) Except: When my computer resumes from the screensaver (GL text, set to display time) it takes nearly a minute for my DE to show up. When it finally does show up it takes another minute or more for the computer to run at normal "speed". A lot of lag and unresponsive mouse etc. After a few minutes the computer runs fine...I am not so linux savvy, what I know I have gleaned from forums such as this one. Is there something that 11.04 runs as default that I need to shut off to stop my slow resume problem?
View 2 Replies
View Related
Jun 29, 2015
Although it's worked very consistently in the past, since moving to the newer kernels (3.16 or 4.0) on strech/sid, resuming from hibernation seems to randomly work -- sometimes it loads the image from swap, but other times it simply does a fresh boot. To troubleshoot, I've increase the size of swap and then updated 'fstab', the initramdisk, and grub -- but still no reliable behavior...
View 10 Replies
View Related
Sep 9, 2011
The machine completely locks up (Caps lock LED doesn't even light up). I've followed the wiki, but the following command did not yield any information. dmesg | grep "hash matches" after echo 1 > /sys/power/pm_trace
View 2 Replies
View Related
Oct 13, 2010
These forums have been my bible ever since I switched from windows to ubuntu... especially because I was so scared that my laptop was always hot (if you know how to change the temperatures at which HP dv7 laptop fans start kicking the hell in- let me know!). 10.10 has improved this so I'm really really happy with this. Seriously love Ubuntu. Okay, enough for intros.
[Code]....
I want to run this after resuming from suspending. I've been successful in running the script on startup but couldn't do anything about resuming from suspending with these methods [URL] and every other in the forums. By the way, these commands enable Two-Finger Scrolling (doesn't work if you put both your fingers in an horizontal line or vertical).
View 8 Replies
View Related
May 29, 2011
I've been away from Kubuntu for a while but came back when Kubuntu 11.04 was released because it's awesome. I have a newer laptop since then, a Latitude E6410 with Intel graphics and 8GB of RAM. Everything works great, except......Sometimes when I resume from suspend to RAM, the screen flickers with thin white lines across the screen. I can switch to a tty and reboot it from there, but I'm unable to use KDE until I reboot. A lot of times resuming from suspend works without issue, but sometimes this problem occurs. I haven't figured out exactly what triggers it. In fact, the most recent time it happened, I didn't even have an application open.
I would like to figure this out because I use suspend a lot. I rarely turn off my laptop unless an update requires me to. I prefer to be able to close my lid and resume whatever I was working on later, but with this glitch I cannot trust it to do that.
View 5 Replies
View Related
Mar 5, 2010
first time user of Fedora 12 ( and lovin it ) and theres only one thing thats not working... When I resume from hibernation my graphics in my session become screwy ( sorry I can be more technical ) They become all white-ish and staticy, quite un-usable. It varies from time to time if the graphics are usable at all on resume. After a reboot things are fine. Or even better a log out then log in, things are back to normal. There is no difference when turning Compiz on or off. There are no errors in X log, and there is no X conf file on my system..
SPECS:
Dell Inspiron 1501
3GB RAM
ATI 200M Xpress
AMD Turrion 64-x2
P.S. > Someone said I need to enable an option in " ACPI-CONFIG " called write_graphics_to_memory. I cant find any reference to it anywhere, aswell as that I cant find anyway to see/edit ACPI settings..Dont really wana go back to Mandriva as I'm lovin FC12 sooo much. But Ive been trying to solve this for days and Im pulling my hair out.
View 8 Replies
View Related
Apr 14, 2011
I have a big file 1,3 GB that I need to transfer over a slow link, I started doing it for 3 weeks ago over sftp, the problem is that when the download reached 95% completion the link broke! Unrecoverable.I don't intend to restart the whole download process, is there a way or a linux software that could do the job in a bittorrent like matter ? For example:just downloading the missing part of the file ? (I have control over the server in order to install or configure what it needs to be done).
View 4 Replies
View Related
Apr 1, 2016
I use Debian Jessie with Linux 4.4.6 from backports and obviously systemd. My graphics card is Intel HD 5500, my processor is Broadwell i5-5200U. I use Toshiba Satellite Pro laptop.Suspending to RAM works fine, but I have problem with hibernation. Resuming from hibernation also works, but only when time between hibernating and resuming is a few hours. When this time is for example 10 hours (I hibernate before going to sleep and resume next day morning), I can't resume from hibernation. I see only black screen and keyboard doesn't work. In that case when I type in terminal
Code: Select alljournalctl
I can see:
Code: Select allPM: Starting manual resume from disk
PM: Checking hibernation image partition UUID=8640b415-7de4-48c2-b6ab-2629a5894316
PM: Hibernation image partition 8:4 present
PM: Looking for hibernation image.
PM: Image not found (code -22)
PM: Hibernation image not present or could not be loaded.
This is weird, because when I hibernate and resume after 2 hours, everything is OK. My SWAP is large enough (I have 16 GiB of memory and 16 GiB of SWAP).
I have Code: Select allGRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=8640b415-7de4-48c2-b6ab-2629a5894316 acpi_osi=linux i915.enable_rc6=1 i915.lvds_downclock=1 i915.enable_fbc=1 pcie_aspm=force" in /etc/default/grub and Code: Select allRESUME=UUID=8640b415-7de4-48c2-b6ab-2629a5894316 in /etc/initramfs-tools/conf.d/resume
I hibernate my computer using hibernate button in Kickoff in KDE Plasma.
View 14 Replies
View Related
Apr 12, 2016
I have installed VirtualBox and since then resuming from hibernation doesn't work again (my previous thread: [URL] ....). My question is: Can VirtualBox kernel modules (vboxpci, vboxnetadp, vboxnetflt, vboxdrv) break hibernation? If yes, what to do? Maybe unload them before hibernation, blacklist when resuming and load after resume? And how to do that with systemd? URL....
View 4 Replies
View Related
Sep 1, 2011
The problem is black screen after resuming hibernation.After I switch my computer on (after hibernation), I can see some progress bar and (after loading to 100%) black screen appears.I have Debian + GNOME and I DON't have xscreensaver.
View 2 Replies
View Related
Sep 22, 2009
I'm having problems resuming a suspended session on my HP DV6-1240ea laptop. On attempting to resume a suspended session the screen remains blank. I've tried pressing the Caps Lock key to see if the LED lights but it does not which would suggest the system has not started.
View 2 Replies
View Related
Jan 22, 2010
resuming the any running process like yes a,vim a,copying data etc) via any terminalkill fg,bg at some instances kill -STOP pid,kill -CONT pid .
View 2 Replies
View Related
Feb 13, 2010
Touchpad on my laptop does not works after I resume it from hibernation/suspend. I have FC9 (sulphur) installed on my system.
View 3 Replies
View Related
Mar 13, 2011
I'm trying to resume copying from a mounted CIFS device to my local hdd with cURL. I tried
Code:
$ curl -C - -O file://myfile
and also
Code:
$ curl -C <manual offset> -O file://myfile
(looked up the manual offset using "$ wc -c")
This resumes copying if I cancel it eg with ^C.
But it does not work if I unmount and remount the CIFS device. cURL then ignores my given offset and continues again from start as if nothing were there without saying a word. With "-C -" the same effect.
View 2 Replies
View Related
Sep 4, 2015
When I suspend my computer, everything resumes fine... but the sound. The sound actually still works for the internal speakers, but not anymore for any jack-plugged headset or speakers. If I reboot, it works again. I also see nothing in the logs (dmesg, /var/log/messages).
These two commands return the same thing before and after resuming:
Code: Select allwoowoo:~$ cat /proc/asound/cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7a14000 irq 34
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7a10000 irq 33
[Code].....
I also tried
Code: Select allsudo alsa force-reload
As it was recommended a lot when I googled it, but it seems that the alsa bin/script is not available on debian. It tells me repeatedly to install alsa-base, which was already installed. The following commands have been run one after the other, in that order:
Code: Select allroot:~# alsa force-reload
The program 'alsa' is currently not installed. You can install it by typing:
apt-get install alsa-base
alsa: command not found
Code: Select allroot:~# sudo apt-get install alsa-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
alsa-base is already the newest version.
[Code] ....
How to prevent me from rebooting each time I need sound after suspending my computer?
View 4 Replies
View Related
Dec 11, 2010
since ever, i face the problem, that i cannot continue using my computer properly after i suspended it to ram and wake it up again.Fedora 14, 64-bit, most recent and stable kernel
mainly KDEMotherboard: Gigabyte P55A-UD4Hard DrivesSAMSUNG HD501LJSAMSUNG SP1213NI can figure out, that everything works fine, but with a severe delay.Having a look at my led, signifying hard drive activity, it flases once a second for approx 10ms. frequency is very constant.so i performed several checks:firstly, hdparm -i, there is no difference before and after sleeping mode:
Code:
[root@bobbl-pc bobbl]# hdparm -i /dev/sda
/dev/sda:
[code]...
View 1 Replies
View Related
May 21, 2010
i'm running debian lenny - latest stable i have recently installed smartcam (mobile phone as webcam over bluetooth) from .deb package , get errors of unmet dependency , but application works like a charm, unfortunately broken dependences block my aptitude , i cant fix them either as latest stable use older versions of dependences even in backports... how do i mark smartcam package as not broken and release my apt?
View 8 Replies
View Related
Jan 26, 2010
I have installed Xubuntu 9.10 on an Acer Aspire One 160HDD, 1RAM, 11.6''If I switch to suspend mode, on resuming it shows a black screen (but it still works forcould ctrl-alt-del and then restart)I read somewhere it could be a problem with the swap particion, but I have partitioned/ 10GBSwap 2.5 GB/home the rest
View 5 Replies
View Related
Apr 24, 2010
I've been trying to fix this problem for quite a few days now and have done a lot of searching on these forums, Linux Mint Forums and some others Google lead me to and have has some success, but am now stuck.I have posted a thread on this same topic on the Linux Mint Forums, but have had no success (if you want check it out at:URL...Originally I received error messages when trying to update involving certain repositories which couldn't be accessed (because they either didn't exist or had been moved) and I hunted these down and changed or removed them.
I have done much searching, etc. and cannot find any broken packages. I have tried many many different commands which have mostly done nothing.I seem to be in a similar boat to this person: URL...
View 2 Replies
View Related
Sep 1, 2011
I was having a problem with a fresh 11.04 install and the VPN software I use for work. I found the fix was to upgrade the software, so I downloaded an RPM, converted it to .deb and installed it via dpkg. The install worked and the VPN software now works, but Package Manager says I have a broken package and wants to 'upgrade' to the older broken one. How can I fix this without breaking my VPN SW again?
View 1 Replies
View Related
Apr 2, 2010
I'm setting up a DIY NAS system, running Ubuntu server from a CF and using 2 SATA drives. I only need RAID1. so that should do. Setting up RAID1 with mdadm is straightforward, and all of my tests with failure/recover scenario work fine in VirtualBox. Most of the tutorials on the net are talking about using mdadm in conjunction with LVM2. What is the reasoning behind LVM2 over mdadm?
View 2 Replies
View Related
Jun 30, 2010
I am currently in a project to set up an LTSP server with 10 thin clients. I am using Ubuntu 9.10 (Karmic).
Installing server and booting clients are working fine. Now, according to the need, I have to restrict user session numbers and allow resuming previous user session.
I have achieved to do the first one, but still could not able to setup the second one. As per requirement, if some thin can have power failure, the same session should be restored back. I am confused here, if I need to focus on saving xsessions or saving gnome sessions. I am looking for a concrete solution as I am running out of time.
View 1 Replies
View Related
Aug 6, 2010
I'm trying to get mdadm to assemble all my drives with help of uuid.
When I use
$ sudo mdadm --assemble /dev/md0 /dev/sdb /dev/sdc /dev/sdd
mdadm: /dev/md0 has been started with 3 drives.
So the setup works. But I want to do it the proper way with UUID.
$ sudo blkid
[Code]...
View 1 Replies
View Related