Ubuntu Servers :: /dev/md/0 Has Been Started With 3 Drives (out Of 4)

Jun 16, 2010

I installed mdadm and created an array of 4 drives in RAID 5

the problem I'm having is after I rebooted my machine and tried to mount my array it forget's to add 1 drive to the array

[nrooy@sniper-wolf ~]sudo mdadm --assemble --scan --verbose

Code:
mdadm: looking for devices for further assembly
mdadm: cannot open device /dev/block/251:1: Device or resource busy
mdadm: cannot open device /dev/root: Device or resource busy
mdadm: no RAID superblock on /dev/sde

[Code].....

View 6 Replies


ADVERTISEMENT

Ubuntu Servers :: RAID-1 OS Drives - Setting Up A Backup Procedure For The OS Drives

Jan 18, 2010

I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.

Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.

Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.

View 4 Replies View Related

Ubuntu Servers :: Get Started On Controlling Hardware?

Jan 24, 2010

I have been a website designer for sometime now and i was wondering about tring out some of the hardware world. (dont get me wrong im no n00b, i can build a pc from scratch) What is the best way to get started on Controlling Hardware? i mean controling a small electric motor to spin a wheel when a button is pressed on the computer or somthing like that? And can this be done with PHP so i wont have to worry about leaning another programming language? Is it very difficalt? Where should i start?

View 2 Replies View Related

Ubuntu Servers :: Evaluate What Started The MySQL Daemon?

Oct 13, 2010

I installed MySQL on my Ubuntu 10.04 desktop. As I need it only once a month I removed it from all runlevels but mysql is still running after boot up. "lsof" shows that it is running and listening for connections.

Code:
neo@ubuntu:~$ sudo lsof -i
[sudo] password for neo:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sshd 927 root 3u IPv4 7819 0t0 TCP *:ssh (LISTEN)
sshd 927 root 4u IPv6 7821 0t0 TCP *:ssh (LISTEN)
avahi-dae 945 avahi 12u IPv4 8107 0t0 UDP *:mdns
avahi-dae 945 avahi 13u IPv6 8108 0t0 UDP *:mdns

[Code]...

How can I evaluate what started the MySQL daemon? WHy is it running?

View 1 Replies View Related

Ubuntu :: No Sound In KDE When Started By Startx While Working Fine When Started By Kdm/gdm

Dec 14, 2010

I recently installed KDE in my ubuntu 10.10. To access KDE, I want to use
startx /usr/bin/startkdeBut using it disables sound in KDE (Sound is working fine in GNOME). It doesn't sound for anything like login sound, totem, mplayer or any other playerBut when I press Alt+Ctrl+F1 to change to virtual console, the playback resumes from where it was in time and when coming back Alt+Ctrl+F7 and the time in totem (or any other player) doesn't move. While log out also it doesn't play logout sound and doesn't logout, so I have to press Ctrl+Alt+F1 so that logout sound play then it exits.When starting KDE by kdm or gdm, the sound works normally. But I don't want to login again using kdm or gdm and not to use root user to start kdm or gdm.I don't know what is the difference between when KDE is started by startx or by kdm/gdm where the same user login in kdm/gdm as that for startx

View 2 Replies View Related

Fedora Servers :: Vsftpd: Allow Remote User To See Configuration .files (i.e. Started From Dot)?

Feb 4, 2010

I'd like to configure vsftpd server in a way to allow remote user (local) too see and edit configuration files in their ftp directory starting from dot (like .htaccess, for example). With default configuration + "local_allowed = yes" it does not appear to be possible:user can successfully upload .file but could neither see if it is in directory nor download it.

View 5 Replies View Related

Ubuntu Servers :: Dns Server Started With 2 NIC Cards - Bios Sees Both Cards But - Both Dont Show In Ifconfig

Dec 1, 2010

I have a dns server started with 2 NIC Cards in it. The bios sees both cards but they both dont show in ifconfig. is there a way to activate the second card?

View 1 Replies View Related

Ubuntu Servers :: RAID 0 With Different Drives?

Jan 26, 2010

I have two drive on my Ubuntu server. I have a 40GB IDE 5400RPM and an 80GB SATA 7200RPM.

Is it at all possible to RAID 0 the two of these drive? I know it's pretty unorthodox, but it's what I've got without having to buy anything.

