Server :: Fdisk Does Not Like Md Devices On Machine Since Configured A Raid And Made Changes To Main Workstation

Mar 24, 2011

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.

View 3 Replies


ADVERTISEMENT

CentOS 5 Hardware :: SW RAID - Raid Devices Larger Than Total Devices

Dec 7, 2010

I'm working on a server and noticed that the to RAID5 setup is showing 4 Raid devices but only 3 Total devices. It's on a fully updated CentOS 5 system that only has three SATA drives, as it can not hold anymore. I've done some researching but am unable to remove the fourth device, which is listed as removed. The full output of `mdadm -D /dev/md2` can be see below. I've never run into this situation before.Anyone have any pointers on how I can reduced the Raid Devices from 4 to 3? I have tried

mdadm /dev/md2 -r failed
mdadm /dev/md2 -r detached

but neither work and since there is no block device listed I'm not quite sure how to get things back in sync so it's only seeing the three drives.

/dev/md2:
Version : 0.90
Creation Time : Tue May 25 11:07:04 2010
Raid Level : raid5

[code]....

View 8 Replies View Related

Debian Installation :: Use The PC As A File Server With Two Drives Configured As A RAID 1 Device?

Nov 3, 2010

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]...

View 3 Replies View Related

Ubuntu :: Using Fdisk Command Made HDD Formatted And Lost All The Data

Oct 1, 2010

I have 2 HDD in my PC . The 2nd one is a 1TB Western Digital Harddisk which was formatted in Win XP NTFS and just 1 partition, using it for archieve (Film- Music - Apps ... ). I was trying to use fdisk command , but unfortunately destroy the data , format and partition it like this picture :

[URL]

recover my data . Any procedure or software ? By the wayy , I use Win Xp & Ubuntu 10.04 . According to the problem and the above picture in which OS should I recover my data - Ubuntu or WinXP ?

View 5 Replies View Related

Server :: Have A OS Based On Debian Configured And Installed On A Machine That Controls All The Network?

Feb 23, 2011

I want to know something: i have a OS based on Debian configured and installed on a machine that controls all the network. Then, I can access it via another machine (with Windows for example) (connected by crossover cable or using a switch) by a web browser where I can do everything, including adding hosts, adding users, configure mail servers, voip, configure domains, etc etc etc..I would like to install Nagios on my server but I would like to monitor the hosts, routers that I have on the network using the Windows machine. How can I do that? Isn't it supposed to access the nagios information only in the machine where it is installed?

View 3 Replies View Related

Server :: RAID 1 Partition Devices Disappear After Upgrade

Mar 3, 2011

I found a workaround of sorts. It looks like this is related to a 9.04 bug [URL] and the loopback workaround brings back the array. It is not clear how I will handle this long term.

Note: before using this technique, I used gparted to tag the partitions as "raid". They disappeared again on reboot, so I had to do it again. I am not sure how this is going to work out long-term

Note: I suspect some of this is related to the embedded "HOMEHOST" that is written into the RAID metadata on the paritions. The server was misnamed when first built and the name was changed later (cerebus -> cerberus) and the old name has surfaced in the name of a phanton device reported by gparted - /dev/mapper/jmicron_cerebus_root

I have a mythbuntu 9.10 system that I have upgraded from 8.10 to 9.04 to 9.10 in the last 2 days. I am on my way to 10.x, but need to make sure it works after every step.

The basic problem is that in its current incarnation, it is not recognizing the underlying partitions for one of the RAID devices, and therefore not happy.

As a 8.10 system I had 2 raid devices:

/dev/md16 -> /dev/sda5 and /dev/sdb5
/dev/md21 -> /dev/sdc1 and /dev/sdd1
/etc/fstab looked like this (in part):
/dev/md16 /var/lib xfs defaults 0 2

[Code]....

I don't *really* want to repartition the drive as there is a small amount of data loss between recent backups and what is on the drive, plus it would take me 2 days to move the data back.

View 2 Replies View Related

Networking :: Main Workstation As A Router

Aug 4, 2010

i am running Fedora in my main workstation, which is always awake and doing most of my work in it. This box has a wireless internet connection with my ADSL router, cause of the long distance from my room. But i need somehow to share this connection to other boxes with the ethernet connection. I ve got a 8port switch and i want to connect to the main box and connect other boxes to this switch so they 've got internet.How should i do this? How should i configure my main box, to share the wireless connection to its ethernet subnetwork?

