Ubuntu Servers :: RAID1 Disappears After Reboot?

Jan 5, 2011

I had a thread earlier asking for help installing Ubuntu Server to my homemade atom based NAS, but I gave up on that (GUI's are more helpful to me ) and so now I'm running Ubuntu 10.10 Desktop 64bit edition.Last night I was finally able to get mdadm set up. I have two 1TB disks set up in RAID1 config. I used

Code:
sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
to create the array, and then waited until it finished assembling. Then I used System>Administration>Disk

[code]....

View 1 Replies


ADVERTISEMENT

Ubuntu :: RAID1 Array Fails On Reboot?

Sep 8, 2010

I did a search and couldn't find anything pertaining to this - if I've missed something please direct me in the right direction We have an Ubuntu box set up as a headless office server (latest desktop install of Ubuntu) and we recently set up two 1TB HDDs in a RAID1 array using mdadm - as far as I can tell it worked successfully and created /dev/md0 with an ext3 file system. After sharing the drive I can see it from the other office computers and could transfer data to and from the RAID array just fine.

I didn't figure out how to get it to automatically mount on boot so I restarted it to see if it would do so by default - however, when I restarted I couldn't see the RAID array any longer on the desktop and it came up as a 0.0kb RAID array in Disk Utility, saying it was broken. It wouldn't let me check it until I stopped and restarted the array.

After restarting I hit "check array" and it appears to be repairing the drives. What have I missed? What happened here? How can I fix it? What other info can I provide to assist:

sudo blkid shows:

/dev/sda1: UUID: "<snip>" TYPE="ext3" (system HDD)
/dev/sda5: UUID: "<snip>" TYPE="swap"
/dev/sdc1: UUID: "<snip>" TYPE="linux_raid_member"
/dev/sdb1: UUID: "<snip>" TYPE="linux_raid_member"
/dev/md0: UUID: "<snip>" SEC_TYPE="ext2" TYPE="ext3"

disk utility: RAID Array: Mirror (RAID-1), Metadata version 0.90.0, Partitioning: Not Partitioned, Components: 2...

View 1 Replies View Related

Ubuntu Installation :: Menu Bar Disappears After First Reboot?

Sep 21, 2010

I have reinstalled 10.04 several times and have the same result. After the install everything works and looks great. Then after the first power down and reboot the top menu bar and bottom panel are gone.

The desktop wallpaper (bare of anything) is there, still responds to right-clicks, etc, and the system seems to function, but the menu bar is missing. The extents of the desktop are still the same, so it's not the desktop extending outside of the screen display area (mouse doesn't disappear over the edge).

I can alt-F1 to get to the menu bar menu items, and they function - appearing from the top edge of the screen, but cannot activate them via mouse. I have reinstalled several times and this consistently happens every time. I had 8.10 on this box and it didn't do this. I reinstalled 8.10 and it was fine again, and then back to this with reinstalled 10.04. The 8.10 was a virgin install and I reformatted the drive on every install so there's no legacy crap clinging on.

I can use ctrl-alt-del to shut down/restart/etc., and alt-F2 gets me the command line. All seemingly functional.

View 9 Replies View Related

Fedora :: Mount Point Disappears After Reboot?

Jun 15, 2011

I have created a mount point (/media/a500) for my Iconia Tablet and added the following to get it to mount automatically.

First download and install mtpfs......Then do this

Code:
sudo nano /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666"
sudo mkdir /media/a500
sudo chown user:user /media/a500

[Code]...

This works just fine for Fedora 14 but on Fedora 15 the mount point disappears on reboot ie there is no /media/a500 folder. a500 appears under devices in Nautilus and mtpfs is ok as I can mount the device via the command line by creating the mount point setting ownership and running

Code: mtpfs /media/a500

View 2 Replies View Related

Fedora :: F15 Desktop Background Disappears Sometimes After Reboot?

Aug 7, 2011

Sometimes after I reboot, by desktop background is just a black screen. When I go to the settings folder, it shows the image that it previously was, but i have to change either the "zoom" or "tile" settings, or just change the image in order for it to reappear. I really have no idea why this happens, and certainly does not happen with every reboot. If it helps, I am using Intel Ironlake Mobile.

View 1 Replies View Related

Ubuntu :: Server Disappears From Network Hard Reboot Required

Nov 15, 2010

I've been having issues with my ubuntu server (10.04 LTS) lately. Every once in a while, anywhere from 3 days to a month or more, the server will just disappear from the network. All manner of trying to reach it from the outside fails, even from the LAN. Since it's headless, this is kind of problematic. After a hard power down or reboot, the server will always come back online, but this is very annoying for a remotely administered server.