If so, what are the limits, cons, and/or potential pros of doing a RAID of these two?

View 9 Replies View Related

Ubuntu Servers :: Getting Grub On Multiple Drives?

Jun 6, 2010

(tangent to my other thread "Karmic -> Lucid not booting"). I have four hard drives on a Lucid box, and (as it happens) the fourth drive is the boot and root. Could I also install grub on the other three (ext4) hard drives, keeping the same root? Will this disturb the data there? How would the machine decide which copy to use, anyway?

View 2 Replies View Related

Ubuntu Servers :: Sas Driver For The Hard Drives?

Sep 4, 2010

I have this server board by supermicro: H8QM3-2 I would like to know if there is a sas driver for the hard drives? I want to use ubuntu 64bit but fail to find a driver for my sas hard drive.

View 2 Replies View Related

Ubuntu Servers :: 10.04 Not Recognizing USB Drives Suddenly

Sep 17, 2010

We do server backups to USB HDD's. Neither of our known good backup drives are being recognized by our 10.04 server, fully updated. Additionally, I plugged in my SanDisk 4GB USB mem stick, and it is not recognized either. I am used to seeing the kernel do some PnP messages in either /var/log/messages or /var/log/syslog and I am not seeing any blips there what so ever of the USB drives being plugged in. Did something happen to USB PnP with some latest update? USB HDD's were being recognized recently, like six weeks ago...

View 9 Replies View Related

Ubuntu Servers :: Use Multiple Hard Drives As One

Oct 9, 2010

I have a second hard drive that I plan on placing in a computer I wish to use this computer as a server so my question is how could I use these 2 hard drives as one lets say one is 80Gb and the other is 40GB how could they be shown as 120GB instead of being seperate The installation of server planned on being used is 10.04.

View 7 Replies View Related

Ubuntu Servers :: Not Authorized To Mount Usb Or DVD Drives

Jan 2, 2011

I've got a 10.04 server install, on which I installed a basic gnome desktop. But I've never been able to automount usb drives or DVD/CDs!?but seem for desktop. May relate to not having standard gnome install? I don't have users-admin to try that, and don't see install package.

View 6 Replies View Related

Ubuntu Servers :: Sharing External USB Drives?

May 1, 2011

Just moved my Mac Server to Ubuntu Server 10.10. I have two external USB drives that need to be shared on the network and be available on the internet for sensitive file transfer. What would be the most secure way to do it ? Some users are mobile and some not. The mobile users can access the network through a vpn running on that same server. The server is serving DNS and Proxy as well. I thought about creating a SAMBA share but the two disks are 1TB each. Then I went for proftpd but after reading some doc, it appears not very secure.

View 1 Replies View Related

Ubuntu Servers :: Esxi Mounted Drives

Jun 26, 2011

I have ESXI 4.1 installed with Unbuntu Server 11.04, Gnome.I have 8 SATA drives installed they show up in unbuntu as removable media.I wish to share them to my windows users on my lan using.The problem is it will not allow me to change the permissions for the shares and as such when my windows clients try to access the shares they are told asscess denied.Samba will share folders created on my desktop ok, I have tryed sharing a folder in the draws but it still did not work.

View 4 Replies View Related

Ubuntu Servers :: RAID6 Rebuild - Drives Got Out Of Sync?

May 16, 2010

I have a 12 disk raid 6 Array with 2 additional spare drives. Two of the drives got out of sync (because I was fat fingering the mdadm commands while trying to reassemble the array), so I added them back as spares. This is what mdadm is showing me:

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Backup System To Hard Drives?

Oct 12, 2010

I currently have an Ubuntu 10.04 Server with 10 2TB hard drives (Hot Swappable). I discovered that having a software raid over 16TB is not supported, so I split the drives into 2 sections and have 2 Software Raid arrays storing my movies, audio, pictures, and other software. The total current usage is around 7TB.
Since backing the files up to DVDs or even BlueRay is laughable, I am going to backup the system to 2TB hard drives probably 4 of them, the problem becomes that I can only hook one backup drive at a time into the system using a hot swap tray. Now I know that I can do this manually by copying the files one at a time to the drive until it is full, switching the drive out and repeating this, but I am hoping for an automated solution, Start backup, plug first drive in, system fills up drive, swap and repeat. Also it would be nice if the system remembered what had already been backed up so when I add files to the system, I only need to attach the last drive and not start the process over.

