NFS I do need help!
-
-
Thank you @ but Adoby already mentioned n posts above.
yeah ok i see the error there with the ntfs drive. You're not using it, but you did use it once an you did not unregister the disk from the db probably.
if you run
omv-confdbadm read conf.system.filesystem.mountpoint
should display all fstab entries in the db
-
Out of the blue I lost my mount point not sure what to do?
actually the error is
# swap was on /dev/sdb5 during installation
I think I removed a disk for the time being,can I reinstall without it ?
-
-
The "swap on" line is not an error but merely a comment in fstab.
Are you creating nfs shares on omv and then mounting them on the same omv?
-
The "swap on" line is not an error but merely a comment in fstab.
Are you creating nfs shares on omv and then mounting them on the same omv?
This line is not a comment
UUID=d8bb4ceb-0689-4a76-a669-b10fcfc5336f / ext4 errors=remount-ro 0 1
No i am mounting the NFS share on a different omv
Use to work be fore i diconnected some disks not related to the share.
-
-
-
This line is not a comment
UUID=d8bb4ceb-0689-4a76-a669-b10fcfc5336f / ext4 errors=remount-ro 0 1
No i am mounting the NFS share on a different omv
Use to work be fore i diconnected some disks not related to the share.
That line mounts your root drive and is fine. Don't mess with it unless you want to make your machine un-bootable. If you reboot an NFS server or unmount the share location, you need to remount the NFS on the client unless you have fstab configured to automount.
-
If you reboot an NFS server or unmount the share location, you need to remount the NFS on the client unless you have fstab configured to automount.
I use to reboot it without issues before,
Anyway how to configure it to automount?
-
I use to reboot it without issues before,
Anyway how to configure it to automount?
I can think of several ways:
you can use auto setting with systemd mount in fstab
you can configure mount as a systemd unit and use automount setting
you can use autofs
-
-
I am trying to create a new share but got an error message and I cannot mount media I believe it says it is already mounted but it is not?
Code
Display MoreError #0: OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run fstab 2>&1' with exit code '1': rockpro64: ---------- ID: create_filesystem_mountpoint_1aa05325-503d-4e29-b6e9-2d21fbaa5f5c Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_1aa05325-503d-4e29-b6e9-2d21fbaa5f5c for file /etc/fstab was charged by text Started: 11:58:14.655536 Duration: 3.08 ms Changes: ---------- ID: mount_filesystem_mountpoint_1aa05325-503d-4e29-b6e9-2d21fbaa5f5c Function: mount.mounted Name: /srv/dev-disk-by-label-WD_10TB_1 Result: True Comment: Target was already mounted Started: 11:58:14.661030 Duration: 483.227 ms Changes: ---------- umount: Forced remount because options (user_xattr) changed ---------- ID: create_filesystem_mountpoint_b1e768f3-d95e-4448-813c-7f13070cf982 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_b1e768f3-d95e-4448-813c-7f13070cf982 for file /etc/fstab was charged by text Started: 11:58:15.144768 Duration: 3.049 ms Changes: ---------- ID: mount_filesystem_mountpoint_b1e768f3-d95e-4448-813c-7f13070cf982 Function: mount.mounted Name: /srv/dev-disk-by-label-WD-10TB_2 Result: True Comment: Target was already mounted Started: 11:58:15.148171 Duration: 194.574 ms Changes: ---------- umount: Forced remount because options (user_xattr) changed ---------- ID: create_filesystem_mountpoint_b98a50a7-f91f-4bf1-93ea-341d72edcddb Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_b98a50a7-f91f-4bf1-93ea-341d72edcddb for file /etc/fstab was charged by text Started: 11:58:15.344794 Duration: 5.012 ms Changes: ---------- ID: mount_filesystem_mountpoint_b98a50a7-f91f-4bf1-93ea-341d72edcddb Function: mount.mounted Name: /srv/dev-disk-by-label-Segate Result: True Comment: Target was already mounted Started: 11:58:15.350236 Duration: 60.454 ms Changes: ---------- ID: create_filesystem_mountpoint_107fcb11-48e8-4ae8-aea7-538784d4d18a Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_107fcb11-48e8-4ae8-aea7-538784d4d18a for file /etc/fstab was charged by text Started: 11:58:15.411251 Duration: 2.921 ms Changes: ---------- ID: mount_filesystem_mountpoint_107fcb11-48e8-4ae8-aea7-538784d4d18a Function: mount.mounted Name: /srv/dev-disk-by-label-Seagate_plus_5TB Result: True Comment: Started: 11:58:15.414518 Duration: 100.386 ms Changes: ---------- ID: create_filesystem_mountpoint_83409bbc-d3e3-4797-899b-c48922ebc6c2 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_83409bbc-d3e3-4797-899b-c48922ebc6c2 for file /etc/fstab was charged by text Started: 11:58:15.515589 Duration: 2.97 ms Changes: ---------- ID: mount_filesystem_mountpoint_83409bbc-d3e3-4797-899b-c48922ebc6c2 Function: mount.mounted Name: /srv/dev-disk-by-label-WD-10TB_6 Result: True Comment: Started: 11:58:15.518899 Duration: 91.517 ms Changes: ---------- ID: create_filesystem_mountpoint_a1fe4f27-f4e2-46ec-b9ca-8a70f30e73ad Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_a1fe4f27-f4e2-46ec-b9ca-8a70f30e73ad for file /etc/fstab was charged by text Started: 11:58:15.610924 Duration: 3.098 ms Changes: ---------- ID: mount_filesystem_mountpoint_a1fe4f27-f4e2-46ec-b9ca-8a70f30e73ad Function: mount.mounted Name: /srv/dev-disk-by-label-WD-10TB_5 Result: True Comment: Started: 11:58:15.614365 Duration: 98.352 ms Changes: ---------- ID: create_filesystem_mountpoint_e14cb18c-0e62-496e-baab-960ac3d1bb72 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_e14cb18c-0e62-496e-baab-960ac3d1bb72 for file /etc/fstab was charged by text Started: 11:58:15.713228 Duration: 10.609 ms Changes: ---------- ID: mount_filesystem_mountpoint_e14cb18c-0e62-496e-baab-960ac3d1bb72 Function: mount.mounted Name: /srv/dev-disk-by-label-WD-10TB_4 Result: True Comment: Started: 11:58:15.724204 Duration: 91.692 ms Changes: ---------- ID: create_filesystem_mountpoint_4938a270-b027-4f40-a569-d2c3c8c931ef Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_4938a270-b027-4f40-a569-d2c3c8c931ef for file /etc/fstab was charged by text Started: 11:58:15.816446 Duration: 3.015 ms Changes: ---------- ID: mount_filesystem_mountpoint_4938a270-b027-4f40-a569-d2c3c8c931ef Function: mount.mounted Name: /srv/dev-disk-by-label-Elements Result: False Comment: ntfs-3g: Failed to access volume '/dev/disk/by-label/Elements': No such file or directory ntfs-3g 2017.3.23AR.3 integrated FUSE 28 - Third Generation NTFS Driver Configuration type 7, XATTRS are on, POSIX ACLS are on Copyright (C) 2005-2007 Yura Pakhuchiy Copyright (C) 2006-2009 Szabolcs Szakacsits Copyright (C) 2007-2017 Jean-Pierre Andre Copyright (C) 2009 Erik Larsson Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point> Options: ro (read-only mount), windows_names, uid=, gid=, umask=, fmask=, dmask=, streams_interface=. Please see the details in the manual (type: man ntfs-3g). Example: ntfs-3g /dev/sda1 /mnt/windows News, support and information: http://tuxera.com Started: 11:58:15.819825 Duration: 100.276 ms Changes: ---------- ID: create_bind_mountpoint_15cceb72-4671-4a1a-a8ff-e261768ab34c Function: file.accumulated Result: True Comment: Accumulator create_bind_mountpoint_15cceb72-4671-4a1a-a8ff-e261768ab34c for file /etc/fstab was charged by text Started: 11:58:15.920998 Duration: 4.517 ms Changes: ---------- ID: mount_bind_mountpoint_15cceb72-4671-4a1a-a8ff-e261768ab34c Function: mount.mounted Name: /export/Media2 Result: True Comment: Target was already mounted Started: 11:58:15.925926 Duration: 51.472 ms Changes: ---------- ID: create_bind_mountpoint_331e0ca8-a0cf-4ab1-9335-58b8154e35a6 Function: file.accumulated Result: True Comment: Accumulator create_bind_mountpoint_331e0ca8-a0cf-4ab1-9335-58b8154e35a6 for file /etc/fstab was charged by text Started: 11:58:15.977833 Duration: 3.123 ms Changes: ---------- ID: mount_bind_mountpoint_331e0ca8-a0cf-4ab1-9335-58b8154e35a6 Function: mount.mounted Name: /export/AppData Result: True Comment: Target was already mounted Started: 11:58:15.981300 Duration: 39.082 ms Changes: ---------- ID: create_bind_mountpoint_434915f0-bef4-4326-a6a9-79debd91815a Function: file.accumulated Result: True Comment: Accumulator create_bind_mountpoint_434915f0-bef4-4326-a6a9-79debd91815a for file /etc/fstab was charged by text Started: 11:58:16.020811 Duration: 3.165 ms Changes: ---------- ID: mount_bind_mountpoint_434915f0-bef4-4326-a6a9-79debd91815a Function: mount.mounted Name: /export/media Result: True Comment: Target was already mounted Started: 11:58:16.024331 Duration: 39.623 ms Changes: ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: No changes needed to be made Started: 11:58:16.075902 Duration: 10.459 ms Changes: Summary for rockpro64 ------------- Succeeded: 22 (changed=2) Failed: 1 ------------- Total states run: 23 Total run time: 1.406 s in /usr/share/php/openmediavault/system/process.inc:182 Stack trace: #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute() #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy() #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array) #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array) #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array) #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusKl...', '/tmp/bgoutputLE...') #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure)) #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array) #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array) #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array) #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array) #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1) #12 {main}
-
Can you describe what you are trying to do?
1. On the server where you create the share and setup the NFS service.
2. On the client where the NFS share is to be mounted.
-
-
-
On the client run:
sudo mount -a
-
mount.nfs: access denied by server while mounting 192.168.2.30:Media
-
mount.nfs: access denied by server while mounting 192.168.2.30:Media
According to the image you posted, you don't have a Media on OMV. You do have a media. Case matters.
-
-
Exact sorry, working now with
sudo mount -a
and
192.168.2.30:media /mnt/Media nfs defaults,noatime 0 0
Thank you
-
Well I put this project aside for a while! Actually what I would like to achieve is with /mnt/Media/Music to be able to use the plugin to use Music folder for DNLA but the plugin ask for a sharedfolder and not a mount point?
-
So just create a share of the mountpoint.
-
-
-
Still stuck.Dnla require a share folder. how to add a shared folder on a mountpoint since Add shared folder does not see them?
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!