OK. I think I got everything ALMOST to where I want it. I have a quick and hopefully easy question though. So I followed the little writeup on how to use aufs and snap raid. Got everything setup with the folders I want and pointed them all to the "poolshare" directory I created on a drive. The problem is that when I copy something to one folder it copies it to every folder (probably because they all share the same parent directory). How do I make them each their own folders but retain the multi drive aufs / snap raid data security?
Help me install OMV with Intel e1000e NIC
-
-
Only have one branch per drive per pool for aufs. Don't have your parity drive in the aufs pool.
-
Zitat von "ryecoaaron"
Only have one branch per drive per pool for aufs. Don't have your parity drive in the aufs pool.
I don't fullly understand the Bind Share part
Do I "bind" them all to the same "Bind Share"? I assume not.
Can I only have one main folder per hard drive if I want to keep the files separate? I thought I had it figured out and just transferred all my pictures over. Synced it and now all the different pictures folders show up on all the folders. Can't figure out what I'm doing wrong here
-
-
aufs pools the drives not the folders and when you write to the pool, it puts the files on the drive with the most free space. Each branch should usually be the root folder (just / ). For example (guessing from your pics):
Shared Folders needed:
Shared Folders optional if you want to create separate samba/afp shares - otherwise, I would just access them as subfolders:
CodeDownloads 4tbdrive2 pool/Downloads Movies 4tbdrive2 pool/Movies Pictures 4tbdrive2 pool/Pictures TVShows 4tbdrive2 pool/TVShows
To share over samba/afp, share needed:
Optional to share over samba/afp:
Don't share:
Hope that makes a little sense
-
I kinda wanted to start over as I accidentally deleted the shares before deleting the files so I unmounted and wiped the drives and rebooted. When I came back into the file systems tab they are all still there but "missing". I was successfully able to add them and format them but is there a way to get rid of these older ones just sitting in here?
-
-
-
Ignore this post
-
Zitat von "ryecoaaron"
I would enable ssh and login as root so you can cut & paste the output of:
cat /etc/openmediavault/config.xml | awk '/<fstab>/,/<\/fstab>/'
Code
Alles anzeigenroot@omvserver:~# cat /etc/openmediavault/config.xml | awk '/<fstab>/,/<\/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>ext2|ext3|ext4|xfs|jfs|iso9660|udf</type> <opts></opts> <freq>0</freq> <passno>0|1|2</passno> </mntent> --> <mntent> <uuid>b8610f00-a800-478d-a956-bc1df8d74f96</uuid> <fsname>8b4d1e12-69f6-426b-9e5c-9a84ac4d9632</fsname> <dir>/media/8b4d1e12-69f6-426b-9e5c-9a84ac4d9632</dir> <type>ext4</type> <opts>defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0</opts> <freq>0</freq> <passno>2</passno> </mntent> <mntent> <uuid>193f0bdc-d04b-4663-add4-a0b781057946</uuid> <fsname>fb2ec2f2-f6b5-4011-8f45-23d6c80efb1a</fsname> <dir>/media/fb2ec2f2-f6b5-4011-8f45-23d6c80efb1a</dir> <type>ext4</type> <opts>defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0</opts> <freq>0</freq> <passno>2</passno> </mntent> <mntent> <uuid>2123267b-8bc4-4ef7-b81e-0084814fb997</uuid> <fsname>9f5ebc0f-6a69-4e4e-b689-57380cedd63e</fsname> <dir>/media/9f5ebc0f-6a69-4e4e-b689-57380cedd63e</dir> <type>ext4</type> <opts>defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0</opts> <freq>0</freq> <passno>2</passno> </mntent> </fstab> root@omvserver:~#
Code
Alles anzeigencat /etc/openmediavault/config.xml | awk '/<filesystem>/,/<\/filesystem>/' root@omvserver:~# cat /etc/openmediavault/config.xml | awk '/<filesystem>/,/<\/filesystem>/' <filesystem> <!-- <quota> <uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid> <fsuuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx</fsuuid> <usrquota> <name>xxx</name> <bsoftlimit>0</bsoftlimit> <bhardlimit>xxx</bhardlimit> <isoftlimit>0</isoftlimit> <ihardlimit>0</ihardlimit> </usrquota> <usrquota> ... </usrquota> <grpquota> <name>xxx</name> <bsoftlimit>0</bsoftlimit> <bhardlimit>xxx</bhardlimit> <isoftlimit>0</isoftlimit> <ihardlimit>0</ihardlimit> </grpquota> <grpquota> ... </grpquota> </quota> <quota> ... </quota> --> </filesystem> root@omvserver:~#
-
Not sure why they are showing up. Have you rebooted? What is the output of blkid?
-
-
root@omvserver:~# blkid
/dev/sdc5: UUID="adca230b-32ec-475a-bf54-4221040f474c" TYPE="swap"
/dev/sdc1: UUID="0f234674-87a9-48ac-948c-03ecdc0c0b47" TYPE="ext4"
/dev/sda1: LABEL="4tbdrive1" UUID="589c0de1-b7c2-4f37-ab3e-8385322858cb" TYPE="ext4"
/dev/sdb1: LABEL="2tbdrive1" UUID="1d4b27f7-183c-41e5-b4ec-ae3592202954" TYPE="ext4"
/dev/sdd1: LABEL="4tbdrive2" UUID="4491dda9-9825-4aa8-9f37-a6cf2b5ea216" TYPE="ext4"
/dev/sde1: LABEL="2tbdrive2" UUID="85555d0b-eccf-4279-a92b-97a983b58279" TYPE="ext4"
root@omvserver:~#rebooting now but I believe I already did
-
What about:
ls -al /tmp/
-
Yeah rebooting didn't do anything. They are still there.
-
-
root@omvserver:~# ls -al /tmp/
total 4
drwxrwxrwt 2 root root 40 May 21 07:32 .
drwxr-xr-x 24 root root 4096 May 20 11:08 ..
root@omvserver:~# -
omv-mkconf fstab
-
Was that supposed to output something? It just entered it and came back to another command line
-
-
Refresh the web interface. Did it fix the problem?
What is the output of:
ls /dev/disk/by-uuid/
-
Didn't appear to have fixed anything....
root@omvserver:~# ls /dev/disk/by-uuid/
0f234674-87a9-48ac-948c-03ecdc0c0b47 589c0de1-b7c2-4f37-ab3e-8385322858cb
1d4b27f7-183c-41e5-b4ec-ae3592202954 85555d0b-eccf-4279-a92b-97a983b58279
4491dda9-9825-4aa8-9f37-a6cf2b5ea216 adca230b-32ec-475a-bf54-4221040f474c
root@omvserver:~# -
I can't figure out where the hell it is getting the missing entries... I will have to try to duplicate in a VM.
-
-
Yeah everything looks good. Should I just reinstall OMV (again)?
-
Nope. Found the problem. I didn't realize your four drives weren't mounted. So, all three mntent entries under fstab in /etc/openmediavault/config.xml need to be deleted. Backup config.xml first.
cp /etc/openmediavault/config.xml /etc/openmediavault/config.old
nano /etc/openmediavault/config.xml
delete entry including <mntent> and </mntent> tags.
ctrl-o to save, ctrl-x to exit.Worked on my VM
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!