Hi everyone!
The story is a bit of a long one:
I ran a raid 5 with 3 disks and one spare (which is now a raid 6). Since space grew to small I decided to upgrade via the good ol' fail-remove-add-resync-repeat-grow method. Takes me a while because of work and uni to get the time but i digress...
The last disk I added ended up in a different array (I have no idea how i managed that...) and then one of my disks failed. I replaced it, resynced, noticed that the previous disk was in the wrong array, deleted that, added the disk to the right one, resynced, ... somewhere in there a second disk failed and it took a bit of disk juggeling and about 5 resync attempts but now i have a raid 6 with 4 disks.
Now to the problems part:
#1:
While booting I get an error from fsck, that it can't resolve "UID-<Hexstring>" what appears to be the old mountpoint of my raid.
I found some info on the web how to repair that, but it somehow interfered with my other problems.
#2:
My raid now consists of 4 disks and no spares.
I made a mistake here while adding the last disk... is it possible to somehow convert one disk to a spare or should i just roll with it and fill the last empty hdd-slot in my server?
#3:
I can't mount my raid. And i have no idea why and how to fix it.
So I'm really desperate and any help would be greatly appreciated.
Some info:
================================================================================
= OS/Debian information
================================================================================
Distributor ID: debian
Description: Debian GNU/Linux 7 (wheezy)
Release: 7.6
Codename: wheezy
================================================================================
= OpenMediaVault information
================================================================================
Release: 1.0.27.3
Codename: Kralizec
Alles anzeigen
root@sarah:~# more /proc/mdsstat
/proc/mdsstat: No such file or directory
root@sarah:~# more /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active (auto-read-only) raid6 sdd[4] sda[3] sdc[5] sdb[1]
3906765824 blocks super 1.2 level 6, 512k chunk, algorithm 2 [4/4] [UUUU]
unused devices: <none>
root@sarah:~# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Tue Feb 17 14:42:30 2015
Raid Level : raid6
Array Size : 3906765824 (3725.78 GiB 4000.53 GB)
Used Dev Size : 1953382912 (1862.89 GiB 2000.26 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Update Time : Tue Mar 17 18:56:20 2015
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Name : sarah:0 (local to host sarah)
UUID : 504814b6:57d20712:8ba202ee:583d3e5c
Events : 784
Number Major Minor RaidDevice State
4 8 48 0 active sync /dev/sdd
1 8 16 1 active sync /dev/sdb
5 8 32 2 active sync /dev/sdc
3 8 0 3 active sync /dev/sda
Alles anzeigen
root@sarah:~# more /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=b685be16-6d19-4cdb-bad8-ec244542f1c6 / ext4 errors=remount -ro 0 1
# swap was on /dev/sda5 during installation
UUID=40fefd47-da7d-4a34-8733-37992af43472 none swap sw 0 0
/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
UUID=3552a985-99e8-4bbb-b958-e988a139541a /media/3552a985-99e8-4bbb-b958-e988a139541a ext4 defaults,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
/dev/disk/by-uuid/8C70884E70884146 /media/8C70884E70884146 ntfs defaults,nofail 0 2
# <<< [openmediavault]
Alles anzeigen