Hi @all
Wenn man in der Dreambox eine HDD mit 2 Partitionen einbaut, wo die erste (sda1) gelöscht wird und auf der sda2 die Filme sind, wird diese nicht automatisch nach /media/hdd gemountet.
Das Einrichten schlägt ebenfalls fehl, weil die partitionsnummer aus dem index der partitionen gebildet wird.
Ich hatte glaube die sda1 als swap formatiert - die hab ich dann irgendwann gelöscht, um ein versehentliches automatisches einhängen zu verhindern.
Durch ein neu installieren ist mir diese Problematik erst aufgefallen.
root@dm7080:~# mount | grep sda
/dev/sda2 on /autofs/sda2 type ext4 (rw,relatime,sync,data=ordered)
root@dm7080:/# fdisk -l /dev/sda
fdisk: device has more than 2^32 sectors, can't use all of them
Found valid GPT with protective MBR; using GPT
Disk /dev/sda: 4294967295 sectors, 4095M
Logical sector size: 512
Disk identifier (GUID): 147de21e-5269-47b8-b974-9963dfe05ad9
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 11721045134
Number Start (sector) End (sector) Size Code Name
2 2852864 11721043967 5587G 0700
root@dm7080:/# cat /proc/partitions
major minor #blocks name
31 0 16384 mtdblock0
31 1 1024 mtdblock1
31 2 15360 mtdblock2
179 0 3866624 mmcblk0
179 1 974848 mmcblk0p1
179 2 2817024 mmcblk0p2
179 16 2048 mmcblk0boot1
179 8 2048 mmcblk0boot0
8 0 5860522584 sda
8 2 5859095552 sda2
Alles anzeigen
enigma2 start log:
Harddisk.py: failed to read /sys/devices/platform/strict-ahci.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/partition
found block device 'sda':
Harddisk.py: New disk: sda
[ePopen] command: ('hdparm', 'hdparm', '-S0', '/dev/sda')
calling Notifier for device 'sda', reason 'add_delayed'
[hotplugNotifier] sda change
Harddisk.py: failed to read /sys/devices/platform/sdhci-brcmstb.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0boot0/partition
ignoring event for /devices/platform/sdhci-brcmstb.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0boot0 (blacklisted)
[hotplugNotifier] mmcblk0boot0 change
Harddisk.py: failed to read /sys/devices/platform/sdhci-brcmstb.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0boot1/partition
ignoring event for /devices/platform/sdhci-brcmstb.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0boot1 (blacklisted)
[hotplugNotifier] mmcblk0boot1 change
found block device 'sda2':
[addDevicePartition] device:'sda2' with UUID:'46b3df69-85b3-40b6-b07b-7e632853d4b7'
[setupConfigEntries] new device add for 'sda2' with uuid:'46b3df69-85b3-40b6-b07b-7e632853d4b7'
[SEC-0] set dynamic current limiting
mountpoint /autofs/sda2/
description SATA - WDC WD60EZRZ-00R
force_mounted True
scanning ('SATA - WDC WD60EZRZ-00R', '/autofs/sda2/', <__main__.Session instance at 0x6399c288>)
scanner: [<Scanner Pictures>, <Scanner Dpkg>, <Scanner MediaCenter Movies>, <Scanner MediaCenter Music>]
ignore /autofs/sda2/ as its usable as default storage device
verifyInstalledStorageDevices
calling Notifier for device 'sda2', reason 'add_delayed'
[hotplugNotifier] sda2 change
[start hotplugNotifier] 200ms
Alles anzeigen
HarddiskSetup Screen log
HarddiskSetup HarddiskDriveSelection
Ci CiSelection
InputDeviceSetup InputDeviceSelection
allocating new converter!
warning, skin is missing element pixmap in <class 'Screens.Menu.Menu'>
allocating new converter!
create buffer for widget 780 x 1080
[RemoteControl.sendEvent] command was was sent (key: 352, flag: 0)
[Screengrab.py] starting AiO grab with cmdline: ['/usr/bin/grab', '/usr/bin/grab', '-p', '-r', '720', '-o', '-n', 'screenshot.bmp']
child has terminated
pipes closed
[Screengrab.py] cmdFinished
[Screengrab.py] screenshot.bmp removed
poll: unhandled POLLERR/HUP/NVAL for fd 328(16)
[WebComponents.EPG] setting command to '1:0:19:1332:3EF:1:C00000:0:0:0:'
[WebComponents.EPG] getting EPG NOW/NEXT 1:0:19:1332:3EF:1:C00000:0:0:0:
[WebComponents.EPG] setting command to '1:0:19:1332:3EF:1:C00000:0:0:0:'
[WebComponents.EPG] getting EPG NOW/NEXT 1:0:19:1332:3EF:1:C00000:0:0:0:
[RemoteControl.__init__] Configured RCU-Type is 'dreambox advanced remote control (native)'
action -> OkCancelActions ok
okbuttonClick
allocating new converter!
reused converter!
[HarddiskDriveSelection] - buildHDDList for online device: sda1 None 1 False None /dev/sda1
Harddisk.py: failed to read /sys/class/block/sda1/partition
Harddisk.py: failed to read /sys/class/block/sda1/removable
Harddisk.py: failed to read /sys/class/block/sda1/size
[HarddiskDriveSelection] - selectionChanged: deviceName:'sda1' - uuid:'None' - numPart:'1' - partNum:'False' - partPath:'/dev/sda1' - uuidPath:'None' - hdd.device:'sda' - hdd.dev_path:'/dev/sda'
create buffer for widget 1080 x 1080
[RemoteControl.sendEvent] command was was sent (key: 352, flag: 0)
[Screengrab.py] starting AiO grab with cmdline: ['/usr/bin/grab', '/usr/bin/grab', '-p', '-r', '720', '-o', '-n', 'screenshot.bmp']
child has terminated
pipes closed
[Screengrab.py] cmdFinished
[Screengrab.py] screenshot.bmp removed
poll: unhandled POLLERR/HUP/NVAL for fd 331(16)
Alles anzeigen
Der pfad zur partition ist falsch weil ja nicht sda1 sondern sda2:
Harddisk.py: failed to read /sys/class/block/sda1/partition
Eventuell könnte man das bei Gelegenheit umbauen.
Danke schon mal im voraus!