How to create folders in 2nd and 3rd partions and how to mount /home on 3rd Partition
I have three partitions /dev/sda1, dev/sdb1, and /dev/sdc1. My redhat is installed in /dev/sda1.
/dev/sdb1 & /dev/sdb2 have already file system (ext4) created and both of them are empty. I want to create 2 empty folders in /dev/sdb1 and 2 empty folders in /dev/sdc1. I just want to store few things in these empty folders. One folder of /dev/sdc1, I want to use to mount the /home directory of /dev/sda1. Please let me know how to perform these tasks amd how to access folders on different partitions after storing the data and how to acces one folder that is used to mount /home directory of IST partition. |
If the /home dir is empty, you can just edit /etc/fstab
Code:
/dev/sdc1 /home ext4 defaults 1 1 Note that the new home dir must have the same ownerships, permissions and SELinux settings as the original. Can you show us what distro+version you have Code:
cat /etc/*release* Code:
df -h |
All times are GMT -5. The time now is 12:42 PM. |