I know that it would be better to install OMV to a seperate driver or a USB driver.
But my case is something different. I want to install OMV on a VPS. And I installed OMV on the Debian 8 system. However, I cannot create shared folder in the system, nor can I manage the file system.
I have separated a partition for OMV to use, but OMV cannot access it, so how can I make OMV to use that partition?
How to install OMV on a single disk?
-
- OMV 3.x
- gelöst
- versia
-
-
Make sure the partition is not mounted. Then after that you should be able to mount it using the omv webui. Once mounted through the webui you should be able to start creating shared folders.
-
Make sure the partition is not mounted. Then after that you should be able to mount it using the omv webui. Once mounted through the webui you should be able to start creating shared folders.
I unmounted the partition before I installed OMV, and then I used OMV webui to mount the partition, but I still cannot create shared folders.
And after I mounted using the OMV webui, if I want to unmount using the webui, I get the following error:CodeThe XPath query '//system/fstab/mntent[((((fsname='/dev/sda3' or fsname='/dev/disk/by-id/ata-HGST_HTE721010A9E630_JR10036P2VJH3L-part3') or fsname='/dev/disk/by-id/wwn-0x5000cca7dce83e8c-part3') or fsname='/dev/disk/by-uuid/47e9d496-9809-4689-9d65-13c7d1bcb6d9') or fsname='47e9d496-9809-4689-9d65-13c7d1bcb6d9')]' does not return the requested number of 1 object(s).
-
-
That error means is a duplicate fstab entry. Check the db manually to erase the duplicate.
-
you should be able to look at the db at
/etc/openmediavault/config.xml
Look for the fstab tags. There should be a duplicate mnent entry.
-
That error means is a duplicate fstab entry. Check the db manually to erase the duplicate.
I've looked the config.xml but seen no meaningful fstab entry.
The only fstab entry in my config file is:XML
Alles anzeigen<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> </mntent> --> </fstab>
To be detailed, my fstab file is:
Bash
Alles anzeigen# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda2 during installation UUID=97eadbae-4df9-4d48-b64c-b8dae7dec4c7 / ext4 errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=b6c1d347-6aab-47dc-879e-8a5bb8f70ea3 /boot ext4 defaults 0 2 # /omv was on /dev/sda3 during installation UUID=47e9d496-9809-4689-9d65-13c7d1bcb6d9 /omv ext4 defaults 0 2 # swap was on /dev/sda4 during installation UUID=ed694f4c-1c92-4382-9b80-3db4e383e35e none swap sw 0 0 tmpfs /tmp tmpfs defaults 0 0 # >>> [openmediavault] # <<< [openmediavault]
The partition I want to assign to OMV is the /omv partition, so I used umount /dev/sda3 to unmount the partition and then mount the partition in OMV webui. However, I can't make shared folders by doing this.
-
-
Solved.
[Solution]
1. Comment the partition OMV want to use:Bash
Alles anzeigen# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda2 during installation UUID=97eadbae-4df9-4d48-b64c-b8dae7dec4c7 / ext4 errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=b6c1d347-6aab-47dc-879e-8a5bb8f70ea3 /boot ext4 defaults 0 2 # /omv was on /dev/sda3 during installation # UUID=47e9d496-9809-4689-9d65-13c7d1bcb6d9 /omv ext4 defaults 0 2 # swap was on /dev/sda4 during installation UUID=ed694f4c-1c92-4382-9b80-3db4e383e35e none swap sw 0 0 tmpfs /tmp tmpfs defaults 0 0 # >>> [openmediavault] # <<< [openmediavault]
2. Then reboot and mount the device in OMV webui. Enjoy.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!