View 6 Replies View Related

Ubuntu :: Cannot Get SSH To Work Between The XP Machine And The Main Machine

Jan 22, 2011

I have a really weird one. This may be a putty issue, or it may be a config issue in Ubuntu. I've no idea who to blame. I have four machines involved in my little issue that has me scratching my head on where to even BEGIN to diagnose what is going on. The computer I'm attempting to connect to (For identification purposes, I'll call it the main machine) is running a relatively new install of KUbuntu 10.04, stock install of openssh daemon. ufw is disabled, firewalls are off, etc, and I can prove that later.

The machine acting odd is a Win XP 32 bit running Putty. Haven't had a problem until this reload of the previously mentioned machine. A Work machine that is running RedHad of some flavour. A Virtual Machine running a headless setup of Ubunto 8.04. Now that the introductions are over, here is a quick map of the machines that can successfully connect with. My major problem is that I cannot get SSH (And ONLY SSH) to work between the XP machine and the main machine.

Work -> Main = Works
Work -> VM = Works
XP -> VM = Works
XP -> Main = Fails
XP -> VM -> Main = Works
Main -> Main = Works (IE: "ssh localhost")
VM -> Main = Works

When I try to get the XP machine to connect to the Main machine, I get an error with Putty saying:

"Server sent disconnect message
type 2(protocol error):
baad service request ssh-connection"

I've changed Putty to try using SSH Protocol 1 only, but it says the protocol isn't installed on the Main machine, which is true. I've tried setting just 1, and it gives me the error, and I've tried setting it to "2 only" and it again comes up with the error. I went into /var/log as root on the Main machine, and did a "tail -n0 -f *" and then tried to connect, but nothing relevant shows up.

As for the proof that the firewall is disabled, three of the machines are working with Synergy, I am able to swap between all three of the machines without a problem, I can get to WebAdmin from the XP machine to the Main machine, and I can open a Samba share from the XP machine to the Main machine without a problem. This sounds like a protocol issue, but I can't see anything in WebAdmin that'll put me in the right direction.

View 4 Replies View Related

General :: Find Which Raid Is Configured (without Restart)

Aug 30, 2010

Is there a way to find the raid type without restarting the machine?

I m using linux operating system.

View 14 Replies View Related

Software :: Backup On RAID Configured System?

Jul 26, 2010

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)?

View 1 Replies View Related

Ubuntu :: Installing Into VMware 7 WorkStation - Get .iso Into VM Machine?

Sep 17, 2010

I had a good copy of ubuntu on a disk but i lost it in the move, lately i decided that i wanted 2 OS's on 1 machine windows vista/Ubuntu x32. I've already got VMware workstation 7, now the great feat i'm trying to accomplish is getting this .iso of Ubuntu into my VM machine, I've got Daemon tools lite and magic-iso and magic disk. But i'm not too sure which 1 to use.

View 7 Replies View Related

Ubuntu Servers :: Df -h Not Updating With Changes Made By Other Machine?

Mar 22, 2010

I'm running a virtualised backupserver. This makes backups to an LVM volume on the host. /dev/mapper/system-backupserver is put through as a block device to the KVM-based, libvirt-managed backupserver and there it's mounted (obviously) rw.

I've also mounted the same volume, as ro, on the host, so as to get at my backups more easily. So now the same partition is mounted on two different machines, both thinking they've got sole access.

Now when the backupserver VM alters the contents of this partition, it sees this happening normally on its df report, but on the host machine, this remains mostly unseen. I tried doing a mount -o remount, but that doesn't help, although umount/mount will do it.

Meanwhile I seem to be able to get at all the data just fine, and it's just the total used/free that gets out of whack. Is there any way to regenerate/reread those totals without doing a full umount/mount cycle?

View 2 Replies View Related

General :: Automatically Run A Virtual Machine (made By Vmware In Fedora OS) At Startup In Fullscreen?

Sep 11, 2010

I am an administrator of a student lab with 20 PCs. I was thinking of a way to protect those machines in the long run with the presence of some students with destructive behaviour. The most suitable solution to install a Linux OS and use virtual machines to load Microsoft OS. This way once the OS fails I can simply replace the VM with a clone that was previously made.

