General :: Find Which Raid Is Configured (without Restart)
Aug 30, 2010Is there a way to find the raid type without restarting the machine?
I m using linux operating system.
Is there a way to find the raid type without restarting the machine?
I m using linux operating system.
Is there a way to find out with what options a library was configured with when it was installed? I am trying to install a library on my system that depends on gasnet and it requires me to configure it with the very same options that gasnet was configured with. Gasnet was not originally installed by me, so I cannot tell. I can see bin/, include/, lib/ and share/ directories in the gasnet folder and no other information in it. To be specific, I need to use the same CFLAGS that were used during installation of gasnet. For example, if it was installed using '-g -O2', I have to make sure I use the same CFLAGS here.
View 4 Replies View RelatedI'm currently trying to get my wireless card to work with ndiswrapper after installing backtrack4 today, BUT.When I try and use the make command it tells me that some or another file is missing. I've checked and the output is right, There is no file of that name but there is neither a folder of that name.
Code:
root@bt:/usr/src/ndiswrapper-1.56/ndiswrapper-1.56# make
make -C driver
make[1]: Entering directory `/usr/src/ndiswrapper-1.56/ndiswrapper-1.56/driver'
[code]....
I made a software RAID 0. It works fine, but when I add it to fstab and reboot the server, I can't restart the server.
Code:
# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda5 swap swap defaults 0 0
/dev/md0 /vz ext3 defaults 0 0
When I go to rescue mode and delete /dev/md0 from fstab, I can restart, but I get this when I try to mount it again:
Code:
mount: you must specify the filesystem type
So I try to make it to a ext3
Code:
# mkfs.ext3 /dev/md0
mke2fs 1.39 (29-May-2006)
mkfs.ext3: Device size reported to be zero. Invalid partition specified, or partition table wasn't reread after running fdisk, due to a modified partition being busy and in use. You may need to reboot to re-read your partition table.
#fdisk /dev/md0
Unable to read /dev/md0
I have used gparted for backup of my system, but now I have RAID configured and gparted didn't recognize my drives: Disk /dev/md0 doesn't contain a valid partition table
I have 2x500Gb HDDs configured in RAID and primary and logical partitions set by LVM (on Debian lenny 5.03)
Code:
fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cb4b9
[Code]...
What program can I use to make a backup of my installation into /dev/dm-1 (this drive is mounted as /home)?
I just installed Debian 5.0.4 successfully. I want to use the PC as a File Server with two Drives configured as a RAID 1 device. Everything with the RAID device works fine, the only question I have belogs to the GRUB 0.97 Booloader. I would like to be able to boot my Server even if one of the disks fail or the filesystem containing the OS becomes corrupt, so I configured only the data partitions to be a RAID 1 device, so on the second disk should be a copy of the last stable installation, similar to this guide:[URL]...
[Code]...
It's been a while since I configured a raid and have been making some changes to my main workstation/server.
fdisk does not like md devices on my machine... always says it has an invalid partition table. While this is said to be normal all over the net, I don't feel warm and fuzzy about that fact. What is best practice these days, to create a non-partitionable md device or a partitionable mdp device?
If I create a partitionable md device, I would imagine it would look good in fdisk. However, I am concerned about growing the array afterward. I would then have to grow the array, redefine the partition, and then grow the file system. The PITA factor goes up. Has anyone worked with both? Pro/Cons? My array was created with:
mdadm --create --verbose /dev/md0 --level=5 --force --raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1
FYI: I have backups. I understand RAID 1 may be a better choice of raid level.
How to find whether raid is implemented or not ,without asking Linux Admin.
View 4 Replies View RelatedI know my Linux Servers have RAID but I want to know
1. Can I find RAID level?
2. how to find Disk information...I mean if it's not possible to get RAID Can I get how many hard drives and the real size?
I had configured a gmail account in evolution and used it successfully until recently when after a restart evolution asks me again to configure an email (Evolution setup assistant wizard) again.I already have my email configured but something must be preventing evolution to find my email account. What can I do to recover all that?My .evolution/mail folder still has all the data for example (got there some hundreds MB still). and I also have there other folders: addressbook, calendar..etc
View 8 Replies View RelatedI have a raid 1 array which I did setup on a Centos box. I can configure the array fine the problem is every time is restart my machine I can no longer see the array and have to go create it all over again. I tried doing a few searches on it but have came up with nothing so far.
View 19 Replies View RelatedInstalled 11.3 as new install on Thinkpad T42. I now have a persistent notification "Nepomuk was not able to find the configured database backend 'redland' ... what it means. System seems to be working but desktop icons have grey vertical rectangular box when selected. No objects to select in the boxes though. Previous version had tools available as I recall.
View 8 Replies View Relatedthis explanation could take a paragraph or two. I have 7 hard drives in my system. One is a 250GB PATA I use for the Ubuntu install, 3 are 1.5TB SATA Seagates and the other 3 are 1TB SATA Seagates. I have had to replace 4 drives (one of them is the same drive twice) in order to get 6 that actually work well. That's a 40% failure rate. Most of the failed within a week or so of putting them in.
Through all of that I have learned a few things and now have them configured as follows. I have all six of them Raid5 with 1TB partitions. And then the 3 extra 500GB partitions I put as Raid 5 also. Seems weird, but it saves 1TB of space instead of having 3 1.5TB RAID5 and 3 1TB RAID5.I then use LVM to make it all one big 6TB drive. Yummy, lots of space.
Here's the problem I have had the last couple of times I restart the computer the 6X1TB RAID does not start up, or I should say it has all the drives as spares (the 3X500GB RAID starts fine). I have to use --force to get the raid to load, and all 6 load fine. I believe it says something about having to write something to two of the drives (I believe it is something about the superblock) to make them the same. I'm sorry I did not catch the message.Is that enough information for someone to tell me why it does this? It's done it twice now, when I reboot the computer.
I've decided to toy around with LVM and mdadm this weekend. I can get everything working, and all is well, until I restart. After that, I no longer have any /dev/md0 device, which during the auto mount process, causes an error. I've looked through several HOWTOs, as well as the LVM/mdadm man pages, and I believe I've tracked it down to mdadm's "assemble" that is needed (so that LVM can see the md0 device).
Not exactly sure how to go about having this occur during the boot process to ensure that the LVM mapped drive is available for when fstab is read. In case it helps this is a base install of 10.10 server 64. I have four drives, the first is used for the OS and is not in the RAID array (nor LVM). The second and third are RAID1 (/dev/md0) and there is a volume group associated with /dev/md0. The last is a LVM, but not RAID, and it has its own volume group.
I have a 10x2tb disk array that i'm trying to build into a single software raid 5 i have tried this 2 times now the first it made it to 58.7% and the machine locked up and the array would not restart after a reboot. On my 2nd try all was looking good until about 50% i noticed that the speed dropped in 1/2 and that ksoftirqd/2 is taking up a lot of cpu (about 90%) the md0_resync and md0_raid5 are also taking 60-90% when the build started they took 7%. when i do a dmesg i see a lot of the message compute_blocknr: map not correct.
For a little info on the physical setup this is running on an Atom 510 with 2GB of mem the drives are connected to an addonics 4-Port RAID 5 / JBOD SATA II PCI Controller using the sil3124 chipset. I'm using 2 addonics 5X1 SATA Port Multiplier connected to the controller to get the 10 drives attached. All drive show up and don't seem to have any issues. I'm running a fully updated as of 3/20/10 version of centos 5.4
I will let this continue to run over night but i expect it to be locked up by morning if it follows what the last attempt did.
i have installed dhcp,there i declared the subnet and network,i used command include "/etc/dhcpd.conf.jutu1"; to start and other files, but it show me this error when i want to restart the DHCP, if you need more information contact me, i have configured this file too jutu1, but it don't let me to restart dhcp from /etc/init.d/dhcpd restart, this show me this message
[Code]..
Laptop is Dell Latitude C600/C500 with Pentium III 850Mhz, 256Kb L2 Cache, 256MB RAM, ATI M3 video card, HD 20005 MB and sound card is EES Maestro 3i. After trying to do something with Windows 2000 which was installed on the machine, I decided to put Linux without keeping windows on the machine. First I try with Xubuntu (latest version) which was working but slowly, then I found that Debian could work fine on that machine. I have installed latest version 5.08 and was surprised how goodly old machine can work. I solved problems with screen resolution (change from 800x600 to 1024x768) but I couldn't find solution how to fix problem with sound.
Actually I don't have sound on the machine. I looked for a linux driver for that sound card and Dell is only providing windows drivers. Then I found that I can solve the problem with ALSA drivers but I couldn't find the easy way (or any way at all) to install drivers and to get back the sound. When I click on 'Volume Control' (top right corner of the screen) I get the message: 'Volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured.'
migrate an installed Ubuntu system from a software raid to a hardware raid on the same machine? how would you go about doing so?
View 1 Replies View RelatedI just tried to install Fedora 12 x_64 on a machine that is currently running Fedora 11 x_64. It's a new machine for use as a server and is running a Phenom II 4 core on a gigabyte M/B - 4GB RAM, onboard ATI graphics, an Adaptec 5405Z RAID Controller that is in the 16 lane PCIe slot, and 3 SSD SATA dives in a RAID 0.I installed Fedora 11 x_64 on this machine just last week and it went perfectly smooth. The install recognized the video hardware, controller card and the RAID, installed correctly, boots fine, runs solid.When I attempt to install Fedora 12 x_64 on the same machine, it does NOT recognize the controller, nor the RAID and doesn't seem to like the video hardware. I stuck on a floppy drive and made a driver disk from the Adaptec provided Linux drivers, but the install fails to mount the floppy when I try to add the driver during boot from DVD - although it tries. (It's possible that my floppy drive and/or disks are too old to be useful. Seriously, loading drivers from a FLOPPY? Most computers don't even HAVE one any more.Sheesh...). The video also seems squirrelly and works better using the "simple" video drivers.
Anyone got any clues on this. It seems odd that the newer version works less well than the previous one.Maybe I'll try a different .iso - CDs or a live version or something just to check - and maybe try an install on a different machine. Yes, I put the install DVD through the self-test and it passed. I have tried 2 different copies and both fail.LATER - tried with live CD - boots OK, splash screen is OK, after bootup finishes it looks like maybe it's trying to start a different video driver - then the screen goes black and stays that way. Tomorrow I may stick in a discrete video card and see if that makes any difference.
Still Later: I have tried discrete video card, tried moving the RAID controller to the 4 lane slot, tried to install a driver from floppy (still no go) and have tried noprobe on boot command line. Although the "noprobe" got the video to keep going (albeit at a low resolution) it STILL refuses to see the RAID controller. The LED indicators on the RAID card SEEM to be indicating that the card locks up during Fedora 12 boot, but I haven't checked on that just yet. Fedora 11 continues to boot and run fine on the same machine - I'm running it right now. as I type this.Later yet: Ubuntu 9.10 86_64 that was released a couple weeks ago DOES, IN FACT see the controller and the RAID when I run the install process. Looks like Fedora 12 is badly broken after all. (Damn those even numbered releases anyway.....{;>D)=) Guess I'm going to be "stuck" with either Ubuntu or Fedora 11 unless a solution appears pretty soon. I have sent an inquiry to Adaptec, but I'm guessing they are going to say, "we don't support Fedora linux except Fedora 5 and Fedora 6" as those are the only drivers they seem to have available
Friday 11/20 - I've attached a SATA drive to the same computer. By using the "basic" video driver from the install DVD I am able to install F12 to the SATA drive without issue - it installs fine, boots fine, runs fine. However, it still will NOT see the RAID controller. I tried installing the driver .rpm from the disk that came from Adaptec, but the vanilla linux driver doesn't seem to be effective. So far, Fedora 12 continues to be a big FAIL! as far as this particular machine goes.
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.
whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?
View 1 Replies View RelatedI went to install Ubuntu 10.04 on my home pc last night but I couldn't. The installers could not see my raid and even though I wished to install to a seperate HDD windows is installed to my raid. The windows MBR always overtook the Grub and whenever I start grub up it cannot find an OS or Kernel.
I have got an ASUS Rampage 3 Extreme [URL] and on it there are two 6.0 sata Marvell connectors: [URL]
In these two Marvell connectors are two WD velociraptor 10,00 rpm Raid 0 drives. On these two drives is installed Windows 7. The ubuntu installer cannot seem to see the raid pair and so does not install Grub correctly.
i wanted to know how can i configure name service.
View 2 Replies View Relatedthere was something like <board name> and deconfig or something so that make menuconfig can be configured.
View 1 Replies View RelatedI installed ubuntu today by installing Wubi and after downloading i rebooted computer and selected ubuntu but i got an error saying 'Try (hd0,0): FAT16: NO WUBILDR' and there was few more but i forgot and at the end it says 'Cannot find GRLDR in all device Press CTRL+ALT+DELETE to restart'. it used to work when i had vista...
View 3 Replies View RelatedI recently upgrade to Fedora 14 from 13. It was an in-place upgrade. I can't recall for sure, but I do believe I had these problems in F13 before the upgrade. The F13 install was from a Live CD. Anyway, I have a three drive RAID 5 array setup - 3x 750GB. For some very annoying reason, each time I reboot my F14 system, it hangs with an error about not being able to find a superblock on /dev/md126 and /dev/md127. I have tried to stop and remove /dev/md126 and /dev/md127 but they always seem to come back. I have also noticed in the output of fdisk -l that drives sda and sdd like to swap places sometimes for an unknown (to me) reason. Any other output that is needed, please ask. I recreated the array just yesterday with:
Code:
mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1
I would cat mdadm.conf in /etc, but I removed it previously to try to figure out the problem and it was not
[code]....
I have an ARM system that has been pre-loaded with some variant of Linux. I don't know the distribution; I can only see the kernel number in dmesg.
In /etc/network/interfaces, I set eth0 to
auto eth0
iface eth0 inet dhcp
After I save and reboot (or run ifdown eth0 followed by ifup eth0), I can see that the networking system is searching for a DHCP server and actually obtains a lease on a valid IP address, but when I run ifconfig, the interface has not been assigned the address that it pulled down from DHCP. It has been assigned a 192.168.. address.
I noticed in dmesg that a variable "ip" is passed to the kernel at boot with the same address that is overriding my DHCP address. How can I disable this overriding behavior? I noticed a dynamic environment variable in u-boot called ip. I set it dhcp and saved it to nv storage, but the problem persisted. I tried to set the u-boot environment variable ipaddr to dhcp, but was informed that this wasn't a valid value for the variable.How can I get the interface to be configured through DHCP?
What is the number of repositories for which i can configure YUM?
And are there any chances of instability when using number of repositories with yum?
I am using RHEL5.
And i suspect that i have configure my yum for DAG WIEERS.
How to know that?
The intention is to have this system dual-boot. When i first put it together, i decided to setup a raid5 array spanning 3 sata drives. I installed Windows 7 first, decided i'd get to Linux later. I left 150mb or so at the beginning of the array for /boot, and about 200gb at the end for my linux install. i'm getting to the linux install. My distro of choice is Fedora 12. I start the setup, and at the point where it's time to partition, the installer tells me that its unable to find any suitable storage devices.
I Crtl-Alt-F2 to a console, and fdisk -l. Fdisk reports three individual drives which all have partitions already. All have free space. None make sense. So i turned to google, and found some threads which explain that this chip doesn't run a true raid, rather its what's been referred to as fake raid. Which is that it depends on the windows driver in order to actually present the array to the OS, and that the best way to get by that on linux, is to break the array, and use LVM instead.
That's all well and good, but i lose two things in doing that. First i lose the resiliency of raid 5, and second, well, what does that do to my windows install? I've considered moving all of my data from windows to other machines, and then just starting from scratch, but i'd really much prefer a method of using the chips fake raid in linux. Is there a driver, or module which i can install to make this happen?
On my last install I put Drive one windows on the first partioncreated a swap partitionlinux on the third partion rive twoLinux on the first partiton Grub found an old windows and made a menu for it So why does sfdisk -l return this? Code: Disk /dev/hda: 19457 cylinders, 255 heads, 63 sectors/trackUnits = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 2549 2550- 20482843+ 7 HPFS/NTFS
/dev/hda2 2550 10388 7839 62966767+ 5 Extended
[code]....