Hallo
meine Video partition habe ich mit XFS formatiert, da es beim VDR ja hauptsächlich um sehr grosse Daeien geht
und ext3 "minutenlang" nach dem Löschen von Aufnahmen das System blockierte.
Nun stelle ich fest, das es immer wieder zu Fehlern im Dateisystem kommt.
Dies äussert sich z.B. darin das beim Löschen einer Aufnahme nur deren Zeitangabe verschwindet, der Eintrage im Menu aber bestehen bleibt
oder das im Menu alle Aufnahmen (immer!)doppelt gezählt werden, aber nur einmal angezeigt werden.
(Sind in einem Verzeichnis 3 ungesehene Aufnahmen, so wird "(6)" angezeigt. Wurde eine angesehen, so wird "(4)" angezeigt etc.)
Benutzt VDR irgendwelche Sonderfunktionen(Attribute?) von ext, so das es mit XFS nicht funktioniert,
prüft aber nicht noch ob das gewünschte tatsächlich erfolgt ist, wie z.B. "löschen"?
Oder ist XFS derart sensible und/oder instabil/unzuverlässig das es eigentlich für einen Produktiv einsatz ohne Batterie-Pufferung ungeignet ist
und vor seiner Verwendung auf systemen die abschaltet werden oder keine USV+BBU haben DRINGEND gewarnt werden müsste?
Wird eigentlich auch bei XFS beim booten ein filesystem check gemacht oder muss ich das extra konfigurieren?
Dieses "nicht löschen können" habe ich über mehrere Boot vorgänge hinweg beobachten können (ich dachte das hinge mit dem Undelete-Plugin zusammen)
yaVDR0.5, vdr1.7.33, 2TB platte
root@vdr4:~# xfs_check /dev/sda3
bad nlink 3 for free inode 343
bad mode 040755 for free inode 343
block 14/1570136 expected type unknown got data
block 28/168267 type unknown not expected
link count mismatch for inode 343 (name ?), nlink 0, counted 2
link count mismatch for inode 135 (name ?), nlink 3, counted 1
link count mismatch for inode 748 (name ?), nlink 3, counted 1
link count mismatch for inode 268435726 (name ?), nlink 2, counted 1
link count mismatch for inode 268435589 (name ?), nlink 0, counted 1
link count mismatch for inode 268436204 (name ?), nlink 0, counted 1
root@vdr4:~# xfs_repair /dev/sda3
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
- scan filesystem freespace and inode maps...
- found root inode chunk
Phase 3 - for each AG...
- scan and clear agi unlinked lists...
- process known inodes and perform inode discovery...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- agno = 4
- agno = 5
- agno = 6
- agno = 7
- agno = 8
- agno = 9
- agno = 10
- agno = 11
- agno = 12
- agno = 13
- agno = 14
- agno = 15
- agno = 16
- agno = 17
- agno = 18
- agno = 19
- agno = 20
- agno = 21
- agno = 22
- agno = 23
- agno = 24
- agno = 25
- agno = 26
- agno = 27
- agno = 28
- agno = 29
- agno = 30
- agno = 31
- process newly discovered inodes...
Phase 4 - check for duplicate blocks...
- setting up duplicate extent list...
- check for inodes claiming duplicate blocks...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- agno = 4
- agno = 5
- agno = 6
- agno = 7
- agno = 8
- agno = 9
- agno = 10
- agno = 11
- agno = 12
- agno = 13
- agno = 14
- agno = 15
- agno = 16
- agno = 17
- agno = 18
- agno = 19
- agno = 20
- agno = 21
- agno = 22
- agno = 23
- agno = 24
- agno = 25
- agno = 26
- agno = 27
- agno = 28
- agno = 29
- agno = 30
- agno = 31
Phase 5 - rebuild AG headers and trees...
- reset superblock...
Phase 6 - check inode connectivity...
- resetting contents of realtime bitmap and summary inodes
- traversing filesystem ...
- traversal finished ...
- moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
done
Alles anzeigen
root@vdr4:~# smartctl --attribute /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-35-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 253 161 021 Pre-fail Always - 1833
4 Start_Stop_Count 0x0032 095 095 000 Old_age Always - 5916
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 838
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 152
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 70
193 Load_Cycle_Count 0x0032 197 197 000 Old_age Always - 11821
194 Temperature_Celsius 0x0022 116 113 000 Old_age Always - 34
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0
Alles anzeigen
root@vdr4:~# ctvdrinfo
**************************************
* c't VDR Ãbersicht *
**************************************
VDR : 1.7.33-3yavdr0~precise
Kernel: 3.2.0-35-generic
ABI : vdr-abi-1.7.32-yavdr0
Plugins:
( N = Native Plugin )
( D = Debian Plugin )
( - = Deaktiviert )
--------------------------------------
D burn
Package: vdr-plugin-burn
Version: 0.2.0~final-7yavdr1~precise
D channellists
Package: vdr-plugin-channellists
Version: 0.0.4-26yavdr6~precise
D dbus2vdr
Package: vdr-plugin-dbus2vdr
Version: 20130110212418unstable-0yavdr0~precise
D devstatus
Package: vdr-plugin-devstatus
Version: 0.4.1-28yavdr6~precise
- dummydevice
Package: vdr-plugin-dummydevice
Version: 1.0.3-0yavdr12~precise
- dvbhddevice
Package: vdr-plugin-dvbhddevice
Version: 1.7.33-3yavdr0~precise
- dvbsddevice
Package: vdr-plugin-dvbsddevice
Version: 1.7.33-3yavdr0~precise
D dvd
Package: vdr-plugin-dvd
Version: 0.3.6~b03+cvs20090426.0013-30yavdr13~precise
D dvdswitch
Package: vdr-plugin-dvdswitch
Version: 0.2.1-0yavdr5~precise
D dynamite
Package: vdr-plugin-dynamite
Version: 20121209222325unstable-0yavdr0~precise
D conflictcheckonly
Package: vdr-plugin-epgsearch
Version: 1.0.1.beta1~git20121031-1yavdr1~precise
D epgsearch
Package: vdr-plugin-epgsearch
Version: 1.0.1.beta1~git20121031-1yavdr1~precise
D epgsearchonly
Package: vdr-plugin-epgsearch
Version: 1.0.1.beta1~git20121031-1yavdr1~precise
D quickepgsearch
Package: vdr-plugin-epgsearch
Version: 1.0.1.beta1~git20121031-1yavdr1~precise
D extrecmenu
Package: vdr-plugin-extrecmenu
Version: 1.2.2.git20120627-1yavdr3~precise
D femon
Package: vdr-plugin-femon
Version: 1.7.17-0yavdr6~precise
- graphtft
Package: vdr-plugin-graphtft
Version: 0.3.6-2yavdr1~precise
D iptv
Package: vdr-plugin-iptv
Version: 0.5.2-0yavdr6~precise
D live
Package: vdr-plugin-live
Version: 0.2.0.99+git20120326-1yavdr5~precise
D markad
Package: vdr-plugin-markad
Version: 0.1.4.git20121101-0yavdr5~precise
D menuorg
Package: vdr-plugin-menuorg
Version: 0.4.5-2yavdr0~precise
D mplayer
Package: vdr-plugin-mplayer
Version: 0.10.2-24yavdr28~precise
- pvr350
Package: vdr-plugin-pvr350
Version: 1
D restfulapi
Package: vdr-plugin-restfulapi
Version: 20121209222340unstable-0yavdr0~precise
D skinpearlhd
Package: vdr-plugin-skinpearlhd
Version: 0.0.1+git20120905-2yavdr1~precise
D softhddevice
Package: vdr-plugin-softhddevice
Version: 1
D streamdev-server
Package: vdr-plugin-streamdev-server
Version: 0.6.0.git20121102-0yavdr5~precise
D text2skin
Package: vdr-plugin-text2skin
Version: 1.3.2+git20120530-4yavdr8~precise
D undelete
Package: vdr-plugin-undelete
Version: 0.0.6-58yavdr6~precise
D vdrmanager
Package: vdr-plugin-vdrmanager
Version: 0.8-0yavdr3~precise
D vompserver
Package: vdr-plugin-vompserver
Version: 0.3.1.3-11yavdr6~precise
D wirbelscan
Package: vdr-plugin-wirbelscan
Version: 0.0.7-3yavdr8~precise
- xineliboutput
Package: vdr-plugin-xineliboutput
Version: 1.0.7+cvs20120830-2yavdr1~precise
- xine
Package: vdr-plugin-xine
Version: 0.9.4-6yavdr1~precise
D xvdr
Package: vdr-plugin-xvdr
Version: 0.9.6.git20130113-0yavdr-1~precise
AddonÂPackages:
--------------------------------------
vdr-addon-acpiwakeup (0.0.10-2yavdr2~precise)
vdr-addon-avahi-mounter (20120530214411testing-0yavdr1~precise)
vdr-addon-lifeguard (0.0.4-1yavdr1~precise)
vdr-genindex (0.1.3-1ubuntu1)
vdr-markad (0.1.4.git20121101-0yavdr5~precise)
vdr-skin-anthra-1920-fse (0.1.0a-0yavdr1~precise)
vdr-skin-narrowhd (0.0.1.git20110223-1yavdr0~precise)
vdr-skins-anthra (20100904-4yavdr1~precise)
vdr-skins-speciallogos (0.2gda1-2yavdr0~precise)
vdr-tft-anthraize (0.0.1~svn201010151744-2yavdr4~precise)
vdr-tft-pearlhd (0.3.1-6yavdr5~precise)
vdr-tft-standard (0.0.7-4yavdr1~precise)
vdr-xpmlogos (0.0.1-4yavdr0~precise)
......................................
Eine Kopie dieser Ausgaben wurde
erzeugt in: /tmp/vdrinfo.log
......................................
root@vdr4:~#
Alles anzeigen
root@vdr4:~# sfdisk -l /dev/sda
Disk /dev/sda: 243201 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 * 0+ 7394- 7394- 59392000 83 Linux
/dev/sda2 242679+ 243201- 522- 4191233 5 Extended
/dev/sda3 7394+ 242679- 235286- 1889930239 83 Linux
/dev/sda4 0 - 0 0 0 Empty
/dev/sda5 242679+ 243201- 522- 4191232 82 Linux swap / Solaris
Alles anzeigen