Deleting a file on other V2 causing a crash

Moderators: Gully, peteru

Post Reply
dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Deleting a file on other V2 causing a crash

Post by dRdoS7 » Mon Mar 13, 2023 11:13

Hi,

We have 2 V2s, both have a share to other with an NFS mount. Works fine for watching recordings. Haven't been able to get CIF mounts to work (there's a long post somewhere).

When either of us tries to delete a file on the other's V2, via Media screen, it appears to delete at first, but a refresh shows it wasn't deleted. No big deal, but it would be better if it worked.

Using File Commander to delete the same file results in a crash.

This from the log:

Code: Select all

{2124}<   586.360> Traceback (most recent call last):
{2124}<   586.360>   File "/usr/lib/enigma2/python/mytest.py", line 242, in processDelay
{2124}<   586.360>     callback(*retval)
{2124}<   586.360>   File "/usr/lib/enigma2/python/Plugins/Extensions/FileCommander/plugin.py", line 517, in doDelete
{2124}<   586.361> OSError: [Errno 30] Read-only file system: '/media/autofs/EDDYSV2_hdd/movie/20210226 2126 - SBS World Movies - The Game.ts.meta'
{2124}<   586.361> [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session instance at 0xadeaf120>>,()) failed)
If I delete the file on the V2 itself, no problem.

When moving/copying a file from one on the other, I receive this error message:

Code: Select all

[Errno30] Read-only file system: 'directory/file name'
Files on both are "0644".

I noticed is that I can see the watched progresses on my V2 of the other V2. If I partially watch a recording from the other V2, the progress is displayed on mine, but not on the other.

Any thoughts/comments/solutions?

Or "D" - All of the above?

Thanks,

dRdoS7

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Deleting a file on other V2 causing a crash

Post by MrQuade » Mon Mar 13, 2023 11:55

What does the "exports" file on each V2 contain?

The filesystem needs to be exported as "rw".
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Re: Deleting a file on other V2 causing a crash

Post by dRdoS7 » Mon Mar 13, 2023 17:34

Hi,
MrQuade wrote:
Mon Mar 13, 2023 11:55
What does the "exports" file on each V2 contain?

The filesystem needs to be exported as "rw".

Code: Select all

/media/hdd *
From automounts.xml:

Code: Select all

<autofs>
 <nfs>
  <mount>
   <active>True</active>
   <hdd_replacement>False</hdd_replacement>
   <ip>192.168.1.174</ip>
   <sharename>CAROLSV2_hdd</sharename>
   <sharedir>media/hdd</sharedir>
   <options>rw,nolock,tcp</options>
  </mount>
 </nfs>
</autofs>
dRdoS7

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Deleting a file on other V2 causing a crash

Post by MrQuade » Mon Mar 13, 2023 18:54

I was talking about the "/etc/exports" file. This is the one that defines the NFS share.
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Re: Deleting a file on other V2 causing a crash

Post by dRdoS7 » Mon Mar 13, 2023 20:53

Hi,
MrQuade wrote:
Mon Mar 13, 2023 18:54
I was talking about the "/etc/exports" file. This is the one that defines the NFS share.

That was it (1st quote).

Got the original text from here: viewtopic.php?f=67&t=14533&p=191521#p191486 :D

I quoted the automounts in case it might help.

dRdoS7

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Deleting a file on other V2 causing a crash

Post by MrQuade » Mon Mar 13, 2023 23:24

dRdoS7 wrote:
Mon Mar 13, 2023 20:53
That was it (1st quote).
Wow, completely missed it!

You need to make the export read/write. Try:
/media/hdd *(rw,sync)
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Re: Deleting a file on other V2 causing a crash

Post by dRdoS7 » Tue Mar 14, 2023 15:01

Hi,
MrQuade wrote:
Mon Mar 13, 2023 23:24
dRdoS7 wrote:
Mon Mar 13, 2023 20:53
That was it (1st quote).
Wow, completely missed it!

You need to make the export read/write. Try:
/media/hdd *(rw,sync)

Edited both exports, rebooted the V2s, and some progress (of sorts):

Code: Select all

[Errno13]: Permission denied:  'directory/file name'

That was trying to copy a file (File Commander) from one V2 to the other. No error messages using Media.


dRdoS7

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Deleting a file on other V2 causing a crash

Post by MrQuade » Tue Mar 14, 2023 15:14

dRdoS7 wrote:
Tue Mar 14, 2023 15:01
You need to make the export read/write. Try:
/media/hdd *(rw,sync)
Try (rw,sync,no_root_squash)
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Re: Deleting a file on other V2 causing a crash

Post by dRdoS7 » Tue Mar 14, 2023 16:17

Hi,
MrQuade wrote:
Tue Mar 14, 2023 15:14
dRdoS7 wrote:
Tue Mar 14, 2023 15:01
You need to make the export read/write. Try:
/media/hdd *(rw,sync)
Try (rw,sync,no_root_squash)
I was only able to reboot my V2 (some recordings currently running on my wife's). I was able to copy a recording on her V2 to my V2.

I'll reboot the other V2 when available, and try copying from mine to the other.

Thanks,

dRdoS7

EDIT: After rebooting, the other V2 worked as OK as well.

Post Reply

Return to “Networking”