Ubuntu Servers :: RAID6 Fails To Re-assemble After Restart (left With Spare Device In /dev/md_dX)

Apr 1, 2011

As per [URL] I built a RAID6 array. yay. In the end it completed.

Code:

fermulator@fermmy-server:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2000 : active raid6 sdo1[3] sdn1[2] sdm1[1] sdl1[0]
3907026944 blocks level 6, 64k chunk, algorithm 2 [4/4] [UUUU]

To test stability, I rebooted the system, but on reboot, the array wasn't assembled correctly. Basically it had one device in "md_d2000", as a spare. So I stopped that device with

Code:

sudo mdadm --stop /dev/md_d2000

The superblocks looked good ...

Code:

fermulator@fermmy-server:~$ sudo mdadm -E /dev/sd[lmno]
/dev/sdl:
Magic : a92b4efc
Version : 00.90.00

[code]...

I don't have any important data on the array yet ... so I zero'd the superblocks on all devices, deleted the partitions, and started over .. here I go again:

Code:

md2000 : active raid6 sdo1[3] sdn1[2] sdm1[1] sdl1[0]
3907026944 blocks level 6, 64k chunk, algorithm 2 [4/4] [UUUU]
[>....................] resync = 0.7% (14164844/1953513472) finish=313.7min speed=102999K/sec

View 4 Replies


ADVERTISEMENT

General :: Mdadm - RAID5 To RAID6, Spare Won't Become Active

Jun 21, 2011

I've been playing with this for hours, and have been unable to figure it out. I tried to convert my RAID5 array of 4 active disks and 1 spare to a RAID6 with 5 active disks.

I did this:

Code:
mdadm --grow /dev/md4 --raid-devices 5 --level 6
Here is what I have on /dev/md4:

Code:
/dev/sde1 active
/dev/sdg1 active
/dev/sdj1 active
/dev/sdf1 active
removed
/dev/sdh5 spare
code....

but it tells me that /dev/sde is busy, and then that it has a bad superblock (From what I've read, I'm sure the bad superblock is just because of the "busy" message). I've tried this with the -f option, too, with no luck.

View 7 Replies View Related

Ubuntu :: Cp -rfp Fails : "No Space Left On Device" - Error

Jan 19, 2011

