General :: Fstab Added To RAID 0 - Server Cannot Restart

May 5, 2011

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

View 4 Replies


ADVERTISEMENT

General :: Added HDD - Server Fails To Restart ?

Apr 27, 2010

I have a issue that could get me fired, so I would appreciate your input. My knowledge about linux is limited

The company I work for has a Dell Poweredge 6850 that keeps pretty much everything (databases, websites, etc).

The server had a Virtual Drive created from 2 Physical Drives. Since the HDD space was getting low, we got a new drive, inserted it, formatted and rebooted the system.

But the system now refuses to start, giving an FAILED message, something related to EXT2 partition that cannot be read at /dev/hda1.

View 2 Replies View Related

CentOS 5 Hardware :: Added HDD - Server Fails To Restart

Apr 27, 2010

I have a issue that could get me fired, so I would appreciate your input. My knowledge about linux is limited
The company I work for has a Dell Poweredge 6850 that keeps pretty much everything (databases, websites, etc). The server had a Virtual Drive created from 2 Physical Drives. Since the HDD space was getting low, we got a new drive, inserted it, formatted and rebooted the system. But the system now refuses to start, giving an FAILED message, something related to EXT2 partition that cannot be read at /dev/hda1

View 1 Replies View Related

General :: Testing Fstab Without Restart?

Jan 6, 2011

I need to do some changes to fstab,so i wondering is it possible to test it does it work without restating?Because if add something wrong then linux wont start ssh and i wont be able to access server remotely.What i want to do,is to mount /dev/shm with noexec,nosuid instead none.

View 4 Replies View Related

Ubuntu :: HD Not Mounting Once Added To Fstab

Sep 29, 2010

I recently added myself a harddisk with one big ext4 partition on it. I tried to add it to my fstab file like so:

Code:
UUID=c41b529d-77ee-427c-82b3-dff16f2123a2 /media ext4 rw,user,noexec 0 2

But it is not doing what I intended, which was the partition showing up in my Places menu. It also doesn't appear in my /media folder. How to alter the command above so I could have the harddisk open and writable in my Places folder just like my system harddisk?

View 6 Replies View Related

Ubuntu :: Added HDD Corrupts Fstab?

Jan 31, 2011

I have added a new sata HDD and this caused my fstab to becoming corrupted. I opened the fstab within a live cd and I changed it to the new setup. But I am still getting an error.

My old setup:
sda on PATA
Windows 7
Linux /root
Linux swap

[Code].....

View 9 Replies View Related

General :: RAID Impossible To Mount Through Fstab

Nov 3, 2010

After having solved my raid5 creation problems, I'm running into a new one: the RAID is just impossible to mount through fstab. I get a wonderful "The disk drive for /dev/md0 is not ready yet or not present.
Continue to wait or press S to skip mounting or M for mount recovery."

Once the system has booted, I can perfectly run a mount /dev/md0 /media/raid and mount it manually.
I've already tried mdadm.conf with UUIDs, with device names, tried several options in fstab, xfs and ext4 filesystems, nothing to do, it won't mount.

All this is running under Ubuntu 10.04 server, kernel: 2.6.32-25 server, mdadm 3.1.4 (from a Debian sid)

Here's my mdadm.conf:

Code:

The entry in my fstab:

Code:

And just for info, my /proc/mdstat:

Code:

View 8 Replies View Related

Ubuntu Servers :: No Boot Up With Added Lines To Fstab

May 11, 2010

I recently formatted my HDD and installed Ubuntu Server 10.04 x64. This is actually the 4th install in the past week because I was testing some things. But I had this problem on at least the previous install which made me want to start fresh again. The problem I'm having is Ubuntu will not boot if I add any of my drives to fstab. If I leave it with the standard proc, /, and swap lines it works fine. As soon as I add a line for one of my RAID arrays or an NTFS formatted partition the system hangs on bootup. It doesn't matter if I have the extra drives operating or not.

The last thing I see before it hangs is:
Code:
/dev/sda1: clean, 69351/4358144 files, 583945/17401600 blocks
Here is what the fstab currently looks like:

Code:
proc /proc proc nodev,noexec,nosuid 0 0
UUID=c62ac627-46a6-4fd5-87e8-4ae0d9185d53 / ext4 errors=remount-ro 0 1
UUID=c1cee1e4-f8ac-4555-a88b-f237afdedd27 none swap sw 0 0
/dev/md0 /mnt/raid5 ext4 defaults 0 0