The point is that most students have no experience with Linux, that's why I need to load the Virtual machine automatically at login and in full-screen view so that The startup process ends up in Microsoft OS through the virtual machine (VMWare based) in Linux platform.

update : I'm using Fedora13 Linux distribution. I believe that part of launching the VM in full-screen is more difficult than automatically launching VMWare at startup. Is there some way I can tell VMWare to launch a particular virtual machine in full-screen when it starts on boot?

View 1 Replies View Related

Debian :: Sound Not Card Configured - Error 'Volume Control Did Not Find Any Elements And/or Devices To Control" - Driver

Feb 8, 2011

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.'

View 14 Replies View Related

General :: Raid Devices Not Creating Arrays / Solution For This?

Mar 30, 2010

I have created software raid 5 configurations on the second harddrive its working fine and i have edited fstab file for auto mounting when it reboot but when i reboot the computer raid doesn't work i have to re-create the arrays by typing "mdadm --create" command again and mount again manually ,is there anywhere i can do this once without retyping the commands again after rebooting and i am also using redhat 5

View 1 Replies View Related

General :: Ssh From Virtual Machine To Main Host?

Mar 17, 2011

ok how do you add a rule which allows a virtual machine to connectto ssh on the main fedora host?so connecting from a virtual machine to the main fedora host installation? I think i have to use an iptables command but not really sure

View 3 Replies View Related

Fedora Installation :: Boot Failed: Wrong # Of Devices In RAID Set

Apr 13, 2010

I installed Fedora 12 and performed the normal updates. Now I can't reboot and get the following console error message.

ERROR: via: wrong # of devices in RAID set "via_cbcff jdief" [1/2] on /dev/sda
ERROR: removing inconsistent RAID set "via_cbcff jdief"
ERROR: no RAID set found
No root device found
Boot has failed, sleeping forever.

View 14 Replies View Related

General :: Gentoo - Ubuntu - Can Preserve My LVM/RAID Devices - Or Do Reformat ?

May 23, 2010

I've got a Gentoo box that I'm interested in switching over to an Ubuntu box.

I currently have the partitions laid out using a mixture of RAID (mdadm) and LVM2, as specified in this document [1].

Ideally I'd like to just wipe out the non /home partition, as it's got data I'd like to keep.

Is it possible to reuse the current setup, or do I need to restart? vgdisplay, vgchange -a y, etc don't yield any results from the Ubuntu LiveCD, and I'm wary to run any commands that might wipe my data.

[1] [url]

View 1 Replies View Related

Fedora :: How To Switch To Dual Booting On Main Machine

Nov 18, 2010

I'd like to switch to dual booting on my main machine. However, I'm like, a really serious competitive gamer. I play in leagues, go to LANs and performance is my greatest concern here. If I dual boot Fedora & Windows, will I have any performance issues with Windows, while booting in Windows, if I have Fedora on the same hard drive?

I don't think there should be any issues but I would like some clarification or nformation on it. Searching for 'gaming' with Linux isn't very information when it comes to dual booting, so I was just wondering.

TL;DR: Will dual booting Windows & Fedora cause any CPU/GPU/LAG/performance issues while I boot into windows and play a game (Source, TF2, Unreal Engine Games...etc)?

View 2 Replies View Related

Fedora :: Allows A Virtual Machine To Connect To Ssh On The Main Host?

Mar 17, 2011

you add a rule which allows a virtual machine to connect to ssh on the main fedora host?so connecting from a virtual machine to the main fedora host installation? I think i have to use an iptables command but not really sure

View 3 Replies View Related

Slackware :: Install -current Without Internet On Main Machine?

Feb 23, 2010

I've been playing around with slackware a little bit in the past few weeks and it's been interesting. I do find, however, that people like to keep up to date with the -current version, and sadly I can't do that so easily because I live in the middle of nowhere and my only internet is at work. So, I'm looking for a way to download the -current slackware packages and make it into a slackware installation disc (DVD), but I have no idea where to begin - quite literally, I don't know where to find theofficial slackware -current files. I guess after that I have to figure out how to make it into a CD, but that's ok for now

View 11 Replies View Related

Software :: RAID 5 Array Not Assembling All 3 Devices On Boot Using MDADM - One Is Degraded

Aug 31, 2010

