Jump to content


Photo

attached usb drives partitions mounted at same point


  • Please log in to reply
27 replies to this topic

Re: attached usb drives partitions mounted at same point #21 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 20 November 2022 - 19:45

yes , agree, would be great fix automount

 

Could you see if this one fixes the problem?

Attached Files

  • Attached File  mount.sh   7.41KB   15 downloads

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

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


Re: attached usb drives partitions mounted at same point #22 kallquk

  • Senior Member
  • 38 posts

+1
Neutral

Posted 22 November 2022 - 19:58

Yes, it worked perfectly.

 

Thank you very much



Re: attached usb drives partitions mounted at same point #23 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 22 November 2022 - 20:02

Thanks for the feedback.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

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


Re: attached usb drives partitions mounted at same point #24 littlesat

  • PLi® Core member
  • 57,186 posts

+699
Excellent

Posted 23 November 2022 - 22:40

Good solution.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: attached usb drives partitions mounted at same point #25 kallquk

  • Senior Member
  • 38 posts

+1
Neutral

Posted 25 November 2022 - 18:04

I am so sorry to notify you that is doing again:

 

 

root@h7:~# mount
/dev/mmcblk0p5 on / type ext4 (rw,relatime,data=ordered)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=149272k,nr_inodes=37318,mode=755)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /var/volatile type tmpfs (rw,relatime)
/dev/sdc1 on /media/usb type ext4 (rw,relatime,data=ordered)
/dev/sdb2 on /media/usb type ext4 (rw,relatime,data=ordered)
/dev/sdb1 on /media/usb type ext4 (rw,relatime,data=ordered)
/dev/sda1 on /media/hdd type ext4 (rw,relatime,data=ordered)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
192.168.6.37:/media/hdd/movie on /media/net/37 type nfs (rw,noatime,vers=3,rsize=32768,wsize=32768,namlen=255,soft,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.6.37,mountvers=3,mountport=35479,mountproto=tcp,local_lock=all,addr=192.168.6.37)
192.168.6.37:/media/usb on /media/net/37a type nfs (rw,noatime,vers=3,rsize=32768,wsize=32768,namlen=255,soft,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.6.37,mountvers=3,mountport=35479,mountproto=tcp,local_lock=all,addr=192.168.6.37)

 

There are time to time that work ok, and other times no, like above

I tried attaching device, and tried rebooting with device on, too, In both cases is the result above.

The device is an orico model with two sata slots, where hdds(one of them has two partitions) stand vertically. In few words, there is one usb connection to stb, only.


Edited by kallquk, 25 November 2022 - 18:06.


Re: attached usb drives partitions mounted at same point #26 Dimitrij

  • PLi® Core member
  • 10,331 posts

+350
Excellent

Posted 26 November 2022 - 09:20

This?

 

Please answer in telnet:

for D in /sys/block/sd*; do echo "$D : $(readlink -fn $D/device)"; done

 

Attached Files


Edited by Dimitrij, 26 November 2022 - 09:24.

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


Re: attached usb drives partitions mounted at same point #27 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 26 November 2022 - 14:59

Did you do an update in the meantime? As that would overwrite the script with the old broken version/


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

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


Re: attached usb drives partitions mounted at same point #28 kallquk

  • Senior Member
  • 38 posts

+1
Neutral

Posted 26 November 2022 - 20:16

 

This?

 

Please answer in telnet:

for D in /sys/block/sd*; do echo "$D : $(readlink -fn $D/device)"; done

Yes, this in the picture is what I am using

 

Your command output:

 

 

root@h7:~# for D in /sys/block/sd*; do echo "$D : $(readlink -fn $D/device)"; done
/sys/block/sda : /sys/devices/platform/rdb/f045a000.sata/ata1/host0/target0:0:0/0:0:0:0
/sys/block/sdb : /sys/devices/platform/f0470300.ehci/usb1/1-1/1-1.2/1-1.2:1.0/host2/target2:0:0/2:0:0:0
/sys/block/sdc : /sys/devices/platform/f0470300.ehci/usb1/1-1/1-1.2/1-1.2:1.0/host2/target2:0:0/2:0:0:1
root@h7:~#

 

 

 

Did you do an update in the meantime? As that would overwrite the script with the old broken version/

No, I did not any update, except executing sometimes  command "opkg update"

 

At this moment downloaded from stb the file, so you can see if is yours.

 

I did 3-4 reboots last night, after them two of them were as /media/usb(not three but sdc1, sdb2). After last reboot and now, it is as expected.

Attached Files




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users