Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
[gelöst] Video0 Festplatte defekt - VDR startet nicht
#1
Hallo,
ich musste gestern feststellen, dass die Video0 Festplatte für die Aufnahmen defekt ist. Die Aufnahmen spielten nur stotternd bis gar nicht ab.
Nach einen PC-Neustart (weil ich zuerst die Verkabelung prüfte), wurde die Mediapartition gar nicht mehr gefunden und die Festplatte macht hörbar unnormale Geräusche. Der PC bootet zwar aber der VDR startet dann nicht. Der Zugriff per WinSCP/Putty funktioniert. Ich hatte noch zwei Aufnahmen ausstehend.

Wie gehe ich nun richtig vor, um:
  1. Den VDR vorerst ohne die zweite Festplatte als Mediapartition zu starten. Sprich Video0 auf die Hauptfestplatte zu verlegen.
  2. Später dann die neue Festplatte (wird nun eine SSD werden) ohne Neuinstallation richtig einzubinden.
Werde heute nachmittag fdisk -l, blkid und die fstab bereitstellen. Fehlt noch was?

Danke für eure Hilfe. Wenn das gelöst ist, mache ich ein Howto für das Wiki. Denn sowas kann jeden mit einer zweiten Festplatte treffen und sollte dokumentiert sein.

Gruß
Schwabe


Zitieren
#2
Sodele, hier die Infos inkl. easyinfo im Anhang:


Code:
# fdisk -l

Disk /dev/sda: 64.0 GB, 64023257088 bytes
255 Köpfe, 63 Sektoren/Spur, 7783 Zylinder, zusammen 125045424 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Festplattenidentifikation: 0x000f3944

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1   *        2048    58593844    29295898+  83  Linux
/dev/sda2        58595326   125044735    33224705    5  Erweiterte
/dev/sda5        58595328    66406399     3905536   82  Linux Swap / Solaris
/dev/sda6        66408448   125044735    29318144   83  Linux

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
81 Köpfe, 63 Sektoren/Spur, 382818 Zylinder, zusammen 1953525168 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Festplattenidentifikation: 0xab3cedad

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdb1            2048  1953525167   976761560   83  Linux

Wobei die sdb nun die Filmefestplatte ist, wo eigentlich als sdc gemountet war, wo die Video0 Festplatte noch verbaut war.

 
Code:
blkid
/dev/sda1: UUID="50e1db4e-144a-429e-9d7b-1f366c98fba8" TYPE="ext4"
/dev/sda5: UUID="70c59ed8-c3f6-4930-844a-db7fe84ef023" TYPE="swap"
/dev/sda6: UUID="bb17f60e-78d6-4c75-b87c-422811f3f72a" TYPE="ext4"
/dev/sdb1: UUID="77b7f549-cfa9-4681-b581-23309b51f607" TYPE="xfs"



Code:
# /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>
# / was on /dev/sda1 during installation
UUID=50e1db4e-144a-429e-9d7b-1f366c98fba8  /  ext4  noatime,errors=remount-ro  0  1
# /home was on /dev/sda6 during installation
UUID=bb17f60e-78d6-4c75-b87c-422811f3f72a /home           ext4    defaults        0       2
# /media/easyvdr01 was on /dev/sdb1 during installation
UUID=367f8e69-f1d0-4030-986e-e5ea7cbaef05  /media/easyvdr01  xfs  noatime,defaults  0  2
# /videos was on /dev/sdc1 during installation
UUID=77b7f549-cfa9-4681-b581-23309b51f607 /videos         xfs     defaults        0       2
# swap was on /dev/sda5 during installation
UUID=70c59ed8-c3f6-4930-844a-db7fe84ef023 none            swap    sw              0       0


Ziel wäre nun, die sda6 als vorläufige video0 zu setzen, bis ich einen neue Festplatte habe.


Angehängte Dateien
.zip   easyinfo_kein video0.zip (Größe: 133,76 KB / Downloads: 1)


Zitieren
#3
Hallo,

hast du noch die Ausgabe von
Code:
sudo ls -l /video0
wenn die Video-Platte nicht im System ist?

Gruss
Wolfgang

Zitieren
#4
Hallo Wolfgang,

die defekte Platte ist nicht mehr im VDR. Der Befehl bringt:

[email protected]:~# sudo ls -l /video0
lrwxrwxrwx 1 root root 23 Nov 30  2016 /video0 -> /media/easyvdr01/video0
Gruß
Steffen


Zitieren
#5
Hallo Steffen,