I have been having this problem for the past couple days and have done my best to solve it, but to no avail. I am using mdadm, which I'm not the most experienced in, to make a raid5 array using three separate disks (dev/sda, dev/sdc, dev/sdd). For some reason not all three drives are being assembled at boot, but I can add the missing array without any problems later, its just that this takes hours to sync. Here is some information:

[Code]....

View 11 Replies View Related

Hardware :: Amd SB750 Raid And 12 Install - Unable To Find Any Suitable Storage Devices

Apr 17, 2010

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?

View 3 Replies View Related

Fedora :: Detecting USB Devices On Virtual Machine

May 21, 2010

I am running federa 12 and just recently installed virtual Machine Manager. I've created Virtual machine and installed Windows XP on it. Everything is running OK, as far as I can see. I've installed software to manage and download pictures from Cannon camera, but I am not able to make USB port available to this Virtual machine. I tried to add hardware in VM, but not sure if I should go for STORAGE option, or PHYSICAL HOST DEVICE. I tried second option, and selected USB device. Now I've got UB hub available, but still cannot see anything attached to it (camera in my case, or USB stick with pictures).

View 8 Replies View Related

Ubuntu :: Use Multiple Audio Output Devices On Single Machine

Jun 14, 2010

I always keep my headphones as well as my 2.1 speakers connected simultaneously on my PC (Gigabyte motherboard). Both these audio devices work fine simultaneously on my Windows 7, but in Ubuntu, only my headphones work, speakers don't work at all. I tried changing some settings in SOUND PREFERENCES as well as ALSA SOUND MIXER, but not luck so far.

View 1 Replies View Related

Ubuntu Servers :: Machine Name Not Showing In Router Attached Devices List?

Nov 17, 2010

As the title says the machine name is not showing up in the attached devices list on my router. Is there a file where I need to add the name? Or is this an issue with the router? The router finds all the other machine names on the network except my 3 servers.

Ubuntu Server 10.04 Lts
Ubuntu Server 10.10 Lts

View 3 Replies View Related

Server :: Host Is Not Configured As A Member Server: Samba Joining Windows 2003 AD?

Oct 15, 2009

Wanting to join my CentOS5.3 to a windows 2003 active directory. Configured kerberos and samba.

Code:

[libdefaults]
default_realm = domain
dns_lookup_realm = false

[code].....

View 5 Replies View Related

Server :: Can't Create Partition Using Fdisk

May 6, 2011

I recently expanded the RAID on an iSCSI device which is shared out to a linux server. Fdisk correctly sees the new size but it won't let me add a third partition. It complains about overlapping partitions whenever I try to add it.If I 'remove' the partition, the overlapping error goes away. The interesting thing here is that when attempting to use the default sizes to setup the partition the printed screen shows completely different results (which I can understand is why its complaining about overlapping)

I'm not sure why its not accepting the cylinder sizes I want. Anyone have any ideas as to what's wrong here?

View 9 Replies View Related

Server :: How Long Does Hardware Raid Card (raid 1) Take To Mirror 1 TB Drive (500gb Used)

Mar 22, 2011

How long does hardware Raid card (raid 1, 2 drives)take to mirror a 1 TB drive (500gb used)?Is there a general rule of thumb for this?4 hours? 12 hours? 24 hours?

View 1 Replies View Related

CentOS 5 Hardware :: Connect A RAID Box To The Server Via LSI 8880EM2 RAID Controller

Aug 3, 2010

I am trying to connect a RAID Box to the server via LSI 8880EM2 RAID controller.The raid box is FUjitsu Externus DX60 with raid 1 configured.The server is Fujitsu Primergy SX300 S5 with LSI 8880EM2 RAID card.The external raid box is being recognised by the raid controllers bios.

The server runs CentOS 5.5 64bit. I have installed the megaraid_sas driver from LSI website and MegaCLI utility but CentOS still fails to see the box.MegaCLI utility, when launched from CentOS, recognises the raid box, CentOS does not(no mapping being created in /dev).

I have also tried to create a logical RAID0 HDD on one physical HDD(as seen by MegaCLI) with MegaCLI utility in CentOS.The result was success and the new logical drive could have been used, but when restarting the server, the controllers' bios fails with an error (not surprised(one logical RAID0 on one physical HDD)) and configuration is being erased.

Has anyone tried connecting 8880EM2 controller to a raid box with raid configured on the box, running it all under CentOS and what were the results.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved