Hi to all !
After successfully finishing the install of OMV I've got a question about configuration:
When I try to create shares I don't have any volumes to choose in the dropdown menu.
How do I add volumes to be visible in OMVs Gui ?
My situation is a little special, so I got to explain the whole deal:
I run OMV on an ARM device (Netgear Stora)
The two HDDs which can be attached are exclusively for RAID.
So the OS is run from a thumb drive attached via USB
As I'm aware too many write cycles could cause this drive to fail, I installed the package flashybrid.
So most directories with frequent writes are held on a RAMdrive.
The ones of importance are written back on shutdown; the others are flushed.
One of those RAMdrive directories is "/raidmount"
You can tell by the name - it's for mounting my RAID1 there.
I keep this mountpoint in RAM as otherwise any disk access would go via mountpoint on the thumb drive's filesystem.
This would cause wear on the drive and slow RAID access.
RAID capability is compiled to the kernel so I don't make use of mdadm.
When I boot up the kernel provides access to "/dev/md0" automatically which I then mount to "/raidmount"
see /etc/fstab:
Zitat
# USB root
/dev/root / ext2 rw,relatime,errors=continue 0 0
tmpfs /lib/init/rw tmpfs size=16K,rw,nosuid,relatime,mode=0755 0 0
tmpfs /var/run tmpfs size=1M,rw,nosuid,mode=0755 0 0
tmpfs /var/lock tmpfs size=512K,rw,noexec,nosuid,nodev,mode=1777 0 0
tmpfs /var/tmp tmpfs size=512K,rw,noexec,nosuid,nodev,mode=1777 0 0
tmpfs /tmp tmpfs defaults,nosuid,nodev,mode=1777 0 0
tmpfs /raidmount tmpfs defaults 0 0
/dev/md0 /raidmount ext4 defaults,noatime 0 0
Alles anzeigen
As far as I understood OMV can't automatically make use of filesystems it didn't create itself
even though md0 ist listed as (the only available) ext4 filesystem in OMV's Gui
From my research on other postings I understood I got to hardcode md0 to /etc/openmediavault/config.xml to have it appearing as Volume in the Gui for further configuration.
How is this done ?
Could anyone provide the corresponding lines I got to write to config.xml as I'm not shure about the syntax.
If there's another way, to get md0 chooseable as volume I appreciate an advice how this can be done.
By the way: on command line all directories on the RAID are perfecly accessible via parent-directory "/raidmount"
Regards
ranX