General :: DMRAID - Getting A Live Distro That Can Mount A Fakeraid Array?
Jan 24, 2011
I'm trying to rescue files from an Iomega NAS device that seems to be corrupted. This is the Storcenter rack-mount server - four 1tb drives, celeron, 1gb, etc. I'm hoping there's a live distro that would allow me to mount the RAID volume in order to determine if my files are accessible. Ubuntu 10.10 nearly got me there but reported "Not enough components available to start the RAID Array".
About a year ago I bought a new compy and decided to get on-motherboard RAID, and by golly I was gonna use it, even if it wasn't worth it.
Well, after one year, two upgrades, a lot of random problems dealing with RAID support, and a lot of articles read, I have come to my senses.
The problem: I have a fakeraid using dmraid, RAID 1, two SATA harddrives. They are mirrors of eachother, including separate home and root partitions. I actually found the method I think I had used here: [URL]
The ideal solution: No need to reinstall, no need of another drive, no need to format.
My last resort: Buy a drive, copy my home directory, start from scratch, copy my stuff over.
I got gigabyte chipset with an raid support. Currently I have 2 hdd's running in raid 1. When I was first installing ubuntu 11.04 server my fakeraid was detected, and I assigned a name for it in the initial installer and it was auto-mounted (working 100%) ever since.
However I was forced to reinstall my ubuntu server, and this part was somehow skipped in the installer.
HDD can still be seen in /dev/mapper I can see control jmicron_GRAID -> ../dm-0 jmicron_GRAID1 -> ../dm-1
I've googled my problem but I'm not sure I can find an answer in layman's terms. So here's my noob, simple question, please answer it in semi-noob-friendly terms I've been trying to install ubuntu for a while on my desktop pc. I gave it another go with 10.10 but I always have the same problem:
I've got two raid sets connected to an ich10r chip and they work fine in windows (2 samsung 1to + 2 raptors 75gb). Upon installation, dmraid only sets up the first raid set (Samsung array) but not the second one (Clean raptors intended for ubuntu). I don't have any other installation option, all my sata connectors are unavailable. So, is there a manual install solution? Can I force dmraid to mount the second raid set and not the first one? I think I read somewhere that this was a dmraid bug, but I can't find it anymore.
I'm looking to shrink my windows partition on a raid0 array and create a mdadm ubuntu partition using raid0. Is this possible? can I just ignore the /dev/mapper device and use the standard /dev/sdx devices?
I have a full working Mythbuntu 11.04 on a FakeRAID system (via ICH10R chipset). The OS is sitting on a 250GB partition and working fine. I am trying to get the 7.07TB partition mounted so that I can use it to store all my movies. When I mount it via the [URL] all works fine. When I reboot it cannot mount due to device being not ready or unavailable It appears the superblock goes missing at reboot. I have it formatted to ext4 with a GPT partition table. If I reformat and remount then all works fine again until I reboot.
I eventually gave up and migrated to mdadm. Works just fine. Having upgraded to jessie and solved one problem
[URL] ....
I find the next one. When I boot into jessie my RAID device (just a data partition not /) is not found causing the boot to fail as per problems reported here
[URL] ....
After booting I can mount my RAID device but if it's in the fstab when booting it fails. Also, I notice that some of my lvm device names have changed. After a bit of hunting around I found a couple of solutions pointing to running dmraid as a service during boot and changing the entry for the RAID device in fstab to use the UUID.
[URL] .....
This seems to work. However this seems to be a workaround and as the lvm device paths for my / and /usr partitions have also changed, I'm wondering if there is a bug here as mentioned in the second link?
The / and /usr paths changed to /dev/dm-2 and /dev/dm-3 from the /dev/mapper/ form.
Any good linux live cd distro that is god for multimedia.
Why i need this ? We need to play some HD videos (in wmv format) under linux on our school computers and so i need some Linux Live CD Distro (not dvd please only CD) that we can easily get this task done.
I'm not entirely a newbie, but this seems like such a simple question I'm not sure where else to ask it. I checked through the various HOWTOs and searched already and didn't find a clear answer, and I want to know for sure before we start investing in hardware. Is is possible to create a RAID1 (mirroring only) array with 3 live drives, rather than with 2 live plus a spare? Our goal is to have 3 drives in a hot-swap bay, and be able to pull and replace one drive periodically as a full backup. If I do:
I need aufs support/patch for kernel 2.6.34.1 as i i need to create a live linux distro for my organization and linux live scripts (the scripts which I am using for creating live linux distro) require aufs and squashfs support. There is a directive for squashfs in kernel configuration file but nothing for aufs and the patch available at linux-live site seems not to work.
My first post and only my second day using Linux (Ubuntu 10.10), so please be gentle with me. lol. Bit of back ground to my problem. I have a Netgear Stora that has just died, but realy need the info off the drive inside. Support have told me that the drive can be read on Linux, so here I am. Right. Places-Computer shows drive as "array". System-Administrator-Disk utility gives me everything blank apart from State : not running, not enough componets to start. Now there is a button under this "Start Array". Can I simply just click this or is there more to it than that as I don't want to lose anything on the drive.
I searched and found several solution but those are distro specific. I need to find out if distro is running in live mode (from CD, USB) instead it's installed on hdisk. The solution should be independent of distribution.
I couldn't post in General. It said I had insufficient permissions to post there, so, this post does have to do with Windows slightly. Sorry that it's here, but I DID read the rules (I searched, and couldn't find an answer to my problem either)
Anyways, I have a RAID5 array 2.72TB (4x1TB drives) which I used in my windows installation, initialized as GPT, and I used "span" to make the single 2TB partition, and 720GB partition into one partition. I believe that Windows created a software RAID0. Ok, so now I've made the leap away from windows, and am going 100% into Linux (Debian, to be exact) and I'm trying to figure out how to mount this array. I've only done basic web/ftp/ircd server management on Linux before, and never anything with mounting drives. I'm a complete n00b at this stuff.
I'm trying to get back into Linux after a few years off.
I have tried booting from a Live CD using Flash Linux and Damn Small Linux.
Flash Linux reports unable to mount CDROM and then provides a command line - I assume I have the kernel, a shell and little else at this point? Can I mount the CD and continue?
DSL seems to do something similar but freezes with a blank screen. I have the option of entering parameters prior to booting with DSL (but not with Flash) I have tried the parameter which copies the CD to RAM and then boots without success.
I plan on installing Debian to my HD in the near future but felt like playing around with Live CDs prior to this in order to get reacquainted.
I have googled this issue and it seems there are other noobs out there with the same model of PC (HP DV6) who are having similar problems but I could not find a solution.
As an aside - this is the kind of issue that IMO, still prevents Linux from becoming a mainstream OS.
I have a friend of mines computer that is hosed and gets the BSOD. He has pictures of his grandson on there that her really needs before I fix it. Is there a way to mount the main windows partition while running the Live CD? I have tried it and get an error but I am not able to get it working. Does anyone else know any other tricks I can do to help get my friends pictures of his grandson off there?
I have a RAID 5 array, md0, with three full-disk (non-partitioned) members, sdb, sdc, and sdd. My computer will hang during the AHCI BIOS if AHCI is enabled instead of IDE, if these drives are plugged in. I believe it may be because I'm using the whole disk, and the AHCI BIOS expects an MBR to be on the drive (I don't know why it would care).
Is there a way to convert the array to use members sdb1, sdc1 and sdd1, partitioned MBR with 0xFD RAID partitions?
I have an array called arrayini which stores numbers. I want to take log to the base 2 of each of the numbers in that array and put it in file called result. I've used the following code to do it.
Code:
size=${#arrayini[@]} for ((i=0;i<size;i++)) do echo "scale = 12; l(${arrayini[$i]})/l(2)" | bc -l done >result
It works fine but its taking pretty long to calculate since I've got about 230,000 items in the array. So I decided to store the result into an array hoping that it'd be faster. I tried the following code. arrayresult is where I try and store the result. The code doesn't work because of the second last line.
Code:
unset arrayresult size=${#arrayini[@]} for ((i=0;i<size;i++)) do arrayresult[$i]="scale = 12; l(${arrayini[$i]})/l(2)" | bc -l done >FILE2
I would like to know how and if is it possible to customize a distro to run live from usb. I need to install some packages that are not default. Is it possibile? I know there is an executable that makes every distro live to usb, it's available on the ubuntu main site.
I'd like to put both the 32-bit and 64-bit OSS 11.3 onto a 2GB usb stick from their respective Live CD ISOs. I tried to make a partitions on the usb ( 1GB ) each, and then dd each ISO to separate partitions, make 1 of the partition bootable. But that doesn't work, even from the bootable partition. Any suggestions how to achieve that goal? Ideally there would be a main boot loader, which then provides option to boot each of the distro.
No matter what distro I have used, when I run a live cd/usb installer... even without installing the OS or accessing the OS hard drive, Windows 7 freezes after logging in. Running this on an Asus G73-JH, I've seen similar problems from other people with Asus notebooks, but they have actually installed the linux OS. Running Windows home premium x64
I have just upgraded to Fedora 14 from an older version. I now have problems mounting my RAID1 array, which was operating correctly until now. This is a software RAID which was initially built under Fedora 10.The array is md0, and is made of 2 SATA drives (sdc and sdd) which have only one partition. The underlying filesystem is NTFS. The array is assembled correctly and active, as reported by /proc/mdstat and mdadm -D.When I try to mount the array, I get this:
Code: [root@Goofy ~]# mount /dev/md0 /mnt/raid mount: you must specify the filesystem type
I've NEVER had a single problem in any distro with my Sound Blaster Live (Yeah; it's old school but works). However, my brand new install of Debian Squeeze (minimal with LXDE) is giving me crap. Alsa is up and running and some reason it doesn't want to use my SBLive... It's STUCK on my X-Fi card. Before you say take the XFi out; it's my Win 7 card.. I need to have it and don't want to have to pull it all the time...
Is there any other file like alsaconf? I don't know where to start. Maybe someone can shed some light of where I should go to attack this problem. I've never had an issue in ubuntu, fedora, freeBSD never gave me trouble. I usually simply use alsamixer to switch and never have an issue.
I'm building a cheap htpc for my garage so I can watch the news, listen to music and browse a few car forums when needed. Here are the specs I am looking at: 2 512mb ddr2 800 AMD Athlon II X2 240 Regor 2.8GHz 2 x 1MB L2 Cache Socket AM3 65W 500GB sata2 or 32gb ssd drive Will Ubuntu be able to use a ssd? If so this box can pull movies in from my server. Which distro will play movies, watch live tv, and play music the best on the specs I provided?