The other two lines which also made it hang included one which was almost exactly the same as the /dev/md0 line except it was md1 with a different mount point and another which used a UUID and was ntfs-3g. I know they work because all 3 of them were mounted by "mount -a" after putting them into fstab and they're pretty much the same as what I was using with 9.04 server.

View 3 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

General :: Just Added Ssl To Apache Web Server

Jan 7, 2010

When I run lsof -i I see several instances of httpd, however some are http and some are https. How do I configure my httpd.conf to start only https? I am essentially running copies on port 80. I just want to run all my html pages in 443.

View 1 Replies View Related

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

Fedora Installation :: Using The F10 Live CD To Setup Software RAID 1 Between 1 Hard Drives For Redundancy & Fstab

Apr 15, 2009

I have been battering with FC10 and software RAID for a while now, and hopefully I will have a full working system soon. Basically, I tried using the F10 live CD to setup Software RAID 1 between 1 hard drives for redundancy (I know its not hardware raid but budget is tight) with the following table;

[Code]....

I set these up by using the RAID button on the partition section of the install except swap, which I set-up using the New partition button, created 1 swap partition on each hard drive that didn't take part in RAID. Almost every time I tried to do this install, it halted due to an error with one of the raid partitions and exited the installer. I actually managed it once, in about...ooo 10-15 times of trying but I broke it. After getting very frustrated I decided to build it using just 3 partitions

[Code]....

I left the rest un-touched. This worked fine after completing the install and setting up grub, reboot in to the install. I then installed gparted and cut the drive up further to finish my table on both hard drives. I then used mdadm --create...etc to create my RAID partitions. So I now have

[Code]....

View 2 Replies View Related

General :: Webmin Error: Unable To Open A Webpage Even Though Virtual Server In Apache Is Added

Aug 2, 2010

I tried creating a virtual server in apache and it got created successfully. (I also added a zone in dns for that domain successfully) However, when I try opening that domain in my browser, I see a popup window which asks me what to do with "default" which is a php file type.

I dont see the index.php which should actually open. What do I do to make the php files display correctly?

View 2 Replies View Related

General :: Mount Network Ntfs Drive On Server And Add It On FSTAB?

Jan 25, 2011

I am using CentOS 5.5 OS. I already install ntfs-3g rpm, but I don't know the command to mount network NTFS drive. I also want to mount it on my fstab file, so whenever it reloads, it can automatically mount on the specific folder.

View 9 Replies View Related

CentOS 5 :: Raid 1 - Need To Create Array On Every Restart

Mar 10, 2010

I 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 Related

Ubuntu :: Restart The Computer The 6X1TB RAID Does Not Start Up?

Jul 27, 2010

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

View 2 Replies View Related

Ubuntu Servers :: LVM - RAID Device Not Present On Restart

Jan 29, 2011

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.

View 9 Replies View Related

Ubuntu Servers :: HW RAID Disk Shows Up In Fstab But Not In /dev/disk/by-uuid?

Jun 28, 2010

I have an SiI hardware SATA RAID card, with two 500GB disks in mirrored RAID configuration. When I first plugged them in and set it up, things seemed to work ok, but on boot the raid controller told me that the RAID needed rebuilding, and it would happen automatically after POST. So I didn't worry about it, and the drive mounted fine, and it's been that way for years. I just went in and manually on-line rebuilt the RAID in the controller's BIOS, and now when I boot into Ubuntu, both disks show up in fdisk, but neither show up in /dev/disk/by-uuid. Am I missing something?

View 9 Replies View Related

Ubuntu Servers :: Stuck At Boot With Raid (non Boot) In Fstab = Useless?

Nov 1, 2010

Forgive the terseness. I'm frazzled with this issue, perhaps I should have asked earlier. Every weekend for the past 2 months has been an endless cycle of 'repair broken system' off the install disk.

Installed from Ubuntu server 10.04LTS x86_64, + xfce-desktop Here is uname -a Linux ournas 2.6.32-25-server #45-Ubuntu SMP Sat Oct 16 20:06:58 UTC 2010 x86_64 GNU/Linux If I add my raid + lvm to the fstab file, the boot stalls, (no error it, just hangs waiting, forever). So that's a not very user friendly to start with.

