Hallo Leute,
habe leider auch ein Problem mit einem verschwundenen Raid-Verbund nach einem Neustart des Systems. Leider komme ich mit keinem der ähnlichen Themen weiter - bin auch Frischling in Linux...
Problem:
Nach dem Neustart des Systemes ist das Raid nicht mehr aufgelistet in "Raid Verwaltung". Die Platten werden allerdings in "reale Festplatten" alle erkannt. Durch (erneutes) Erstellen des Raid ist das Raid wieder mit den Daten verfügbar, allerdings auch nur bis zum Neustart.
Aktuell ist das Raid wieder nicht verfügbar.
Hier der Output von fdisk -l
# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
256 heads, 63 sectors/track, 242251 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 3907029167 1953514583+ ee GPT
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
256 heads, 63 sectors/track, 242251 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 3907029167 1953514583+ ee GPT
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
256 heads, 63 sectors/track, 242251 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 3907029167 1953514583+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/sdd: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders, total 58605120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00064e62
Device Boot Start End Blocks Id System
/dev/sdd1 * 2048 56125439 28061696 83 Linux
/dev/sdd2 56127486 58603519 1238017 5 Extended
/dev/sdd5 56127488 58603519 1238016 82 Linux swap / Solaris
Alles anzeigen
output von blkid
# blkid
/dev/sdd1: UUID="6adef3a6-abfd-49f6-b063-3b2483f2594d" TYPE="ext4"
/dev/sdd5: UUID="edaebc5a-1f0e-4f39-a034-74d84fed2c8b" TYPE="swap"
output von cat...
Zudem ist mir in Systemprotokolle -> Booten folgendes aufgefallen:
Mon Jan 5 17:55:53 2015: Setting parameters of disc: /dev/sda.
[b]Mon Jan 5 17:55:53 2015: /dev/sdb failed![/b]
Mon Jan 5 17:55:53 2015: /dev/sdc.
Mon Jan 5 17:55:53 2015: /dev/sdd.
Mon Jan 5 17:55:53 2015: /dev/sdb.
Mon Jan 5 17:55:53 2015: /dev/sdc.
Mon Jan 5 17:55:53 2015: /dev/sda.
Mon Jan 5 17:55:53 2015: Activating swap...done.
Mon Jan 5 17:55:53 2015: Checking root file system...fsck from util-linux 2.20.1
Mon Jan 5 17:55:53 2015: /dev/sdd1: clean, 32115/1754400 files, 412784/7015424 blocks
Mon Jan 5 17:55:53 2015: done.
Mon Jan 5 17:55:53 2015: Loading kernel module loop.
Mon Jan 5 17:55:53 2015: Cleaning up temporary files... /tmp.
Mon Jan 5 17:55:54 2015: Generating udev events for MD arrays...done.
Mon Jan 5 17:55:54 2015: Setting up LVM Volume Groups... No volume groups found
Mon Jan 5 17:55:54 2015: No volume groups found
Mon Jan 5 17:55:54 2015: done.
Mon Jan 5 17:55:54 2015: Activating lvm and md swap...done.
Mon Jan 5 17:55:55 2015: Checking file systems...fsck from util-linux 2.20.1
Mon Jan 5 17:55:55 2015: done.
Mon Jan 5 17:55:55 2015: Mounting local filesystems...done.
Mon Jan 5 17:55:56 2015: Activating swapfile swap...done.
Mon Jan 5 17:55:56 2015: Cleaning up temporary files....
Mon Jan 5 17:55:56 2015: Cleaning up...done.
Mon Jan 5 17:55:56 2015: Setting kernel variables ...done.
Mon Jan 5 17:55:56 2015: Setting up resolvconf...done.
Mon Jan 5 17:55:58 2015: Configuring network interfaces...RTNETLINK answers: File exists
Mon Jan 5 17:55:59 2015: Failed to bring up lo.
Mon Jan 5 17:56:00 2015: done.
Mon Jan 5 17:56:00 2015: Starting rpcbind daemon....
Mon Jan 5 17:56:01 2015: Starting NFS common utilities: statd idmapd.
Mon Jan 5 17:56:01 2015: Cleaning up temporary files....
Mon Jan 5 17:56:01 2015: INIT: Entering runlevel: 2
Mon Jan 5 17:56:01 2015: Using makefile-style concurrent boot in runlevel 2.
Mon Jan 5 17:56:02 2015: Starting rpcbind daemon...Already running..
Mon Jan 5 17:56:02 2015: Starting NFS common utilities: statd idmapd.
Mon Jan 5 17:56:02 2015: Starting watchdog keepalive daemon: wd_keepalive.
Mon Jan 5 17:56:05 2015: Starting enhanced syslogd: rsyslogd.
Mon Jan 5 17:56:06 2015: Starting anac(h)ronistic cron: anacron.
Mon Jan 5 17:56:06 2015: Loading ACPI kernel modules....
Mon Jan 5 17:56:06 2015: Starting ACPI services....
Mon Jan 5 17:56:06 2015: Starting MD monitoring service: mdadm --monitor.
Mon Jan 5 17:56:07 2015: Starting RRDtool data caching daemon: rrdcached.
Mon Jan 5 17:56:08 2015: Starting periodic command scheduler: cron.
Mon Jan 5 17:56:10 2015: Starting system message bus: dbus.
Mon Jan 5 17:56:13 2015: Starting statistics collection and monitoring daemon: collectd.
Mon Jan 5 17:56:13 2015: Starting nginx: nginx.
Mon Jan 5 17:56:13 2015: Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Mon Jan 5 17:56:13 2015: Starting NTP server: ntpd.
Mon Jan 5 17:56:13 2015: Starting OpenBSD Secure Shell server: sshd.
Mon Jan 5 17:56:14 2015: Starting Samba daemons: nmbd smbd.
Mon Jan 5 17:56:14 2015: Starting OpenMediaVault engine daemon: omv-engined.
Mon Jan 5 17:56:15 2015: Starting S.M.A.R.T. daemon: smartd.
Mon Jan 5 17:56:15 2015: Starting ClamAV daemon: clamd .
Mon Jan 5 17:56:40 2015: Starting ClamAV virus database updater: freshclam.
Mon Jan 5 17:56:40 2015: Starting Postfix Mail Transport Agent: postfix.
Alles anzeigen
zero-superblock habe ich auch schon probiert... kommt aber eine Fehlermeldung:
Backround:
Will mir mein eigenes NAS zusammen bauen und wählte ein ASRock QC5000-ITX/PH inkl. AMD A4-5000 mit 3x2TB (2 davon neu, 1 gebrauchte aus einem Windows Rechner ohne Raid) und CFI A-7879 V2 Gehäuse.
Als erstes baute ich das NAS mit NAS4free auf, was mich allerdings nicht zufriedenstellte.
Dann hab ich das NAS mit OMV 1.0.20_amd64 aufgesetzt und als Systemlaufwerk eine gebrauchte USB2.0 externe Platte gewählt.
Die erste Installation schlug "fehl", da der Bootmanager nicht installiert werden konnte, weil ich die Platten eingesetzt hatte.
Nach erfolgreichem 2. Versuch hab ich erstmal alle Updates geladen und installiert, die Platten formatiert und das Raid erstellen lassen (alles im OMV).
Dateisysteme habe ich auch konfiguriert und Daten auf die Platten geschoben.
Hab alles über den Browserzugang konfiguriert.
Die geposteten Codes sind über Putty ausgeworfen worden.
Vlt. kann mir ja einer weiterhelfen.