What should I look for when trying to determine why the server keeps going offline? I can't tell if there are any other issues like a hard lockup or anything, just that it is not on the network anymore when this happens.

View 9 Replies View Related

Fedora Networking :: Network Bridge Setup Disappears After Reboot

Nov 18, 2009

I am trying to set up bridge, and everything seems to be ok, except 1 thing, it disappears after reboot. So, what I am doing:

Code:
brctl addbr br0
brctl addif br0 eth0
and adding /etc/sysconfig/network-scripts/ifcfg-br0, here it is:

Code:
GATEWAY=192.168.1.1
DEVICE=br0
BOOTPROTO=none
NETMASK=255.255.255.0
DNS1=208.67.222.222
DNS2=208.67.220.220
TYPE=bridge
HWADDR=00:18:f3:75:18:78
IPADDR=192.168.1.3
IPV6INIT=no
ONBOOT=yes
USERCTL=no
and my ifcfg-eth0 is:

Code:
GATEWAY=192.168.1.1
DEVICE=eth0
BOOTPROTO=none
NETMASK=255.255.255.0
DNS1=208.67.222.222
DNS2=208.67.220.220
TYPE=bridge
HWADDR=00:18:f3:75:18:78
IPADDR=192.168.1.3
IPV6INIT=no
ONBOOT=yes
USERCTL=no

How to make it working after reboot?

View 1 Replies View Related

Ubuntu Servers :: Boot From Raid1 (mdadm) + Lvm

Aug 11, 2010

intending to set up an all-in-one server, i threw in the ubuntu server 10.04 (amd64) cd. during the text-install, i set up the device-topology below, and it worked.

[Code]....

then i tested my raid by hot-pulling off the sda wire (ouch). worked fine, system still worked, and it also managed rebooting from the left sdb (which of course showed up being sda, lacking the first drive). now i am trying to recover this pre-crash state. adding the first disk (showing up as sdb), i can add it to md0 and let it start syncronizing for 2 hours. but... i can?t boot anymore with the recovered first disk being sda...

at first, booting got stuck in an initrd-prompt after complaining it couldn?t find my sys-logical volume. after a lot of trial and error i don?t even get any complaints, just a black screen which would let me wait for a boot for weeks... so, my system does not boot from my first disk, whether i plug in the second or not. my second disk still boots. my last attempt to get booting fine again has been: zero sda?s first and last gigabyte to kill any ids duplicate sdb?s first cylinder to sda to make it bootable reinitialize sdb?s part.table using command o in fdisk for a new disk-id recreate sda1 partition add sda1 to md0

View 1 Replies View Related

Ubuntu Servers :: Failure To Partition RAID1 During Installation

Jul 29, 2010

I have built a small test server. I am planing on using this machine a an email and web server to test out its hosting capacities. in the future I will build a larger and more well equipped version.

AMD Athlon x2 2.0ghz
2 160gb SATA drives (hardware raid 1, done through the Motherboard)
2 gb ram (dual channel)

Like I said small test server. I am trying to install 10.04 server edition. When I get to the point of partitioning it asks me to activate the raid so I do. I get through the guided partitioning and get ready to write the file system to the drives and the screen goes red and says that it has failed. On a side note, this works if i install it on the same drives without any raid configuration.

View 6 Replies View Related

Ubuntu Servers :: Interpreting Mdadm RAID1 Status?

Feb 7, 2011

I have a RAID1 array, where mdadm states that one of the disks is "removed." Naturally, I assume one of the drives has failed. The mdadm --detail command tells me that the sda drive has failed. However, further inspection from the mdadm -E /dev/sdb1 command says that sdb1 disk has been removed. I am a bit confused. Can someone clarify which drive is failed? Am I misreading the command outputs?

Code:
sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code]...

View 3 Replies View Related

Ubuntu Servers :: Converting Single Disk LVM To RAID1 LVM (grub)

May 5, 2010

