I agree with you guys.
Put all the eggs in the basket is a big risk.
If the OS/the data on a single drive fails, you probably likely to lose everything or corrupted.
To avoid headache, and time, just buy another drive(s) to use for data separately.
Installation of OMV 3 on debian jessie
-
- OMV 3.x
- gelöst
- TheFuriousSnail
-
-
if I were you I would redo your partitioning schema a bit.
leave the 2 drives as is, and do Raid-1 on them BUT
as per my assumptions:
Current setup
sda/b 0 efi partition --> (well not asusmption this is efi /boot )
sda/b 1 raid --> used as MD0 (system)
sda/b 2 raid--> used as MD1 (swap)
sda/b 3 raid --> used as MD2 (/home)
sda/b 4 raid --> used as MD3 (/tmp)question, is there any reason to branch out the /tmp into separate partition?
they are still on the same drives.
so I would do a single System partition with no division for /home /tmpnew setup
sda/b 0 efi partition --> (well not asusmption this is efi /boot )
sda/b 1 raid --> used as MD0 (system) Since you said you have 4TB I say put about 120GB for system should be more than enough.
sda/b 2 raid--> used as MD1 (swap) -- not sure what the usage of the system would be and your RAM specs, but I ussually allocate twice the RAM capacity for swap.
sda/b 3 raid --> used as MD2 (All DATA)
md0 / (system)
md1 swap
md2 (data)once all is installed , the System and OMV.
mount the MD3 in OMV webUIcreate the /users/home on the data partition mounted in "/media/<uuid>"
tan you might need to switch into single user mode ("init 1" ???)
cd /home
cp -ax * /media/<uuid>/users/homeonce done rename /home to something like
cd /mv home home.oldthan either make new folder for /home and mount the new "/media/<uuid>/users/home" location into it in fstab or just create a symlink in the root to point to new locationln -s /media/<uuid>/users/home /home etc...a bit of a pain but in your case it might work.I always prefer using real hard drive for system over usb flash if I can.when flash drives works it's great. when it fails, it's spectacular.
-
Thanks for your help.
For now, I will keep my configuration as it is, I'll buy another ssd later.
I unmount /home partition then remove the entry in the /etc/fstab file. Finally I mount it with OMV gui.
Now I can create shared folders.
Thanks for all your explanations, it was very kind of you.
-
-
you are welcome, however keep in mind that by doing what you did, you might have broken the link between system and home location. you might get an error when you try to create a user with home folder.
-
you might get an error when you try to create a user with home folder.
You don't. I tested it.
-
you didn't, but I am not sure OP did everything you did.
it seams he did not repoint the system home folder to new mount.
just unmount the partition and mount it under OMV.
it would let him use it for sharing but wouldn't it create a problem with the system?
as the home folder/partition is not there anymore. -
-
When OMV creates users, it specifies the home directory and it doesn't need /home/. I just removed my symlink to /home so there is no /home at all. I can still create users from the web interface.
-
cool, good to know.
-
Are users created by OMV gui different from classics linux users ? (special permissions, directories or configuration files)
If I use those command lines:
- addUser USER_NAME GROUP
- mkdir /media/UUID_YYY/USER_NAME
-chown USER_NAME:GROUP /media/UUID_YYY/USER_NAMEIs the result similar ?
-
-
OMV uses useradd and specifies the directory to be the home directory with the flag to create that directory with proper permissions. So, it is one line instead of three.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!