View 3 Replies View Related

Ubuntu Servers :: Replace Hard Drives But Keep System?

Jan 26, 2011

Our company just bought faster hard drives for our webserver. A lot of the software and services set up on this machine have had config files set up, etc.. It would take a while to rebuild it from scratch, which i may have to do. I know most config files are in /etc and i can use apt to spit out a list of installed packages.

Any tips that i may want to know to avoid any gotchas here? We need to minimize downtime, of course, and get everything up like it is now.

View 4 Replies View Related

Ubuntu Servers :: Suitable Drives For Software RAID 5?

Mar 9, 2011

I'm looking for advise on which drives to add into my server for software raid 5. I would like to use 2TB drives for the array. The server currently boots off a RAID 1 array and I have a couple other drives mounted until I build a RAID 5 array with new drives. I've read horror stories on using Western Digital WD20EARS and Seagate ST32000542AS. So I'm wondering which large drives are best to use in software raid?

View 9 Replies View Related

Ubuntu Servers :: RAID 5 Software Array With 3TB Drives

Jun 15, 2011

I am trying to use 3 3TB Western Digital drives in a raid 5 software array. The trouble seems to be that the array is created with only 1.5 TB of capacity, rather then the expected 6 TB.

Here are the commands and output:
$ sudo dmraid -f isw -C BackupFull6 --type 5 --disk /dev/sde,/dev/sdf,/dev/sdg --size=5589G
Create a RAID set with ISW metadata format
RAID name: BackupFull6
RAID type: RAID5
RAID size: 5589G (11720982528 blocks)
RAID strip: 64k (128 blocks)
DISKS: /dev/sde, /dev/sdf, /dev/sdg
About to create a RAID set with the above settings. Continue ? [y/n] :y

$ sudo dmraid -s
*** Group superset isw_cdjhcaegij
--> Subset
name: isw_cdjhcaegij_BackupFull6
size : 3131048448
stride : 128
type : raid5_la
status : ok
subsets: 0
devs : 3
spares : 0

So I cannot understand why the size of the created array is only 3131048448 or about 1.5 TB. The first command seemed to imply it was going to create an array with 5589GB.

System is:
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid

View 8 Replies View Related

Fedora Servers :: Map Windows Drives ?

Jan 28, 2009

I have a windows file server and a windows AD domain controller. all windows workstation users are able to log in to their workstations authenticated by Windows DC and also shared drives on the file server mapped with logon scripts. now i m creating linux workstations and have been successful in adding the linux machines to the domain and users are authenticated from the windows DC. now comes the question of mapping the shared drives for each user. the script on the windows DC is as below:

Code:

For each user the script is different and users sit on any workstation. is their any way Linux can be made to understand this script and drives be mapped for users?

View 14 Replies View Related

Ubuntu Servers :: Mounted External Drives Keep Changing Designation

Mar 7, 2010

I have a headless 8.04 server with 2 USB drives attached. I'm trying to move everything off the 1.5TB drive onto a few 300GB drives (so I can then use LVM on the 1.5TB drive and move everything back onto LVs.)I check the drives using 'fdisk -l'. They show up as sdc1 and sdd1. I mount them and start a cp operation.When I run fdisk again, the drives are no longer sdc1 and sdd1. Now they are sde1 and sdf1 (and of course, they are no longer mounted.

What could be causing this and how do I fix it?I need to fix this ASAP because the 1.5 TB drive seems to be going bad. Every few seconds I hear a big "click" as though the head arms are smacking against a stop. (This is the 2nd brand new 1.5TB drive that has started doing this!)

View 5 Replies View Related

Ubuntu Servers :: Cant Mount Or Partition Or Format Hard Drives

Apr 8, 2010

I have a server with 3 hard drives

1 400GB
2 1TB

The 400GB has the OS and SWAP while the 1TB are going to be used as storage....

Now for the problem, when I have both the 1TB drives in I can not format or mount either 1TB drives. Says Device is in use or "The device file '/dev/sdc1' does not exist"

Now if I take one of the 1TB drives out I can format, partition, and mount it no problem...it only seems to be a problem when both drives are connected...

Ubuntu Server Linux 9.10

Code:

Code:

Code:

View 4 Replies View Related

Ubuntu Servers :: File Sharing And Permission (Three Hard Drives)

