ExtraHD - problem when mountpoint does not start with a /

Still unsolved? I just built and migrated to a new machine (because of missing IPFire WIFI appliance :expressionless_face:) and still have that issue…

Also if you format a partiton that was set to be a mountpoint, the entry is still in the config file and you can’t use the name for the mountpoint anymore. Dead entries aren’t listet in the wui.

As far as I was aware, that had been solved.

I certainly didn’t have any problems when I last tried it but that was around a couple of years ago.

Me too, but it looks like it’s back…

Also mounting failes.

Filesystem is ext4

Well no changes have been made to it in CU195.

I have checked in the repo and the last change was in August 2023 where a table was adjusted to use the full width.

The one before that was October 2023 with adding support for LVM and MDADM devices.

Looking in bugzilla, the bug report is still open.

You could add your info in, together with all details for how to reproduce what you are finding now or if the fail mode is different then close that old bug report and start a new one. Better that having two bugs with different root causes in the same bug report. Everything then gets very confused.

It also does not create the folder in mnt. I created it manually and could mount the partition.

After that the wui is even more strange. no delte button anymore… Maybe because via terminal I’m root and the wui has admin previliges.

You should not need to create anything manually and if done so then you have to make sure that ownerships and permissions are all as expected or it will break things.

the folder mnt was empty, even I created a mountpoint via wui.

I manually deletet the folder and the config entry, so ot looks like that.

Creating a mountpoint results in no directory.

What are the user rights and owner te be right?

I need to get this working. That samba share is important for us.

I took from the extrahd folder

Oh man the target is supposed to be different. I did that wrong before. For me it’s supposed to be /mnt/harddisk

However the function is not good by not giving a error message…

But it’s still buggy when it comes to delete entries.

It will try and put it wherever you define it to be placed.

It was not defined to specifically be in /mnt/ although that is probably what most users will use but it can also be placed in other locations as required. I know some users use /media/

What error message should it give. How should it know where you want to place the extra hard disks?

However without “/” it’s not working.

Syntax error.

I just accessed my vm system that has extra HD’s defined.

Here is the screenshot of it.

Then I deleted one of the drives I have mounted.

It unmounted it without issues.

Then I remounted it again, also without issues.

I don’t understand what this means?

Yes we had that in the past. Whenever the definition is wrong, the function failes to delete the entry at some point.

The root location.

If I define /harddisk it will create in the root direcotry a subdirectory harddisk.

Whithout that / it’s not working because the target is invalid.

That’s why the function needs to check the addressed target.

I thought the target directory is always /mnt and therefore I just addressed a subfolder name, but that thought is wrong (and I had it at least 4 times now :face_with_diagonal_mouth:)

I was saying that I had no problems. My mount point was removed correctly and the hard disk was shown as available but not mounted, which is what it is supposed to be.

But only because your mountpoint is/was right. As you can see, you can create wrong/not working mountpoints by addressing a wrong target. There is no check for the target and it creates an entry in the config file. That wrong entry can’t be removed anymore (only via console).

Have edited the post. / is SHIFT 7