I was running a python script tool and got this error. Exception: Command cp -Rfp /home/anil/mydroid/myfs/* /tmp/tmpX2KZDc failed (I am on dual boot ubuntu 10.10 with Win XP.) Here is a partial output from the console. Note the "No space left on device" error, when writing to /tmp.

Quote:

mke2fs 1.41.12 (17-May-2010)
Filesystem label=android_fs
OS type: Linux

[code]....

View 1 Replies View Related

Ubuntu Servers :: Apache Restart Fails After Power Loss?

Oct 25, 2010

I have observed a problem twice now with Apache trying to restart but hanging somewhere in the process. This happens after a power failure; the machine comes back just fine, but not the web server. The machine is on a UPS, but occasionally it runs out of "juice" before someone can get to it (we have a generator for emergencies). When this happens, a ps indicates about three processes running that are trying to start Apache, but they just sit there - this time for three days since the power failure was on a Friday. I can fix this by killing those processes and doing an Apache restart - but that takes human intervention, which is not acceptable.

I suspect this may have to do with SSL, since when I do a manual restart it asks me for the SSL password. There must be some way around this so the system can recover on its own. This system's web site runs under SSL since it maintains medical information that must by law be protected. But it also could be life-threatening to someone if the system can't come back and as a result a person can't get help.

So I would appreciate some guidance as to what I could change that would allow for system recovery without intervention. I'm happy to provide any configuration file info, if you tell me where to look.

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

Hardware :: Raid6: Disk Failure On Sdb1, Disabling Device?

Jun 9, 2010

For backup purposes, I built a RAID6 array on USB. When during the night the backup filesystem is being mounted, every so many days, a random disk fails:

Code: sd 9:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:0: [sdb] Sense Key : Illegal Request [current]
sd 9:0:0:0: [sdb] Add. Sense: Invalid field in cdb[code].....

In other words, my RAID set fails every so many mounts, but I know how to fix it.What I want to find out is:

- Why is a random drive failed every now and then?

- How can I prevent that drive from being failed?

BTW: I have a second RAID set that has been functioning for years without error, so the setup I use must be correct. The only difference between both RAID arrays is the different vendor of the disks.

View 1 Replies View Related

Ubuntu Servers :: Getting Md Raid To Auto Assemble On Boot

Jun 20, 2011

I have Ubuntu 10.10 (maverick) and I'm using mdadm 3.1.4. I have created a RAID 10 using imsm as the metadata, and this runs successfully if I assemble the RAID from the command line. My question is: How do I get the RAID to auto assemble when I boot the system? I would like to be able to mount the RAID when the system starts up (but the OS is on a separate disk altogether). What I've found out so far is that I must do a Code: update-initramfs -k all -u AFTER I've modified the /etc/mdadm/mdadm.conf file. This is what I've got in my configuration file:

[Code]....

BUT what happens is that when I reboot my server, and then do "ls -l /dev/md*" there is no listing at all for any RAID devices. I actually have to run the assemble command on command line and that is when I see listings for RAID devices under /dev. What am I missing?

View 9 Replies View Related

Ubuntu Servers :: RAID Won't Assemble: Failed To Add /dev/sda To /dev/md0: Invalid Argument

Jul 3, 2010

My hard drives kept dropping out of the raid array, so I finally identified the problem as a bad sata cable. I redid the wires and now when I try to assemble I get this:

Code:

mdadm -v --assemble --scan /dev/md0
mdadm: looking for devices for /dev/md0
mdadm: no recogniseable superblock on /dev/sde4

[code].....

View 5 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 :: Recovered Raid6 Array With No Fs After Recovery?

Aug 20, 2010

I have an 8x1TB raid6 array that I finally got back to a good state (see my other post here: [URL]..This is on a 9.04 server Now I can assemble the array no problem, but mounting is the issue. I think the reason might be because the array order changed. In the process of recovering I removed the /dev/md0 array and created a new array. In the create array command it told me:

Code:
mdadm: /dev/sdb1 appears to be part of a raid array: for each device in the array. I confirmed that I wanted to continue and the array was recreated. I think this overwrote the superblock, but I'm not sure.

After the sync I tried to mount the array using:

[Code]...

View 9 Replies View Related

Ubuntu Servers :: 15K/sec Rebuild Speed On Mdadm RAID6 Array?

Jul 18, 2011

Code:

$cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]

[code]....

1/4 of my drives died after about 3 years of usage. I replaced it with an identical drive and did a mdadm -add to re-add it to the array. I expected this to take quite a long time, but not more than 1 million minutes to complete!

View 5 Replies View Related

Ubuntu Servers :: Get A Spare Computer Up And Running With 10.10 64bit

Nov 13, 2010

been trying to get a spare computer up and running with 10.10 server 64bit no dice so far, after hours of memchecks, disk checksums, re-burns and whatnot..install stops at 73% and does f. all.. tail log shows that it stops at updating sources, alt+f2 and ps aux shows apt-get update process running. if I kill this process, I can continue with the installation, but for this I need to repeat same process - killing all the apt instances that show up - so that it can complete the install. Unacceptable imho. computer is a AMD cpu based, athlon 2 435 on an ASUS M4A89TD PRO mainboard. ddr3 4gb crucial ram sticks. drives are functional S-ATA. No external GPU, so using IGP.

Tried installing without eth-cable plugged in, with it plugged in, with a usb install (that sorry excuse for an install was even worse, "please insert cd" midway) I know I can get the install going with desktop version.. But why would I want an xserver running on a headless computer. Kind of pissed atm, spent so many hours at this, figuring it just might be a faulty HW item. It isn't. using 10.10 desktop on my laptop and production pc - and been using 8.04 as main server, until now...

Edit: another one of them optiarc sony nec **** for brains dvd/cd-rom/writer it seems. add a check for this in future releases, with big bold letters "YOU ARE SCREWED, BUY NEW HARDWARE" printed as soon as the cd loads in these drives.. I've got better things to spend my time on than staring at a screen trying to figure out why it won't load properly

View 2 Replies View Related

Ubuntu Servers :: RAID5 - Re-adding Drive As Active, Not Spare?

Jan 13, 2011

I have a little nice Ubuntu server with 6x 1TB drives assebmbled into a RAID5 array. Recently SATA cable of one of the drives failed. So I ordered a new cable and ran the server in degraded mode for a few days. Like this:

Code:
/dev/md0:
Version : 00.90
Creation Time : Sat Sep 19 10:39:11 2009
Raid Level : raid5
Array Size : 4883812480 (4657.57 GiB 5001.02 GB)
code....

I'd like the 6th drive to be active, not spare, like before. Should I just wait for rebuild to be finished (it can easily take over 1 day)? Or should I add it somehow differently to be active immediately?

I'm not sure, but I think as I simulated failures unplugging one of the disk, after plugging it in again, the "failed" drive was active again and rebuilding was started as well of course. But it was 2 years ago, so...

The array works just fine for now - I can access files, etc. But I suspect, that in this state if another cable or drive fails, it won't survive anymore. Even after rebuilding is finished, but the 6th drive stays is still marked as "spare". Right?

View 4 Replies View Related

Ubuntu :: No Space Left On Device Errors

Mar 16, 2010

I recently upgraded from Lucid to Maverick, which went fairly smooth. Then I upped my RAM with some new memory sticks (4Gb to 8Gb). Since about then, I'm seeing these errors in syslog:

Code:
Jun 6 22:23:52 howler console-kit-daemon[1224]: WARNING: Failed to add monitor on '/dev/tty2': No space left on device
Jun 6 22:23:59 howler console-kit-daemon[1224]: WARNING: Failed to add monitor on '/dev/pts/0': No space left on device
I also get errors when running "tail -f" as root:

Code:
tail: cannot watch `/var/log/syslog': No space left on device

I searched around and I found some other reports of the tail -f error, with the suggestion of increasing fs.inotify.max_user_watches. I set it to 16384, and that at first resolved the tail -f problem, but now I'm getting that error again even after upping max_user_watches.

I know swap is suggested to be approx. the same size as RAM, but with this upgrade RAM is now bigger than the 5.7G of swap.

View 3 Replies View Related

Ubuntu :: Error - No Space Left On Device

Apr 21, 2010

i'm using Ubuntu virtual machine.latly, i've moved the VM image to other PC. something with the user privileges got wrong. i when i edit a file using nano for example from a simple user, it says: "no space left on device" but when i use

# sudo nano filename

it works.i used

#chmod 777 filename

and it still dosent work. i cant save/write to disk while i'm in the user account. but with sudo, or root account it works.

View 1 Replies View Related

Ubuntu :: Dpkg Error - No Space Left On Device

Feb 11, 2010

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. Yes I tried 'sudo dpkg --configure -a' Should I do a reinstall.

"Setting up initramfs-tools (0.92bubuntu53) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.31-17-generic

gzip: stdout: No space left on device update-initramfs: failed for /boot/initrd.img-2.6.31-17-generic dpkg: subprocess installed post-installation script returned error exit status 1"

View 3 Replies View Related

Ubuntu Multimedia :: No Space Left On Device After Upgrade To 9.10

Apr 20, 2010

I've just upgraded to kubuntu 9.10, and I'm getting strange errors when trying to copy files onto my MP3 player, a SANSA M250 (2GB). df claims it's at 57% capacity (and the figures make sense for that, as well as having about the quantity of music which half fills the SANSA) but when I try to copy a file - from the command line, from exaile, or with the file manager, I get a "No space left on device" error:

Code:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 73939452 42184580 27998880 61% /
udev 512472 264 512208 1% /dev
none 512472 1752 510720 1% /dev/shm
none 512472 96 512376 1% /var/run
none 512472 0 512472 0% /var/lock
none 512472 0 512472 0% /lib/init/rw
/dev/sdc 1996000 1125056 870944 57% /media/SANSA M250
$ cp test.mp3 /media/SANSA M250/
CP: cannot create regular file `/media/SANSA M250/test.mp3': No space left on device
The MP3 being copied is 2MB in size so should fit easily.

There were no problems until upgrading, when I also moved from amarok to exaile - because amarok2 doesn't have the functionality I want from a player. But this happens even if exaile isn't running, so exaile shouldn't be the problem. How can I diagnose what's going on?

View 1 Replies View Related

Fedora :: No Space Left On Device

Jul 31, 2010

I have an WD 1TB external hard disk. When I try to write any file to it - even a 1kb text file - I get the message "no space left on device". I cannot write to the disk at all anymore - not files, not directories.The drive is formatted as an NTFS drive. I use F13. I can read from the drive without any apparent problem. Would anyone know what's causing this problem?

View 2 Replies View Related

CentOS 5 :: No Space Left On Device?

Apr 10, 2009

I am trying to copy some files onto a flash card. The first thing that i do is mount to the flash card:

mount /dev/sdc1 /mnt

then i try and copy a file

cp dev.bin /mnt

but i get a message saying:

cp: writing `/mnt/dev.bin': No space left on device

I was able to copy some files before but i cant seem to do it anymore.

how can i delete everything thats on the flash card so that i can copy files onto it?

View 3 Replies View Related

Debian Configuration :: No Space Left On Device

Mar 15, 2016

Debian Version: 8.3 (Jessie) KDE (although this is NOT a desktop issue)
Basic Hardware:
Gigabyte Motherboard GA-970A-D3P
AMD 8350 CPU (8 cores)
32 GB DDR3 RAM
120GB SSD SATA-6GB/s
750 WD Black SATA-6GB/s

I am getting "Error: No space left on device" regularly during updates or installs, but why. Here is data on the disks, filesystems, etc...

Code: Select all df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        81G   27G   50G  35% /
devtmpfs         16G     0   16G   0% /dev
tmpfs            16G   76K   16G   1% /dev/shm
tmpfs            16G   18M   16G   1% /run

[code]...

Seems very doubtful that inodes are the killer.I have googled and followed all the threads, and search these forums and found nothing that fits - every answer there was focused on avaiolable space and inodes..And to make the cheese even more binding, the issue has cropped up on another 8.3 system with far more disk space (larger hard drives) and lots more unused inodes

Code: Select alldf -h
Filesystem                        Size  Used Avail Use% Mounted on
/dev/dm-0                         907G  6.6G  855G   1% /
udev                               10M     0   10M   0% /dev
tmpfs                             995M  9.2M  986M   1% /run
tmpfs                             2.5G   76K  2.5G   1% /dev/shm
tmpfs                             5.0M  4.0K  5.0M   1% /run/lock
tmpfs                             2.5G     0  2.5G   0% /sys/fs/cgroup

[code]...

View 11 Replies View Related

Ubuntu :: Can't Login - Failed To Load Module 'dri' No Space Left On Device?

Jul 3, 2011

I'm unable to login to my Kubuntu Lucid. The login screen takes my password, blanks, then returns me to the login screen. I'm getting some graphics errors when running from recovery mode as well as the no space left on device error when attempting to start x from the terminal. Here are some outputs: When starting from recovery mode, selecting failsafeX from the Recovery Menu:

[Code]...

I've come to the conclusion that my root partition is full, but I'm not sure how to clear space, or how much to clear once I work out how to do it. I removed a few packages with apt, but it doesn't seem to have any effect. df -h shows that root is 100% full, yet it has 3GB free. I've grown comfortable with Ubuntu in the couple years I've been using it, yet this level of problem-solving is a bit nerve-wracking to me. I've been considering reinstalling (this machine is running Lucid upgraded from Karmic and Jaunty and has a few oddities), but I hate the idea of being forced to reinstall because I can't overcome this problem. If you need any other information or outputs from terminal commands, I'm happy to provide it.

View 7 Replies View Related

Red Hat / Fedora :: Cannot Write To Ramdisk - No Space Left On Device?

Jul 7, 2011

I am trying to write to a Ramdisk because I suffer from terrible IO speeds on my VPS. It uses openVZ and I run a Centos 5 distro.

So i created my ramdisk with '/bin/mount -t tmpfs -o size=1G,nr_inodes=10k,mode=0775,noatime,nodiratime tmpfs /tmp'

but whenever I try and copy files to it, it just spams me with 'no space left on device even though there is!

Here is the output of df:

/dev/simfs 157286400 6511452 150774948 5% /
none 16441412 4 16441408 1% /dev
tmpfs 5242880 1296 5241584 1% /disk/test
tmpfs 5242880 1296 5241584 1% /disk/test

[Code]....

View 1 Replies View Related

CentOS 5 :: No Space Left On Device On Xfs Filesystem With 7.7TB Free

Mar 26, 2011

I'm running CentOS 5.2,on a 64-bit x86_64 Linux machine with kernel version 2.6.18-128.el5 smp. I appear to have version 2.9.4 of xfsprogs. I have a 22TB xfs filesystem ,Yesterday, the hard disk is full, today released a 7.7T disk space.But still can not write to new file. software ambience:

[root@Production data5]# uname -a
Linux Production 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

[code]....

View 5 Replies View Related

General :: Sort Big Files, /tmp/sortA3aLjF: No Space Left On Device

Aug 3, 2010

i'm sorting 8GB text file but came up with this error for an investigation

/tmp/sortA3aLjF: No space left on device

is there anyway that sort won't use /tmp?

View 3 Replies View Related

Software :: Getting No Space Left On Device When There Appears To Be 433g Free

Nov 23, 2010

I'm using a large xfs partition on a large raid volume using 7 1TB drives. I am currently getting a "no space left on device" error message when creating files or directories. However I see the following output when checking space limitations.

df -h
[root@system]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdd3 18G 775M 16G 5% /
/dev/hdd1 99M 15M 80M 15% /boot

[Code].....

View 4 Replies View Related

Ubuntu Servers :: RAID-5 Recovery (spare/active) / Degraded And Can't Create Raid ,auto Stop Raid [md1]?

Feb 1, 2011

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.

View 4 Replies View Related

General :: Ibv4l2: Error Turning On Stream: No Space Left On Device

Jan 4, 2011

ibv4l2: error turning on stream: No space left on device

Webcam work in:
fps: 1/30
formate:JPEG/WMV

it works not perfect on guvcview

View 4 Replies View Related

Ubuntu :: Fresh Install Of 8.10 \ Restart The Computer It Fails To Load?

Oct 14, 2010

I am having problems with getting the drivers to work for a geforce 9500gt.To get started Im working with a fresh install of 8.10, and I have successfully installed the driver package for this card from nvidia's site, version 260.The problem comes after I restart the computer. It fails to load. I am able to install the driver and start X and it works greatI can even restart x and it still works. but as soon as I restart the computer it doesn't load. I then need to reinstall the driver. I am curious if anyone has an idea of whats wrong here? I am wondering if it's a possible xorg.conf problem so I will post that below.

xorg.conf file
Section "ServerLayout"
Identifier "Layout0"

[code].....

View 1 Replies View Related

Slackware :: Compiling Large Slackbuilds - Error-message - Not Enough Space Left On Device

Aug 20, 2010

I am currently running slackware 12.2 on a 25 GB partition. I like to use slackbuilds, but when I try to compile larger tarballs (like abiword, or a patched version of Ghostscript as I did today) I receive an error-message: 'Not enough space left on device'. I think the size of the partition must be big enough (I never got this message when compiling with Linux From Scratch). I think it has something to do with the size of my /tmp directory, but I don't know how to fix this. Is there a way to solve the problem, so that I could be able to use slackbuild-scripts?

View 4 Replies View Related

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







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