Apr 17, 2010

Here's the background.
1x Windows Vista laptop (laptop1)
1x Windows 7 laptop (laptop2)
1x Mac laptop (laptop 3)

I am running Ubuntu server with 3 hard drives. I have Webmin installed. So far, I have the three laptops being able to connect to samba and accessing /home/insert_user_here. All laptop users have access to my /media/data2 (photographs, videos). That's all good. At first, I couldn't get other users but laptop 3 to access /media/sdb1, but I fixed that by changing permission to 755 so I guess everyone can access this. Atm, I want to only allow laptop #3 to connect to /media/sdd1 (be able to read/write/etc.) while laptop 1 and 2 can't even see the files. Also, laptop 1 and 2 can't seem to read and write through file share.

View 1 Replies View Related

Ubuntu Servers :: Use Command Line To Setup Shared Drives

Jul 14, 2010

setup a number of shared drives for accessing music, movies, photos and general files (documents, pdf files etc). now while a gui would be great, how to use the command line to setup these shared drives and also how to make the available in both windows and linux.

View 6 Replies View Related

Ubuntu Servers :: Hdparm Won't Put Drives To Sleep After Specific Time

Feb 17, 2011

I've just put together a 10.04 server using a GA-D525TUD atom board. I've installed gnome desktop too. I'm trying to get 4 sata drives to go into standby, but hdparm seems to be ignoring the settings. If i issue hdparm -y /dev/sdx the drive duly goes into standby and stays in standby until accessed. I've put entries in rc.local along with the hdparm.conf settings, but still no joy.

Hdparm.conf:
/dev/sdb {
spindown_time = 244
}

[code]....

View 9 Replies View Related

Ubuntu Servers :: Accessing Storage Array Drives From LiveCD?

Jun 22, 2011

I'm trying to delete directories (long story, Mac temp files there, Windows not cooperating) on a sever connected to a HP 20 Modular Smart Array set up as RAID5. System currently running Windows. I've booted from a 9.10 LiveCD but can't see the external drives. Is it correct that I need to install mdadm to "see" those drives from LiveCD? From a different machine (linux) I can mount the drive using samba like so:

sudo smbmount //IP address/hostname RAID5 Root Share /mnt/ntserver -o username=smith,password=abcde123

I have admin privileges on the Windows OS. In linux (or Windows beforehand), is it possible to take ownership of the directories so that I can do a rm -f -r <dir> ?

View 6 Replies View Related

Ubuntu Servers :: Lock The Drive Letters To Certain Drives At Boot?

Jul 24, 2011

Is there any somewhat straightforward way of lock the drive letters to certain drives at boot?

I have searched a lot on this and the only thing that have come up is a rather long and complicated way using scripts etc.

A simple fstab example on how to make an uuid to boot at say sda1 everytime and not like now totally random even though I have the same drives in the same places with no portable devices and only a std setup with /boot, /, /home, /swap. +some storage drives.

This uuid creates a havoc on my Truecrypt favorites mounting that relies on labels.

If this is not possible how far back do I have to go get rid of uuid?

I know that 10.04 LTS was working fine at first, is it in the kernel version that it is decided?

View 3 Replies View Related

CentOS 5 :: Mirror The Drives And Link All The Servers Together?

Oct 11, 2009

I am Setting up 3 HP Proliant servers with 2 250GB Hard Drives in each. How Do I mirror the drives, and link all the servers together??? I am installing Centos 5.3. From the software install menu I installed Gnome, and the Server software, but can't seem to figure out how to get into the server side of it from gnome. Sorry for all the questions, but I have been out of the loop of all this for about 8 years and trying to re-learn everything.

View 4 Replies View Related

Ubuntu Servers :: Xferred Hard Drives To New Computer And Apt Fails To Fetch

Nov 5, 2010

I recently moved my ubuntu 9.10 server over to a new case with more memory, and when I did the webserver worked like a charm, but now apt-get is broken. Checked my 70-persistent-net.rules and saw the new NIC was there, so I edited my interfaces to use eth1 for the new NIC, but apt is still not working, failing to fetch everything. here is my 70-persistent-net.rules

Quote:
# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:40:2b:69:76:$69:76:1d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10b7:0x9200 (3c59x)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:06:5b:4f:86:$4f:86:5a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
[Code]....

View 6 Replies View Related







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