Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Tuesday, December 9, 2014

Change Name of Mount Point OS Linux

KHMERGUI will show you Accessible file systems, by reference
Step 1 : [root@veasna]# umount /home
Step 2 : [root@veasna]# mkdir /u01
Step 3 : [root@veasna]# Modify /home to /u01 in the file /etc/fstab.

[root@veasna]# vi /etc/fstab
[root@veasna]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Thu Dec 10 01:48:54 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#

/dev/mapper/vg_moshe-lv_root / ext4 defaults 1 1
UUID=93acbca6-0fdf-4798-9312-6303540cb185 /boot ext4 defaults 1 2
/dev/mapper/vg_moshe-lv_home /u01 ext4 defaults 1 2
Step 4 : ( Mount new file system)
[root@moshe ~]# mount /u01
Step 5 : (Verify New mount point)
[root@veasna~]# df -h /u01
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_moshe-lv_home
633G 198M 600G 1% /u01