I've tried the suggestions about UUID in fstab tried using LABEL instead, or even /dev/xxx. Every time it hangs. I've googled this endlessly and not found a solution. So don't ask why... since I seem to have tried every odd suggestion to fix this, I've lost track. There seems to be some consensus that whoever gave us plymouth laid an egg. Forgive me if I'm wrong, but did we need a better graphical boot if it breaks everything else?

[Code]...

View 3 Replies View Related

CentOS 5 Hardware :: 20 TB Software Raid 5 Build - Locked Up And Array Would Not Restart After Reboot

Mar 25, 2010

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.

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

General :: Client Not Connecting After The Server Restart?

Nov 7, 2010

I have problem with the server,when i restart my server client is still running it is not able to connect to client.i want my client to connect to server after the server restart

View 3 Replies View Related

General :: Restart Rhe Server Automatically Starts To Work

Mar 1, 2010

some times network disconnected automatically. if we restart rhe server it automatically starts to work. again 2 or 3 days, the same senario is happening. on this server 2 database is running, it makes lot of problem to us. what will be the problem? is any connection parameter is there? (ie i mean only 50 numbers of client connection is only allowed like.) or any problem in NIC card or NIC driver.

View 4 Replies View Related

General :: Restart Dhcp From /etc/init.d/dhcpd Restart

Feb 27, 2010

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

View 3 Replies View Related

General :: How To Partition Server With RAID 1/10

Aug 26, 2009

I am trying to partition my server before installing CentOS and cPanel.I have hardware RAID 1/10 On RAID 1 I would have

/
/boot

On RAID 10 I would have

/tmp
/usr
/var
/var/log
2 GB swap
/home

Is it correct partionining setup?What should I have on RAID 10 ?

View 1 Replies View Related

General :: Setting Up Raid Server?

Apr 29, 2011

I just built a home computer with 3TB hard drives I wanted to set up in a RAID 5 and load Ubuntu server onto it. The first thing I did was set up the drives in a RAID 5 using just the motherboard chipset software to do it, so a 'hardware' RAID basically. I installed Windows first to see if all the hardware works ok (that seemed the easiest way to verify it) and with the exception of the ethernet card (which needed a driver disk to work) everything was plug n' play and worked wonderfully. After that I booted the Windows install disk again to delete the partitions, hoping Ubuntu 10.10 server would create its own.

The problem I'm having is no matter what I've tried (deleting and recreating the RAID 5 setup, departitioning the drives), whenever I try to install Ubuntu it won't recognize the RAID as a valid disk. Ironically, it did at first, because I installed windows to verify the hardware. The ethernet card wasn't working automatically in the Ubuntu setup, (although it found the unformatted RAID drive), so I installed windows and figured out it was just the drivers that needed to be installed.

So now when I try to install Ubuntu, it finds the ethernet card perfectly and connects to the internet during the installation...but that actually stinks because it's telling me it's still accessing the drivers from the drives that I thought I formatted. Once it gets to the storage part of the installation afterwards, it can't find the RAID drive anymore. I tells me to choose a disk from the list, but the list is blank. So I can't install on it.

If I remove the RAID entirely and just keep the drives as 3 separate IDE drives, it finds every drive perfectly and can install to either one I choose. But I don't want this, I definitely need them RAIDed.

View 5 Replies View Related

Hardware :: Changes To Fstab (UUID's) / Revert Fstab's Listings Back To The Old /dev/hd Settings?

Jan 15, 2010

I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.

My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.

So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?

And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.

I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.

View 4 Replies View Related

Server :: Getting Error When LDAP User Added Through Webmin

Apr 1, 2010

I have installed webmin. I am configuring ldap server using webmin gui. when i try to add user by ldap user and group I get following error. Failed to save user; Failed to add user to ldap database; modification required authentication. I am new in ldap configuration and hope for best reply.

View 1 Replies View Related

Server :: Script That Checks If Added Username Valid

Nov 29, 2010

How to do a small script which checks that a username can be a username. I am talking about the special characters and spaces which can't be used when creating a username. So a user writes:

"kevin little" in this case this can't be a username as it contains space.
or
"kevinlittle" in this case this can't be a username as it contains special character ''.
or
"kevin_little" in this case it can be a username as there are only accepted characters.

View 5 Replies View Related







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