Jump to content


Photo

Vu zero 4k and automount hdd> /media/hdd with "movie" folder

Vu Zero 4k

  • Please log in to reply
18 replies to this topic

#1 frankviana

  • Senior Member
  • 340 posts

+2
Neutral

Posted 23 April 2018 - 10:57

Good morning.

 

I recently bought the Vu Zero 4k and tested some images.

 

The first was OpenSPA which included the automount for all pluggable usb (hdd or usb stick). How to automatically mount the drive plugged to appear the "movie" folder /media/hdd? Now, using OpenPLi 6.1, I need create the symlink: name: HDD and target: /media/stick_4GB for all devices. I need the same way as the OpenSPA (Satvenus Team Backup_Vu+Zero 4k_OpenSpa_7.2.006._2018.03.19.by @dragec11). Any plugin or fstab edit?

 

Thanks

 

Frank

===========================


Octagon SX88+, Octagon SX88, Vu Zero (mips) Vu+ Zero 4K (arm), Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #2 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,507 posts

+873
Excellent

Posted 23 April 2018 - 11:21

OpenPLi doesn't care where a device is mounted, the name "hdd" is meaningless. So you don't need anything. 

 

If you insist, simply label your device "hdd", and it would be mounted by that name.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #3 frankviana

  • Senior Member
  • 340 posts

+2
Neutral

Posted 23 April 2018 - 11:26

Ok, but the only way to be able to backup the image is with backupsuite through the mounted hdd. So I need to rename the (all) device at all times.


Octagon SX88+, Octagon SX88, Vu Zero (mips) Vu+ Zero 4K (arm), Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #4 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,507 posts

+873
Excellent

Posted 23 April 2018 - 12:15

Place the file "backupstick" in the root of your device, and Backupsuite will find it, no matter where it is mounted.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #5 frankviana

  • Senior Member
  • 340 posts

+2
Neutral

Posted 23 April 2018 - 12:24

Sorry, I did my first tests and now again using this image: "openspa-7.2.007-vuzero4k backup by @mika", not this "Satvenus Team Backup_Vu+Zero 4k_OpenSpa_7.2.006._2018.03.19.by @dragec11" as I had said. This Satvenus backup don't mount too.

 

See when I plug my usb stick (automount all usb devices):

 

Attached File  BEFORE, AFTER.png   121.45KB   2 downloads

 

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
 

OpenPLi I need mount all devices manually. I saw this difference of not automount as in OpenSPA by mika.

 

The difference is (auto):

 

/dev/sda1            /media/hdd


Edited by frankviana, 23 April 2018 - 12:27.

Octagon SX88+, Octagon SX88, Vu Zero (mips) Vu+ Zero 4K (arm), Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #6 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,507 posts

+873
Excellent

Posted 23 April 2018 - 12:28

I don't understand this, OpenPLi mounts any USB device plugged in automatically. But it will mount on /media/usb (as it is an USB device), and not on /media/hdd, unless you have labelled the device.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #7 frankviana

  • Senior Member
  • 340 posts

+2
Neutral

Posted 23 April 2018 - 12:35

Ok, thanks, but I'll contact @mika to see the way to do this... because Satvenus don't have this option too.


Octagon SX88+, Octagon SX88, Vu Zero (mips) Vu+ Zero 4K (arm), Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #8 frankviana

  • Senior Member
  • 340 posts

+2
Neutral

Posted 23 April 2018 - 12:42

Maybe this option?

 

Attached File  automountu.png   308.4KB   1 downloads


Octagon SX88+, Octagon SX88, Vu Zero (mips) Vu+ Zero 4K (arm), Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #9 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,507 posts

+873
Excellent

Posted 23 April 2018 - 12:45

No idea what you're on about. This is the OpenPli forum, and you're asking questions here about other images?


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #10 frankviana

  • Senior Member
  • 340 posts

+2
Neutral

Posted 23 April 2018 - 12:52

No idea what you're on about. This is the OpenPli forum, and you're asking questions here about other images?

 

Not specifically about other images, but a particular option that can be applied in some way.


Octagon SX88+, Octagon SX88, Vu Zero (mips) Vu+ Zero 4K (arm), Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #11 frankviana

  • Senior Member
  • 340 posts

+2
Neutral

