Auto mount the volume in linux

vi /etc/fstab

/dev/sdb                /home/oracle               ext4 defaults        0 0
/dev/sdc                /home/weblogic             ext4 defaults        0 0

mount –a

[root@soadev db]# mount
/dev/sdb on /home/oracle type ext4 (rw)
/dev/sdc on /home/weblogic type ext4 (rw)

Comments