HFS+ and OMV

  • Hey guys,


    have OMV 4.1 but most of my disks are HFS,
    OMV mounts HFS plus from web interface but it's read only.
    cli can do mount -t hfsplus -o force,rw /dev/sdb2 xxx/ and then use the web interface to do whatever, it shows up fine.
    but how to make it permanent so it mounts force,rw every time?
    ive heard fstab is a no no
    so is it possible?


    it's just a backup Nas but would ideally leave it as HFS if possible, even if i have to ssh and cli mount

    • Official Post

    The first question to ask yourself is why it is necessary to use force to be able to mount it. Either i have no information about HFS this sounds to me that the filesystem should be mounted, even if the filesystem is in a bad state. Is that possible?

  • good point.


    i think it's because there is no HFS journaling support with Linux so option A is to force, option B is to turn journaling off on specific disk.

  • how the $#%#%# did i miss that.


    im sorry to waste your time.


    had a situation where i had to migrate terrabytes of data and the NAS was perfect for the job - im certain after mounting HFS through gui i got write error (used mc on local console to copy) so i did the force thing and never thought to test it further - just did the force thing from there on.


    but testing it now it mounted read/write.
    i guess i was in a hurry and expecting RO only, i dont know


    thank you for your time!

  • Hi guys, I found this valuable thread because I have the same issue: I have an HPSplus drive hooked into my Rpi with tons of movies, when I try to rename folders or movies it doesn't allow me (Read-only mode). I tried chmod and chown etc..nothing works.

    I am trying to mount is as RW.


    When I check the /etc/openmediavault/config.xml the info I see this:

    <mntent> <uuid>83396eee-23b0-4478-bddb-fdd90d94725b</uuid>

    <fsname>/dev/disk/by-label/Satellite</fsname>

    <dir>/srv/dev-disk-by-label-Satellite</dir>

    <type>hfsplus</type>

    <opts>defaults,nofail,force</opts> <freq>0</freq> <passno>2</passno> <hidden>0</hidden> </mntent>


    so it doesn't have nonexec and looks fine. am I missing something? or should I add something to force it to mount as Read/Write?

    My globals.inc show this default line too:

    \OMV\Environment::set("OMV_FSTAB_MNTOPS_HFSPLUS", "defaults,nofail,force");

    Thanks for your help!
    Al

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!