Springen naar inhoud


Foto

Zgemma H9 Combo 4K HDD mount problems PLi 7.1

Zgemma H9 Combo Open PLi 7.1

  • Please log in to reply
Er zijn 14 reacties in dit onderwerp

#1 smith

  • Senior Member
  • 46 berichten

0
Neutral

Geplaatst op 18 augustus 2019 - 21:45

Hi,

 

I've just installed two Zgemma H9 combo's and fitted them with internal 500Gb SATA drives and although the disks are reported as 'internal' in the menu under the 'Harddisk' setup area, they are reported as 'usb' under the 'recording paths' setup area. Browsing the directory structure via FTP only shows a 'usb' directory under the 'mnt' parent. If I browse the 'hdd' directory, I get 'critical file transfer error' reported in the FTP tool.

 

A bit of background about the HDDs, they have been removed from two enigma2 boxes, a DM800SE running PLi 4.0 and an Xtrend 8500 running PLi 6.2 - so both drives have been initialised and mounted under PLi images and I've moved them about between other enigma2 boxes without a problem, they are just seen as the internal drive with no fuss about mounting them.

 

Although the Zgemma has mounted the drive as a usb drive the file player still sees the 'movie' directory as normal and plays all the previously recorded files OK. My main concern is that the 'Hard drive standby' setting seems to be ignored and the hard drives spin constantly.

 

Is there anyway to fix this, is is possible to mount them via a telnet command? I'd rather not re-initialise the drives and loose the content.

 

Thanks in advance. 

 

 


Zgemma H9 Combo 4K, VU+ Duo2, Xtrend ET8500, DM800SE.


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #2 Dimitrij

  • PLi® Core member
  • 9964 berichten

+334
Excellent

Geplaatst op 19 augustus 2019 - 08:26

Standby work

root@h9combo:~# sfdisk -l


Device     Boot Start        End    Sectors   Size Id Type
/dev/sda1           8 1953525167 1953525160 931.5G 83 Linux

root@h9combo:~# mount

/dev/sda1 on /media/usb type ext4 (rw,noatime,block_validity,delalloc,barrier,user_xattr,acl)

root@h9combo:~# hdparm -C /dev/sda

/dev/sda:
 drive state is:  active/idle
root@h9combo:~# hdparm -y /dev/sda

/dev/sda:
 issuing standby command
root@h9combo:~# hdparm -C /dev/sda

/dev/sda:
 drive state is:  standby
root@h9combo:~#


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #3 smith

  • Senior Member
  • 46 berichten

0
Neutral

Geplaatst op 19 augustus 2019 - 09:09

Thanks for the reply,

 

 

 

root@h9combo:~# sfdisk -1                                                                                               

-sh: sfdisk: not found

 

It seems the command is not recognised?

 

root@h9combo:~# mount 

 

/dev/sda1 on /media/usb type ext4 (rw,noatime,data=ordered)                                                             

 

root@h9combo:~# hdparm -C /dev/sda                                                                                                                                                                                                              /dev/sda:                                                                                                               

drive state is:  active/idle                                                                                           

 

root@h9combo:~#                                                                                                         

root@h9combo:~# hdparm -y /dev/sda                                                                                                                                                                                                             

 

/dev/sda:                                                                                                               

issuing standby command                                                                                               

root@h9combo:~# hdparm -C /dev/sda

 

/dev/sda:                                                                                                               

drive state is:  standby

 

Yes the drive does go into standby but restarts and stays on when accessed in the PLi user interface - the menu setting seems to being ignored.


Zgemma H9 Combo 4K, VU+ Duo2, Xtrend ET8500, DM800SE.


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #4 Dimitrij

  • PLi® Core member
  • 9964 berichten

+334
Excellent

Geplaatst op 19 augustus 2019 - 09:47

root@h9combo:~# opkg list *sfdisk*
util-linux-sfdisk - 2.29.1-r0.5 - A suite of basic system administration utilities
 Util-linux includes a suite of basic system administration utilities
 commonly found on most Linux systems.  Some of the more important
 utilities include disk partitioning, kernel message management,
 filesystem creation, and system login.

For mount as USB...

Problem this :

root@h9combo:~# cat /sys/block/sda/removable
1

1 = usb(removable drive)


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #5 Dimitrij

  • PLi® Core member
  • 9964 berichten

+334
Excellent

Geplaatst op 19 augustus 2019 - 10:06

For standby mode same problem(not start standby timer) -->1 = usb(removable drive)

https://github.com/O...arddisk.py#L102

This should be reported to the manufacturer, maybe they can fix this error.


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #6 Dimitrij

  • PLi® Core member
  • 9964 berichten

+334
Excellent

Geplaatst op 19 augustus 2019 - 10:13

This USB HDD

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdb1           8 976773167 976773160 465.8G 83 Linux

/sys/block/sdb : /sys/devices/platform/soc/f9890000.ehci/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0

root@h9combo:~# cat /sys/block/sdb/removable
0

Everything is correct here.


