Page 1 of 1
Problem mounting UFS disk - apparently GEOM error
Posted: 06 Feb 2014 19:03
by kernel-panik
I added an additional SATA disk in my server for backups, added the disk normally in the manager, formatted it to UFS, and when I tried to mount it it showed "Operation not Permitted" error in the logs.
After searching for the error I found a post suggesting to do "sysctl kern.geom.debugflags=0x10". After doing that I was able to mount the disk manually, but if I reboot the server the mount will fail again.
Is there any way of fixing this error without messing with kernel variables / sysctl?
Re: Problem mounting UFS disk - apparently GEOM error
Posted: 06 Feb 2014 20:26
by raulfg3
there are a sysctl.conf tab in webGUI since 9.1.0.1.847 and newer version to add sysctl kern.geom.debugflags=0x10 from webGUI and makes changes permanent in enbeded install ( and in full install too)
Re: Problem mounting UFS disk - apparently GEOM error
Posted: 07 Feb 2014 00:32
by kernel-panik
Thanks Raúl for your answer,
I understand I can modify the sysctl so the system will let me mount the disk in the future, but I was wondering if there was anything I can do to fix the underlying problem (possible geometry error).
First, because I will prefer not to modify that variable (it is there to protect from something) and also because I dont want to have problems mounting that disk in another machine (i.e. a Linux box with UFS support) in case I need to recover data.
I want to use the sysctl modification only as last resort.
Re: Problem mounting UFS disk - apparently GEOM error
Posted: 18 Mar 2018 02:58
by Veloce
Same thing happened to me, somehow the boot sector of my 16Gb. Apacer SSD got corrupted, even a second one I keep for backup sake crashed.
After expirencing the same error as eiger3970 I tried to format them both as FAT32, hoping they would be fit again to be able to install N4F again.
With the help of "Universal USB Installer" utility:
http://www.pendrivelinux.com/universal- ... -as-1-2-3/
I could download the mintlinux ISO and install it on an USB drive to install N4F again to one of the Apacers.
After the initial setup I restored my backup of the config, and started restoring OBI.
With help of the "tools" -> "command" option, find below.
Install OBI:
fetch
https://raw.github.com/crestAT/nas4free ... er/OBI.php && mkdir -p ext/OBI && echo '<a href="OBI.php">OneButtonInstaller</a>' > ext/OBI/menu.inc && echo -e "\nDONE"
Manual installation of Plex when OBI fails:
fetch
https://raw.githubusercontent.com/JRGTH ... nstall.php && mkdir -p ext/plex-install && echo '<a href="plex-install.php">Plex Extension Installer</a>' > ext/plex-install/menu.inc && echo -e "\n=> Done!"