I am setting up a NAS server as a project for class and to keep it at home, the problem I have is that when creating a file system on the web there is no problem, but then when I want to mount it I get the error message 500 - Internal Server ErrorFailed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color fstab 2>&1' with exit code '100': ERROR: The state 'fstab' does not exist and it does not allow me to move forward, and since I need to mount it to be able to use it to store Docker containers, I've been watching and they tell me to install OMV5, but it's impossible for me to do it
2TB SSD I can't mount on OMV6 for a NAS server
-
- gelöst
- OMV 6.x
- Lady Marian
-
-
when creating a file system on the web there is no problem, but then when I want to mount it I get the error message
Did you follow the steps in this section of the new user guide?
omv6:new_user_guide [omv-extras.org]
If you have deviated in any step, in which of them has it been?
-
-
-
Post the outputs inside a codebox of
blkid
lsblk
cat /etc/fstab
sudo omv-showkey fstab
-
blkid
/dev/mmcblk0p1: LABEL_FATBOOT="bootfs" LABEL="bootfs" UUID="9E81-4F92" BLOCK_SIZ E="512" TYPE="vfat" PARTUUID="24121bfe-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="cf2895ca-6dc2-4797-8040-f76ba1508f41" BLOCK _SIZE="4096" TYPE="ext4" PARTUUID="24121bfe-02"
/dev/sda1: UUID="2bb2f673-ffa0-435e-9d52-eb1069025aee" BLOCK_SIZE="4096" TYPE="e xt4" PARTUUID="acef4239-1652-4be8-b019-7793776f3dd3"
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 117.2G 0 disk
└─sda1 8:1 1 117.2G 0 part
mmcblk0 179:0 0 119.1G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 118.8G 0 part /
cat /etc/fstab
proc /proc proc defaults 0 0
PARTUUID=24121bfe-01 /boot vfat defaults 0 2
PARTUUID=24121bfe-02 / ext4 noatime,nodiratime,defaults 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
sudo omv-showkey fstab
<fstab>
<!--
<mntent>
<uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
<fsname>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx|/dev/xxx</fsname>
<dir>/xxx/yyy/zzz</dir>
<type>none|ext2|ext3|ext4|xfs|jfs|iso9660|udf|...</type>
<opts></opts>
<freq>0</freq>
<passno>0|1|2</passno>
<hidden>0|1</hidden>
<usagewarnthreshold>xxx</usagewarnthreshold>
<comment>xxx</comment>
</mntent>
-->
<mntent>
<uuid>79684322-3eac-11ea-a974-63a080abab18</uuid>
<fsname>/dev/disk/by-uuid/cf2895ca-6dc2-4797-8040-f76ba1508f41</fsname>
<dir>/</dir>
<type>ext4</type>
<opts>noatime,nodiratime,defaults</opts>
<freq>0</freq>
<passno>1</passno>
<hidden>1</hidden>
</mntent>
<mntent>
<uuid>6e8ffb91-d80a-42fb-883f-e6c07ae77a76</uuid>
<fsname>/dev/disk/by-uuid/2bb2f673-ffa0-435e-9d52-eb1069025aee</fsname>
<dir>/srv/dev-disk-by-uuid-2bb2f673-ffa0-435e-9d52-eb1069025aee</dir>
<type>ext4</type>
<opts>defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
<freq>0</freq>
<passno>2</passno>
<hidden>0</hidden>
<usagewarnthreshold>85</usagewarnthreshold>
<comment></comment>
</mntent>
</fstab>
-
-
-
No need for all that.
Please, use codebox when posting outputs.
sudo omv-salt deploy run fstab
-
@olduser
It does not allow me to mount it, it creates the file system without problem but, it is at the time of mounting it when it gives me the failure that jumps in the image that I have shared, with respect to the codebox, I will take it into account for the next one still and thanks
-
-
-
Try this.
omv-salt stage run all
-
-
sudo systemctl status openmediavault-engined.service
-
-
the result is correct, i think
Code● openmediavault-engined.service - The OpenMediaVault engine daemon that processes the> Loaded: loaded (/lib/systemd/system/openmediavault-engined.service; enabled; vend> Active: active (running) since Thu 2023-06-15 10:59:00 CEST; 7h ago Process: 3745 ExecStart=/usr/sbin/omv-engined (code=exited, status=0/SUCCESS) Main PID: 3747 (omv-engined) Tasks: 1 (limit: 4915) CPU: 16min 7.634s CGroup: /system.slice/openmediavault-engined.service └─3747 omv-engined lines 1-9/9 (END)
-
I have no idea what's going on in your system. I don't know why there is no fstab state.
When you installed OMV, did you have an internet connection? Was there an error?
-
As far as I remember, I installed it following a script from GitHub, on a Raspbian OS, and it is true that after installing it, it seemed like it didn’t give me any connection and it told me that the wifi connector had been disconnected. But I used the omv-firstaid command and re-entered my wifi data. Once I did that, I entered the website using the IP it gave me, and everything seemed fine at first. It updated, I installed Docker with the docker-compose plugin, but when I went to mount the hard drive I have to create shared folders, it started giving me that error
-
-
As far as I remember, I installed it following a script from GitHub, on a Raspbian OS, and it is true that after installing it, it seemed like it didn’t give me any connection and it told me that the wifi connector had been disconnected. But I used the omv-firstaid command and re-entered my wifi data. Once I did that, I entered the website using the IP it gave me, and everything seemed fine at first. It updated, I installed Docker with the docker-compose plugin, but when I went to mount the hard drive I have to create shared folders, it started giving me that error
I'm not sure, but I think the installation was not successful. I would install again, this time with cable, not wifi. It would be better to always have it connected with a cable, you will avoid problems.
-
The problem is that it is impossible for me to connect it by cable to the internet
-
Can't connect it to router directly? Is it a raspberry?
-
-
If it is a Raspberry Pi 4, and I am impossible for the distribution at home, where I have the router I have no more space where to put the pi
-
A raspberry doesn't take up that much space. I would find a way to do it. If it is impossible you can try again with wifi, but the same thing can happen to you.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!