Total Pageviews

Thursday, May 16, 2019

linux commend rename the partition



[root@hostname]# vi /etc/fstab

/dev/some     /partition_name

#####Edit to  newname
#####press insert to edit

/dev/some     /new_partition_name

###save the file.

:wq!

#####then

[root@hostname]# mount -a

[root@hostname]# df - h

[root@hostname]# reboot

[root@hostname]# df - h


Follow kvn_krishna on Twitter