Posted 23 April 2018 - 12:54

Anyway, I appreciate your attention.


Octagon SX88+, Octagon SX88, Vu Zero (mips) Vu+ Zero 4K (arm), Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #12 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,507 posts

+873
Excellent

Posted 23 April 2018 - 14:01

Well, as I already wrote,  with OpenPLi you have two options:

  • use the device whereever de image decides to mount it
  • label the device, so it is mounted at /media/<label>

Using any other method is a bad idea, since those depends on the device name, and you can not guaranteee that is always the same. It can be sda one day, sdb the next, depending on what else you have plugged in. Which is why we don't use those methods.

 

Specifically for backupsuite, that either uses /hdd (hardcoded, which is a bad idea to begin with), or any mount in /media that contains the file "backupstick". So I class that as a design error in backupsuite.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #13 frankviana

  • Senior Member
  • 340 posts

+2
Neutral

Posted 23 April 2018 - 14:43

Well, as I already wrote,  with OpenPLi you have two options:

  • use the device whereever de image decides to mount it
  • label the device, so it is mounted at /media/<label>

Using any other method is a bad idea, since those depends on the device name, and you can not guaranteee that is always the same. It can be sda one day, sdb the next, depending on what else you have plugged in. Which is why we don't use those methods.

 

Specifically for backupsuite, that either uses /hdd (hardcoded, which is a bad idea to begin with), or any mount in /media that contains the file "backupstick". So I class that as a design error in backupsuite.

 

Since the device only has 1 USB, I always see it as sda1, so I just edited fstab and it works fine for all devices (usb stick or hdd)

 

/dev/sda1            /media/hdd           auto       defaults              0  0

Thank you.


Octagon SX88+, Octagon SX88, Vu Zero (mips) Vu+ Zero 4K (arm), Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #14 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,507 posts

+873
Excellent

Posted 23 April 2018 - 14:45

That works. Until you plugin another USB device that is detected faster. So don't say you haven't been warned. :)


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #15 anudanan

  • Senior Member
  • 1,002 posts

+14
Neutral

Posted 23 April 2018 - 14:58

@frankviana

 

If you would like to use a fstab entry, it is better to use UUID instead of /dev/sdx, because it work every time and depends not an the /dev/sda sdb sdc etc.

 

 

You can see the UUID of your hdd with the command 

blkid

 

the result is similar to

/dev/sda1: UUID="684f1540-67bf-485e-88dd-97450952b70f" TYPE="ext4"

 

 

Then use instead of

/dev/sda1  /media/hdd

UUID=684f1540-67bf-485e-88dd-97450952b70f   /media/hdd

 

 

But as WanWizard said you can also use a HDD label to mount the hdd to the right place


Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX

Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #16 frankviana

  • Senior Member
  • 340 posts

+2
Neutral

Posted 23 April 2018 - 15:09

ok. Thanks


Octagon SX88+, Octagon SX88, Vu Zero (mips) Vu+ Zero 4K (arm), Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #17 anudanan

  • Senior Member
  • 1,002 posts

+14
Neutral

Posted 23 April 2018 - 15:13

One additional info to UUID

 

if you make a new HDD initialize (making a new filesystem) than the UUID value is new and you must change the UUID entry in fstab


Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX

Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #18 frankviana

  • Senior Member
  • 340 posts

+2
Neutral

Posted 23 April 2018 - 15:48

One additional info to UUID

 

if you make a new HDD initialize (making a new filesystem) than the UUID value is new and you must change the UUID entry in fstab

 

Ok. I need add all UUID for my devices...

 

But, first, I need to know why @mika image the automount work fine, for all plugged devices (all change to /hdd). Any file or configuration?

 

Thank you again.


Octagon SX88+, Octagon SX88, Vu Zero (mips) Vu+ Zero 4K (arm), Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...


Re: Vu zero 4k and automount hdd> /media/hdd with "movie" folder #19 anudanan

  • Senior Member
  • 1,002 posts

+14
Neutral

Posted 23 April 2018 - 16:27

From my Point of view openpli use automount for Network devices and fstab or the lable mode for the local devices. If you use fstab then include all local devices with UUID
Receiver:2 x Uno4k SE (PLI 7.0 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX





Also tagged with one or more of these keywords: Vu Zero 4k

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users