Jump to content


Photo

Problem in mounting HDD and USB


  • Please log in to reply
16 replies to this topic

#1 yousif666

  • Senior Member
  • 110 posts

+1
Neutral

Posted 6 January 2013 - 19:50

Hello

My receiver is DM500HD, running OpenPLI 3.0

I am facing a problem with the mounting, i have HDD and USB, when the receiver starts the mount is wrong, it mount the HDD and the USB as the same. either /media/USB for both or /media/HDD for both so i downloaded device manager to manage it and when i choose fixed mount it does the mount for both the HDD and the USB so i have to use fast mount, but when restart the receiver i have to remount again, i made a script to do the mount and placed it in /etc/init.d and i included this i the script

#!/bin/sh
mount /dev/sda1 /media/hdd
mount /dev/sdb1 /media/usb
exit 0

but it does not seem to start, i gave permission 775 but still.

help me please to fix the mount problem.

thank you.

Edited by yousif666, 6 January 2013 - 19:51.


Re: Problem in mounting HDD and USB #2 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

Posted 7 January 2013 - 06:20

Put the plugin

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


Re: Problem in mounting HDD and USB #3 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 7 January 2013 - 08:57

You can use "blkid" command in telnet => you get UUID for all your HDD and USB and then set in /etc/fstab, how you want mount device with UUID, restart and all will be OK. AutoBackup plugin backups /etc/fstab => after new flash it will be ok too.

example:

blkid
/dev/sdc1: LABEL="USBHDD" UUID="855a2f94-eea1-4555-aea4-ee84a995e54a" TYPE="ext3"
/dev/sdb1: UUID="057a6373-735c-4db1-a7d9-d29ff0fa1e20" TYPE="ext3"
/dev/sda1: UUID="db9f4ba3-d03c-4c6e-b7c5-d32a075e7c48" TYPE="ext3"

then add into fstab:
UUID=db9f4ba3-d03c-4c6e-b7c5-d32a075e7c48 /media/hdd auto defaults 0 0
UUID=057a6373-735c-4db1-a7d9-d29ff0fa1e20 /media/usb auto defaults 0 0
UUID=855a2f94-eea1-4555-aea4-ee84a995e54a /media/exthdd auto defaults 0 0

Do not forget - there in fstab must be uuid numbers used without "" !)
Kdo nic nedělá, nic nezkazí!

Re: Problem in mounting HDD and USB #4 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

Posted 7 January 2013 - 11:36

ims
This plugin does exactly the same, only automatic :D .

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


Re: Problem in mounting HDD and USB #5 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 7 January 2013 - 11:59

I am facing a problem with the mounting, i have HDD and USB, when the receiver starts the mount is wrong, it mount the HDD and the USB as the same.


Can you elaborate on that? It should NEVER do that, regardless of how you connect things. Even if you label the disks with the same name, it should still only mount one under that name (and the other would fall back to its device name).

Please post the contents of /etc/fstab and /proc/mounts to help diagnose your problem.
Real musicians never die - they just decompose

Re: Problem in mounting HDD and USB #6 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 7 January 2013 - 12:25

btw - on DM500HD ... USB and HDD ?
Kdo nic nedělá, nic nezkazí!

Re: Problem in mounting HDD and USB #7 yousif666

  • Senior Member
  • 110 posts

+1
Neutral

Posted 7 January 2013 - 12:46

contents of fstab

rootfs			   /				    auto	   defaults			  1  1
proc				 /proc			    proc	   defaults			  0  0
devpts			   /dev/pts			 devpts	 mode=0620,gid=5	   0  0
usbdevfs			 /proc/bus/usb	    usbdevfs   noauto			    0  0
tmpfs			    /var/volatile	    tmpfs	  defaults			  0  0

contents of mounts

rootfs / rootfs rw 0 0
/dev/root / jffs2 rw,relatime 0 0
devtmpfs /dev devtmpfs rw,relatime,size=67740k,nr_inodes=16935,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /media tmpfs rw,relatime,size=64k 0 0
tmpfs /var/volatile tmpfs rw,relatime 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620 0 0
/dev/sda1 /media/hdd ext4 rw,relatime,barrier=1,data=ordered 0 0
/dev/sdb1 /media/usb ext4 rw,relatime,barrier=1,data=ordered 0 0


tnx for the plugin, and i use both HDD and USB in dm500HD

Edited by yousif666, 7 January 2013 - 12:49.


Re: Problem in mounting HDD and USB #8 yousif666

  • Senior Member
  • 110 posts

+1
Neutral

Posted 7 January 2013 - 12:54

blkid not found when i type in telnet, when i used the plugin i saw the HDD and USB when i use mount HDD on the HDD the receiver crashes.

Edited by yousif666, 7 January 2013 - 12:55.


Re: Problem in mounting HDD and USB #9 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 7 January 2013 - 13:27

...

...
/dev/sda1 /media/hdd ext4 rw,relatime,barrier=1,data=ordered 0 0
/dev/sdb1 /media/usb ext4 rw,relatime,barrier=1,data=ordered 0 0


Nothing wrong there, why are you complaining that they're mounted on the same spot?
Real musicians never die - they just decompose

Re: Problem in mounting HDD and USB #10 yousif666

  • Senior Member
  • 110 posts

+1
Neutral

Posted 7 January 2013 - 13:42

This is before i do the mount manual

rootfs / rootfs rw 0 0
/dev/root / jffs2 rw,relatime 0 0
devtmpfs /dev devtmpfs rw,relatime,size=67740k,nr_inodes=16935,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /media tmpfs rw,relatime,size=64k 0 0
tmpfs /var/volatile tmpfs rw,relatime 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620 0 0


the one i posted is after i do the mount using mount manager or device manager using fast mount.

in device manager when i do fixed mount it shows both as the same either /dev/sda1 or /dev/sdb1 (the first i mount will apply for both)


if i use fast mount it works, but when i restart the box i have to remount again, it was not like that before i dont know what happened.

Edited by yousif666, 7 January 2013 - 13:43.


Re: Problem in mounting HDD and USB #11 yousif666

  • Senior Member
  • 110 posts

+1
Neutral

Posted 7 January 2013 - 14:50

I installed the latest image using dreamup since the web-interface flash didn't work and now everything is working fine and no problem with mounts.

Re: Problem in mounting HDD and USB #12 muhlui

  • Member
  • 4 posts

0
Neutral

Posted 31 January 2013 - 23:05

Hi, i formated USB HDD (VU+ SOLO PLi 3.0) and i get /media/stb1/
Problem : USB HDD spins all at the time, never stops. Even i turn box to "standby" mode. Stops only if i put box to "hard sleep mode"
Is this normal ?

Re: Problem in mounting HDD and USB #13 guirigui

  • Senior Member
  • 297 posts

0
Neutral

Posted 1 February 2013 - 10:54

In the past under PLI 2.1, default mounting for USB HDD was media/hdd; everythings worked fine without mounting anything.

Under PLI 3, I have found default is media/usb.

As mentioned, it is now compulsory to install the device manager plugin...after opening the plugin in question, make unmount the HDD then mount it in media/hdd...Don't use fast mount...

That's simple...no telnet or other things....

I woul say it took me lot of time to understand that after PLI 3 installation...but I have quite slow brain........

Edited by guirigui, 1 February 2013 - 10:58.

ET6000 mounted in triple tuners with DVB-S2 Anysee E7 S2 + DVB-T Twintech UT30

Re: Problem in mounting HDD and USB #14 muhlui

  • Member
  • 4 posts

0
Neutral

Posted 1 February 2013 - 11:20

Attached Files[list]
[*]Geplaatste afbeelding enigma2-plugin-systemplugins-mountmanager_1.0-r5_mipsel.ipk 29.53K
[/list]


As mentioned, it is now compulsory to install the device manager plugin...after opening the plugin in question, make unmount the HDD then mount it in media/hdd...
That's simple...no telnet or other things....


i've tried. That plugin not working with SOLO !

Re: Problem in mounting HDD and USB #15 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

Posted 1 February 2013 - 16:53

i've tried. That plugin not working with SOLO !

What exactly is not working?
Put crash-log.

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


Re: Problem in mounting HDD and USB #16 muhlui

  • Member
  • 4 posts

0
Neutral

Posted 2 February 2013 - 09:48

What exactly is not working?

This is a little embarrassing. Mountmanager plugin is working well and is very handy. my mistake was that I searched , after install , plugin in PLUGINS menu, but it appear in SETUP/SYSTEM/ menu.
#####
Anyway, this USB-HDD i have (seagate expansion 500GB) is spinning all at the time ,when plug into PC, also.
Accordingly , my issue with USB-HDD spinning is not a PLi bug

Re: Problem in mounting HDD and USB #17 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 2 November 2013 - 15:30

@Dima73 / all

 

a little help please.

 

last year I had my network mounted (PC) mapped as HDD as in "media/hdd" . So when using Pedro_Newbie BackupSuite it would make a backup in my shared dir on my PC as well as on my USB on my XP1000.

 

Been a while and I've forgot how to do the map. Can you/anyone help.

 

Thanks ColinB


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users