fadi wrote:What would the mount point for the second drive be?
Will it be ~/ or /data .
/home/user1/
/home/user2/
/home/user3/
fadi wrote:I want it to automatically create a new folder for each new user I create or to be like an extension of the home folder.
/mnt/data/
/mnt/data/user1/
/mnt/data/user2/
/mnt/data/user3/
/mnt A temporary mountpoint for regular filesystems (as in not removable media) that can be used while the administrator is repairing or working on a filesystem.
fadi wrote:I do not think using ~/data will do it for me.
fadi wrote:I think I want it like home/[userid]/data and I thought typing ~/data as a mount point will create it automatically for each new user I create . But since you are saying it does not happen this way , I will just put /data as a mount point and I will create a new folder for each new user I create, manually. Am I right?
ls -l /mnt
drwxr-xr-x 5 root root 4096 Mar 15 2023 mnt/data/user1
drwxr-xr-x 5 root root 4096 Mar 15 2023 mnt/data/user2
ls -l /mnt
drwxr-x--- 5 user1 user1 4096 Mar 15 2023 mnt/data/user1
drwxr-x--- 5 user2 user2 4096 Mar 15 2023 mnt/data/user2
doktor5000 wrote:Nope, it won't. By default home directories are only created as /home/[username] but that won't be a separate filesystem for each user nor a filesystem at all.
I still don't get your issue, if you have two drives, simply put both into an LVM, create a / LV with 100GB and the rest of the 2TB for /home which has room for both users.
pvcreate dev/sda
pvcreate dev/sdb
vgcreate vg /dev/sda /dev/sdb
lvcreate -L 184G -n root vg
lvcreate -L 16G -n swap vg
lvcreate -L 1800G -n home vg
fadi wrote:Is the process in mageia graphical from the begining.I still need a tutorial, with screenshots if possible, in mageia.
sturmvogel wrote:...
and rest for lv_home (/home)).
Users browsing this forum: No registered users and 1 guest