was liegt denn alles in /home/* bei Dir?
Code:
# /home was on /dev/sda6 during installation
UUID=bb17f60e-78d6-4c75-b87c-422811f3f72a /home           ext4    defaults        0       2

Code:
sudo ls -l /home/*

Gruss
Wolfgang

Zitieren
#6
Das alles:


Code:
[email protected]:~# sudo ls -l /home/*
-rw-r--r-- 1 root    root     8431 Dez 25  2017 /home/kodi_tv_main.m3u
lrwxrwxrwx 1 root    root       12 Nov 30  2016 /home/vdr -> /var/lib/vdr

/home/Bilder Kodi:
insgesamt 1112
drwxr-xr-x 2 easyvdr easyvdr   4096 Jan 14  2017 Bilder
drwxr-xr-x 2 easyvdr easyvdr   4096 Nov 11  2017 Filme
-rw-r--r-- 1 root    root    364528 Jan 14  2017 like.jpg
-rwxr-xr-x 1 easyvdr easyvdr  45172 Mär 25  2016 Power.jpg
drwxr-xr-x 2 easyvdr easyvdr   4096 Dez  2  2016 Serien
-rwxr-xr-x 1 easyvdr easyvdr 489796 Mär 25  2016 System.jpg
-rwxr-xr-x 1 easyvdr easyvdr 192787 Mär 25  2016 tatort-logo100_v-original.jpg
drwxr-xr-x 2 easyvdr easyvdr   4096 Jan 14  2017 Videofilme
drwxr-xr-x 2 easyvdr easyvdr   4096 Jan 14  2017 Wetter
-rw-r--r-- 1 root    root     14513 Jan 14  2017 xstream.jpg

/home/easyvdr:
insgesamt 16
-rw-r--r-- 1 easyvdr easyvdr 8980 Okt  8  2015 examples.desktop
-rw-r--r-- 1 easyvdr easyvdr  958 Mär  2  2018 tripatch.info

/home/lost+found:
insgesamt 0

Aber nichts, was man nicht löschen bzw. umkopieren kann.


Zitieren
#7
Hallo Steffen,

teste das mal!
Code:
sudo mkdir /home/easyvdr01
sudo mkdir /home/easyvdr01/video0
sudo rm -f /video0 >/dev/null 2>&1
sudo ln -f -s /video0 >/dev/null 2>&1
sudo chown -R vdr:vdr /home/easyvdr01
Im syslog werden Meldungen kommen wegen fehlender Verzeichnisse!

fstab:
Code:
# /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>
# / was on /dev/sda1 during installation
UUID=50e1db4e-144a-429e-9d7b-1f366c98fba8  /  ext4  noatime,errors=remount-ro  0  1
# /home was on /dev/sda6 during installation
UUID=bb17f60e-78d6-4c75-b87c-422811f3f72a /home           ext4    defaults        0       2
# /media/easyvdr01 was on /dev/sdb1 during installation
## UUID=367f8e69-f1d0-4030-986e-e5ea7cbaef05  /media/easyvdr01  xfs  noatime,defaults  0  2
# /videos was on /dev/sdc1 during installation
## UUID=77b7f549-cfa9-4681-b581-23309b51f607 /videos         xfs     defaults        0       2
# swap was on /dev/sda5 during installation
UUID=70c59ed8-c3f6-4930-844a-db7fe84ef023 none            swap    sw              0       0

...ist die fstab angepasst reboot und hoffen das VDR wieder startet!

Gruss
Wolfgang

Zitieren
#8
Hallo Wolfgang, hat leider nicht geklappt. VDR startet nicht. Anbei easylog.


Angehängte Dateien
.zip   easyinfo_Aenderung Wolfgang.zip (Größe: 120,65 KB / Downloads: 1)


Zitieren
#9
Hallo,

wie ist die Ausgabe von
Code:
sudo ls -l /video0

Gruss
Wolfgang

Zitieren
#10
[email protected]:~# sudo ls -l /video0
insgesamt 0


Zitieren
#11
Hallo Steffen,

(09.11.2018, 22:28)Schwabe schrieb: [email protected]:~# sudo ls -l /video0
insgesamt 0
Sorry Typo ...es wurde gar kein Link erstellt!
..also nochmals
Code:
sudo rm -f /video0 >/dev/null 2>&1
sudo ln -f -s  /home/easyvdr01/video0 /video0 >/dev/null 2>&1
sudo chown -R vdr:vdr /home/easyvdr01
und reboot!

Gruss
Wolfgang

Zitieren
#12
Hallo Wolfgang,
jetzt scheint es geklappt zu haben:

[email protected]:~# sudo ls -l /video0
insgesamt 0
lrwxrwxrwx 1 root root 22 Nov  9 21:49 video0 -> /home/easyvdr01/video0

Aber der VDR startet immer noch nicht. Anbei easylog. Da steht: ERROR: can't access /video0
Auch sind da ata1 Fehler. Stirbt mir jetzt eine weitere Festplatte? Confused


Angehängte Dateien
.zip   easyinfo_Aenderung Wolfgang1.zip (Größe: 152,79 KB / Downloads: 1)


Zitieren
#13
Hallo,

kann sein das /media benötigt wird?
Ausgabe von
Code:
ls -l /media

du hast halt nur nee / partition und nee /home partition.

Gruss
Wolfgang

Zitieren
#14
[email protected]:~# ls -l /media
insgesamt 40
drwxr-xr-x  3 root root 4096 Mai  1  2016 easyvdr01
lrwxrwxrwx  1 root root    4 Nov 30  2016 usb -> usb0
drwxr-xr-x  2 root root 4096 Okt  8  2015 usb0
drwxr-xr-x  2 root root 4096 Okt  8  2015 usb1
drwxr-xr-x  2 root root 4096 Okt  8  2015 usb2
drwxr-xr-x  2 root root 4096 Okt  8  2015 usb3
drwxr-xr-x  2 root root 4096 Okt  8  2015 usb4
drwxr-xr-x  2 root root 4096 Okt  8  2015 usb5
drwxr-xr-x  2 root root 4096 Okt  8  2015 usb6
drwxr-xr-x  2 root root 4096 Okt  8  2015 usb7
drwxr-x---+ 2 root root 4096 Mär 31  2018 vdr


Zitieren
#15
Hallo,

sind auch alle Verzeichnisse unter /media/easyvdr01
Code:
ls -l /media/easyvdr01

Gruss
Wolfgang

Zitieren
#16
Diese gibts:

[email protected]:~# ls -l /media/easyvdr01
insgesamt 4
lrwxrwxrwx 1 root root    6 Nov 30  2016 usb -> ../usb
drwxr-xr-x 3 root root 4096 Mai  1  2016 windows-tools


Zitieren
#17
hallo Steffen,

bevor wir nun alles umbiegen ist es doch besser sich nee neue Platte zu besorgen.
Wenn du die Platte hast mit xfs formatieren blkid suchen und einhängen.
...dann können wir die Verzeichnisse erstellen und /media/easvdr01/video0 nach /video0
symlinken!

Gruss
Wolfgang

Zitieren
#18
Hallo Wolfgang, geht klar.
Platte sollte am Montag oder Dienstag kommen.
Dir schon mal herzlichen Dank und ein schönes Wochenende.
Gruß
Steffen


Zitieren
#19
Hallo Wolfgang, hallo miteinander

die neue SSD-Festplatte ist nun eingebaut. Die UUID lautet: UUID=c00908cf-0746-4eeb-9029-662af1ffbec7
Ich habe mittlerweile mein Backup wieder hergestellt. Heißt, alle Änderungen, welche wir vorgenommen haben sind verworfen.

Bislang habe ich die UUID in die fstab eingetragen und neu gestartet. Aber es muss mehr gemacht werden, da der VDR nicht startet, weil video0 nicht gefunden wird.

Benötige Hilfe.

[EDIT]: ls -l /video0
lrwxrwxrwx 1 root root 23 Nov 30 2016 /video0 -> /media/easyvdr01/video0

Denke es muss der Symlink neu auf Video0 gemacht werden. Der ist nämlich rot. Aber wie und richtig?

Gruß
Steffen


Angehängte Dateien
.zip   easyinfo_neue Platte.zip (Größe: 137,58 KB / Downloads: 1)


Zitieren
#20
Hi,

hast du die Ausgabe von
Code:
sudo cat /etc/fstab

Gruss
Wolfgang

Zitieren
#21
Klaro


Code:
cat /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>
# / was on /dev/sda1 during installation
UUID=50e1db4e-144a-429e-9d7b-1f366c98fba8  /  ext4  noatime,errors=remount-ro  0  1
# /home was on /dev/sda6 during installation
UUID=bb17f60e-78d6-4c75-b87c-422811f3f72a /home           ext4    defaults        0       2
# /media/easyvdr01 was on /dev/sdb1 during installation
UUID=c00908cf-0746-4eeb-9029-662af1ffbec7  /media/easyvdr01  xfs  noatime,defaults  0  2
# /videos was on /dev/sdc1 during installation
UUID=77b7f549-cfa9-4681-b581-23309b51f607 /videos         xfs     defaults        0       2
# swap was on /dev/sda5 during installation
UUID=70c59ed8-c3f6-4930-844a-db7fe84ef023 none            swap    sw              0       0
Zum Abgleich:
blkid:
/dev/sda1: UUID="50e1db4e-144a-429e-9d7b-1f366c98fba8" TYPE="ext4"
/dev/sda5: UUID="70c59ed8-c3f6-4930-844a-db7fe84ef023" TYPE="swap"
/dev/sda6: UUID="bb17f60e-78d6-4c75-b87c-422811f3f72a" TYPE="ext4"
/dev/sdb1: UUID="c00908cf-0746-4eeb-9029-662af1ffbec7" TYPE="xfs"
/dev/sdc1: UUID="77b7f549-cfa9-4681-b581-23309b51f607" TYPE="xfs"


Zitieren
#22
Hallo,

das ist die neue Platte
Code:
# /media/easyvdr01 was on /dev/sdb1 during installation
UUID=c00908cf-0746-4eeb-9029-662af1ffbec7  /media/easyvdr01  xfs  noatime,defaults  0  2
gibt es in /media/easyvdr01 ein Verzeichnis "video0" ?

Gruss
Wolfgang

Zitieren
#23
Ja, das ist die neue Platte.
Nein, es gibt kein video0 Verzeichnis.


Zitieren
#24
Hallo,

aber easyvdr01 schon?
Sorry hatte ich vergessen!

Gruss
Wolfgang

Zitieren
#25
Schon verstanden Wink.
Ja es gibt den Pfad /media/easyvdr01 mit Besitzer vdr.


Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste