fstab help

  • Thread starter Thread starter maaddyfreaks
  • Start date Start date
M

maaddyfreaks

Code:
Hi Folks,

I created a Virtual Machine and created few mount points

/opt/admin/install


during the VM creation with iso file. Everything is fine and now when it reboots it always comes as root

Below is from my fstab
/dev/mapper/vg_host1-lv_wd_admin /opt/admin/install ext4 default 1 2

$ ls -ld /opt/admin/install
drwxr-xr-x. 2 root root 4096 May 4 11:16 /opt/admin/install

Later on i tried this in my fstab but the mountpoint didnt come up after reboot.

/dev/mapper/vg_host1-lv_wd_admin /opt/admin/install ext4 defaults,rw,uid=wdadmin,gid=wdgrp,dmask=022,fmask=055 1 2

after reboot i cant see this mountpoint so can some one please give me the correct syntax to fstab to mount the mountpoint (local mount point) to wdamin:wdgroup

Continue reading...
 
Back
Top