I have an Ubuntu Server on (8.10) running under Citrix XenServer (though that shouldn't make a difference).

I installed on a single disk:

xvda1 - 200 MB - /boot
xvda2 - 9.8 GB - LVM (ubuntu-base)

The LVM is:

swap - 1.0 GB
root - 8.8 GB - /

I have successfully gotten this converted to RAID1 by adding a new drive (xvdb) and following the Debian howtoforge article [URL]

What I have not been able to do, is get grub working properly.

If I fail xvdb and reboot the system, everything comes up and I can reboot and run.

If I fail xvda and reboot the system, XenServer gives me a bootloader error. i.e.: no grub

If someone has done this, can they tell me what grub commands to run to get a successful boot of the primary disk fails?

View 1 Replies View Related

Ubuntu Servers :: Mdadm Raid1 Doesn't Finish Syncing?

Nov 14, 2010

One of the hard drives in my server failed the other day, backups saved the day and downtime was only a few hours, but when setting up the new drive I went ahead and migrated to software RAID, in the hopes it may give me less downtime in the future when a drive fails. It all went rather well, but my main root partition won't finish syncing for some reason.

sda was the original drive with sda4 as /, sda1 as /boot, and sda2 as swap. sdb was the drive that failed and was replaced with the new drive. So I set up sdb with the same partitions of sda, added it to a RAID1 array, copied files from sda, and reboot to md4 as /, md1 as /boot, and md2 as swap. I added the sda partitions to the array, and the sync went off without a hitch on md1 and md2, md4 progresses well, but after a few hours /proc/mdstat just shows this:

Code:
root@d668:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sdb2[1] sda2[0]
9767424 blocks [2/2] [UU]

[Code]...

View 3 Replies View Related

Ubuntu Servers :: Proper Raid1 Data Drive Formating

Feb 4, 2011

I have a ubuntu sever with a raid1 data drive formated in native linux ext3. I have searched for answers to my question but most likely I'm not asking it correctly. I want to use the data drive to store backups of files from various ubuntu and windows machines. Do I need to reformat the drive as ntfs to enable windows use or can it remain as ext3? For that matter can I reformat as ext4 as a soultion? Again, I wish to use the data drive as a backup storage.

View 3 Replies View Related

Ubuntu Servers :: Accidentally Rm -rf'ed /etc From Raid1 Mirror - Recover The Directory?

Apr 10, 2011

I accidentally rm -rf 'ed /etc directory from the main server. The server has raid1 soft-raid. Is there a way to recover the directory.

View 4 Replies View Related

Ubuntu Servers :: Raid1 Reads At Single Disk Speed?

May 3, 2011

im on 10.10(desktop) and mdadm was v2.8.1 from 2008, very out of date so i tried 3.2.1 -> no change. mdadm raid1 read speeds are the same as single disk. note i used the tests in the disk utility benchmarking tool at first --these showed raid 5 atleast to be much better but when i tried dd reads raid5 dropped off with larger data to almost the same (slow) speed as raid1. compare:

[code]....

using two partitions will be enough to show raid1 performs at single disk speed. I dont really want to use a 4 disk raid0 just to get the read speed i should be able to get with raid1 as i dont really care about the size loss. I would of course use raid10 but i have found this suffers from the same problem (achieve same read speed as 2 disk stripe). So whilst im shocked others aren't reporting this, unless there is some obscure reason why my system would give these results i think raid1 in not behaving as it should.

View 6 Replies View Related

Ubuntu Servers :: 9.10 Server 'Disappears' From Network?

Jan 14, 2010

The Short VersionTwo Vista machines connected to a 2Wire wireless router (AT&T UVerse) via DHCP.One (headless) Ubuntu 9.10 Server machine connected (tried both wireless and wired at different times) to the same 2Wire router via a static IP.Samba is installed on the Ubuntu Server.Vista computers connect perfectly to Ubuntu Server.Various file transfers/communications ensue.Ubuntu Server 'disappears' from network.Sometimes after a couple of minutes.Sometimes longer.Cannot ping server.Cannot SSH into server.It's just 'gone'. Reboot server. Everything's fine (can ping, find, connect, etc.) until (some minutes later) server 'disappears' again.

The Long Version

Network Configuration

Code:
|---------------------|
| Vista Machine #1 |
| 192.168.1.70 (DHCP) |
|---------------------|[code].....
The Question: Why won't my damned Ubuntu server just stay connected to the network?

View 9 Replies View Related

Ubuntu Servers :: Lost GUI After Reboot?

Apr 25, 2010

I was using Ubuntu 9.10 and was using fireftp ( firefox plugin ) to do some ftp operation. And then I noticed firfox is fozen so I reboot my pc by switching off the power ( restart doesn't work ). When I turn it back on again, no GUI anymore. I was taken to ttyl login commend.

View 3 Replies View Related

Ubuntu Servers :: How To Get Into GUI On Reboot After Installation

Nov 8, 2010

I just finished installing Ubuntu Server Edition 10.10. After reboot it brings me to a shell prompt asking for username and then password. After putting it in I just get a blank shell prompt. How do I get into the GUI ?

View 6 Replies View Related

Ubuntu Servers :: SSH Not Starting On Reboot

Nov 29, 2010

I have set up a new IP specifically for SSH and configured SSHD_Config accordingly to listen on this new interface and a specific port. However when I reboot SSH is not starting. Looking in the syslog it shows that it is unable to start. It looks like its trying to listen on the interface before it is set up.

Code:
Nov 29 13:00:23 anubis init: ssh main process (601) terminated with status 255
Nov 29 13:00:23 anubis init: ssh main process ended, respawning
Nov 29 13:00:23 anubis init: ssh main process (610) terminated with status 255
Nov 29 13:00:23 anubis init: ssh main process ended, respawning
Nov 29 13:00:23 anubis init: ssh main process (618) terminated with status 255
Nov 29 13:00:23 anubis init: ssh respawning too fast, stopped

I am able to start SSH manually once the server is booted. Do I need to set up my interfaces differently to ensure they are available prior to SSH starting somehow? I don't want to change my ssh config to listen on all addresses.

View 9 Replies View Related

Ubuntu Servers :: ISCSI + LVM Gone After Reboot?

Feb 21, 2011

I have an iSCSI target on my Ubuntu 10.04 LTS server that is giving me access to 3 x 2TB volumes. I am using LVM to create 1 big volume and using it as a place for my backup software to write to. Upon initial setup I tested to see if the connection would still be there after a reboot, and it was. After going through the trouble of configuring my backup software (ZManda) and doing a few very large backups I had to reboot my SAN (OpenFiler) for hardware reasons. I took my server down while performing the maintenance and brought it back up only after the SAN work was done. Now, the LVM volume is listed as "not found" when booting.

Using iscsiadm I can see the target but LVM doesn't know of any volumes that exist using those targets. I need to get it back up and running and then troubleshoot the reboot issue.

View 2 Replies View Related

Ubuntu Servers :: Automatic Unmount On Reboot?

Apr 1, 2010

I have a problem while rebooting my 9.10 server when I have SAN partition mounted. The message is something about the swap that can not be cleaned during the process. All works if I unmount the partitions before shutting down or rebooting.So I though to create a bash script that unmounts the parts during runlevel 0 and 6.I've created a simple script like this in /etc/init.d:

#!/bin/bash
umount /mnt/xxx
and the I've done:

[code]....

View 7 Replies View Related

Ubuntu Servers :: Bond0 Not Starting After Reboot?

Apr 10, 2010

I am having problems with bond0 starting at boot on ubuntu server 9.10. After I do a restart I have to manually start the network with "ifup bond0". I have installed the built package (ifenslave-2.6_1.1.0-15ubuntu1_i386.deb (as indicated in Bug #482419)).

I have setup bonding for mode=6 with miimon=100 using eth0 and eth1 (both are Intel 10/100/1000 ports using an aic79xx network driver).

The contents of the aliases file are:

alias bond0 bonding
options bond-mode=6 miimon=100

The contents of the interfaces file are:
auto bond0

iface bond0 inet static
address 192.168.15.60
netmask 255.255.255.0
gateway 192.168.15.1
slaves eth0 eth1
bond-mode 6

View 9 Replies View Related

Ubuntu Servers :: High I/O Wait After Every Reboot?

May 19, 2010

The Machine

Core 2 Duo E4600
2GB DDR2 RAM (1 stick)
Intel ICH10R based motherboard (tried an ICH9R aswell)
4-port SATA controller (PCI Sil 3114)
O/S: Ubuntu Desktop x64 10.04 LTS (using 'desktop' because I like having a remote desktop)

The Storage Setup Disks: Assorted selection of 9 disk. 750GB, 1000GB and 1500GB Seagate and Western Digital disks. The disks are joined through a standard LVM2 configuration. I don't know the LVM term, but normally you'd call it a JBOD setup. On that LVM device, I've put a cryptsetup device, made with the LUKS tools (aes-xts-plain 256) On the cryptsetup device, I've created and mounted an EXT4 partition.

All in all, a completely standard LVM2 and LUKS setup, running EXT4. After a reboot, I proceed to unlock my cryptsetup encryption device, and then mount the EXT4 partition. All is well, the mount is accessible and everything looks fine. I then try to send a file to the mount, via Samba. After a few hundred MB written, the I/O wait goes berserk. It stays at 50% (dual core setup remember). The system becomes unresponsive to network commands (can't browse samba) for about 5-10 minutes. When it finally responds, the I/O wait is gone and everything is now fine. I can write and read hundreds of GB's of data without any issues at all. I can benchmark and stress all disks perfectly fine and no logs are showing disk errors.

I tried monitoring my disks with 'iostat -d 2' while the I/O wait was happening, and there is some slight Blk_read/s activity on 1 disk at a time. First for example /dev/sda is showing a little Blk_read/s acitivty, then it jumps to the next disk, and when every disk has show that slight Blk_read/s activity (500-800 or so) the problem is gone and the I/O wait is no more. I've tried changing motherboards, switching disks around on the controllers, checking individual disks, replacing disks and I've tried different versions of Ubuntu. The problem however persists. I could see it being a network issue, possibly a driver issue. But since the NIC is a standard RTL8111 on-board it seems unlike that the problem wouldn't be more widespread since this NIC is litterally being used everywhere. I did change my motherboard, so a faulty NIC seems unlikely twice in a row.

View 9 Replies View Related

Ubuntu Servers :: Updates That Needs Reboot Timeline

Nov 5, 2010

Where can I find the updates time line that requires Ubuntu server reboots for this year? Is there such a list ?

View 4 Replies View Related

Ubuntu Servers :: Upgrading Kernel Without Reboot

Dec 16, 2010

I have an Ubuntu 8.04 server running 2.6.24-23-server. I have a godaddy account and I am trying to upgrade my os version to 10.04, which requires a kernel upgrade. I have tried ksplice but kernel 2.6.24-23-server is not supported. I have heard about screen sessions but I have not found it possible to reboot one screen while having the other screen stay persistent if it is possible.So the main question is how to update Ubunut 8.04 to Ubuntu 10.04 with out rebooting the entire server? Rebooting is completely not an option at the moment.

View 1 Replies View Related

Ubuntu Servers :: Nss_initgroups_ignoreusers Is Recreated On Each Reboot

Feb 7, 2011

In /etc/ldap.conf I'm using my own nss_initgroups_ignoreusers setting. However, on each system start, Ubuntu adds its default nss_initgroups_ignoreusers line additionally to my own, and I have no idea where that comes from (needless to say, it's annoying!). So when I edit /etc/ldap.conf as follows:

Code:

# [...]
nss_initgroups_ignoreusers avahi,avahi-autoipd,backup,bin,couchdb,daemon,games,gdm,gnats,haldaemon,hplip,irc,kernoops,libuuid,list,lp,mail,man,messagebus,news,ntp,proxy,pulse,root,rtkit,saned,speech-dispatcher,sshd,statd,sync,sys,syslog,usbmux,uucp,www-data,backup

After I restart the system (and that happens on *every* startup), I've suddenly got two lines:

Code:

# [...]
nss_initgroups_ignoreusers avahi,avahi-autoipd,backup,bin,couchdb,daemon,games,gdm,gnats,haldaemon,hplip,irc,kernoops,libuuid,list,lp,mail,man,messagebus,news,ntp,proxy,pulse,root,rtkit,saned,speech-dispatcher,sshd,statd,sync,sys,syslog,usbmux,uucp,www-data,backup

[code]....

How can I disable this 'feature'?

View 1 Replies View Related

Ubuntu Servers :: No Connection To SSH After Updates / Reboot

Apr 2, 2011

I'm running Ubuntu 10.04 LTS. Last night I was doing some admin on this box, it's running apache and ASSP for spam filtering. Once I finished I started some updates.I checked for updates and applied them, but fell asleep. This morning, my session had timed out at continue. I reconnected and saw a message stating a reboot was required.I've rebooted, my usual services are running, eg apache and ASSP. I can view pages on apache and the admin page for ASSP. I'm remote from the system, so connecting over the internet and when I try to connect, it fails.

Quite urgent, however at least my services are working. However I'm not happy that I can't access the system myself.I don't know if this is my own fault for leaving updates unattended or if an update caused the problem. Thanks.

View 8 Replies View Related

Ubuntu Servers :: Remotely Reboot Via Web Interface?

May 2, 2011

Is there any web interface that I can install to remotely reboot ubuntu? It would only be accessible via a VPN or on the LAN so not too much worry over security.

View 3 Replies View Related

Ubuntu Servers :: Reboot Command Shutting Down PC

Jun 6, 2011

I have problem with my reboot command.
sudo reboot and sudo halt -f now don't work (they don't reboot)
but sudo halt -p is shutting down my PC.

View 9 Replies View Related

Ubuntu Servers :: /tmp Cleared On Server Reboot?

Jul 26, 2011

I installed 11.04 server and had samba share /tmp (as advised by the server pdf doc) shared to my windows 7 laptop, which was all well and good, so copied some files to it and rebooted the server, and they had been removed.i guess i shouldnt have put anything in /tmp as i presume this is cleared on reboot, so why did the documentation advise to create /tmp share?

View 1 Replies View Related







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