Veranderd door Dimitrij, 19 augustus 2019 - 10:16

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #7 Dimitrij

  • PLi® Core member
  • 9964 berichten

+334
Excellent

Geplaatst op 19 augustus 2019 - 10:21

USB flash

root@h9combo:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/mmcblk0p23           5.2G    461.9M      4.5G   9% /
devtmpfs                427.6M      4.0K    427.6M   0% /dev
tmpfs                    64.0K         0     64.0K   0% /media
tmpfs                   427.8M    592.0K    427.3M   0% /var/volatile
/dev/sda1               916.9G    609.9G    260.5G  70% /media/usb
/dev/sdb1               465.6G    448.8G     15.8G  97% /media/500ext4
/dev/sdc                959.7M         0    959.7M   0% /media/sdc

root@h9combo:~# cat /sys/block/sdc/removable
1

Everything is correct here.

/dev/sdc                959.7M         0    959.7M   0% /media/sdc

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #8 smith

  • Senior Member
  • 46 berichten

0
Neutral

Geplaatst op 19 augustus 2019 - 10:28

Thanks,

 

Is there anything I can try to fix this?


Zgemma H9 Combo 4K, VU+ Duo2, Xtrend ET8500, DM800SE.


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #9 Dimitrij

  • PLi® Core member
  • 9964 berichten

+334
Excellent

Geplaatst op 19 augustus 2019 - 10:39

 

This should be reported to the manufacturer, maybe they can fix this error.


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #10 smith

  • Senior Member
  • 46 berichten

0
Neutral

Geplaatst op 19 augustus 2019 - 14:22

For standby mode same problem(not start standby timer) -->1 = usb(removable drive)

https://github.com/O...arddisk.py#L102

This should be reported to the manufacturer, maybe they can fix this error.

 

I'm not sure what I'm looking at here as you seem to have posted OpenPLi enigma2 code and how it handles functions such as Standby amongst other things. What are you expecting the manufacturer to 'fix', they do not supply Open PLi?


Zgemma H9 Combo 4K, VU+ Duo2, Xtrend ET8500, DM800SE.


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #11 smith

  • Senior Member
  • 46 berichten

0
Neutral

Geplaatst op 19 augustus 2019 - 14:26

 

USB flash

root@h9combo:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/mmcblk0p23           5.2G    461.9M      4.5G   9% /
devtmpfs                427.6M      4.0K    427.6M   0% /dev
tmpfs                    64.0K         0     64.0K   0% /media
tmpfs                   427.8M    592.0K    427.3M   0% /var/volatile
/dev/sda1               916.9G    609.9G    260.5G  70% /media/usb
/dev/sdb1               465.6G    448.8G     15.8G  97% /media/500ext4
/dev/sdc                959.7M         0    959.7M   0% /media/sdc

root@h9combo:~# cat /sys/block/sdc/removable
1

Everything is correct here.

/dev/sdc                959.7M         0    959.7M   0% /media/sdc

 

Everything is correct here.

/dev/sdc                959.7M         0    959.7M   0% /media/sdc

 

Are you showing me that you've successfully mounted a hdd in a h9combo? I would have expected it to be mounted as /media/hdd?


Zgemma H9 Combo 4K, VU+ Duo2, Xtrend ET8500, DM800SE.


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #12 Dimitrij

  • PLi® Core member
  • 9964 berichten

+334
Excellent

Geplaatst op 19 augustus 2019 - 14:59

Here is the solution:
1)Label the device with the name 'hdd'

Use plugin enigma2-plugin-systemplugins-mountmanager -->option "Label for device"

2)For standby mode...

Use plugin enigma2-plugin-extensions-hddsleep.


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #13 Pike_Bishop

  • Senior Member
  • 1116 berichten

+72
Good

Geplaatst op 19 augustus 2019 - 18:59

you can label it to name hdd with telnet command;

tune2fs -L hdd /dev/sda1

regards

Pike


Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #14 smith

  • Senior Member
  • 46 berichten

0
Neutral

Geplaatst op 19 augustus 2019 - 21:18

Here is the solution:
1)Label the device with the name 'hdd'

Use plugin enigma2-plugin-systemplugins-mountmanager -->option "Label for device"

2)For standby mode...

Use plugin enigma2-plugin-extensions-hddsleep.

 

These solutions work very well, thanks. It also removes the lock on the '/media/hdd' directory when accessing via FTP which is good.


Zgemma H9 Combo 4K, VU+ Duo2, Xtrend ET8500, DM800SE.


Re: Zgemma H9 Combo 4K HDD mount problems PLi 7.1 #15 smith

  • Senior Member
  • 46 berichten

0
Neutral

Geplaatst op 19 augustus 2019 - 21:21

you can label it to name hdd with telnet command;

tune2fs -L hdd /dev/sda1

regards

Pike

 

This solution also works and was used on the second box, thanks. Although I assumed the 'reboot' command also needed to be run after the re-name.


Zgemma H9 Combo 4K, VU+ Duo2, Xtrend ET8500, DM800SE.




Also tagged with one or more of these keywords: Zgemma H9 Combo, Open PLi 7.1

1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers