|
Disk Management how to simple partition |
|
|
| Home | Workgroup | N+ | CCNA | IPv6 | RHCE | Interview | Tips n Tricks | Hardware | Troubleshooting |
| Basic | Wireless | Security | |||||||
Disk Management simple partitionIn this series of article I will demonstrator you necessary disk managements skill for RHCE examinations. Example Question : - To accomplish this task you must be login form root account. So first login from root and verify your hard disk status with fdisk –l command ( This command will show that where your hard disk is mounted. You should use the mount point which show in the output of this command. For example if you see /dev/hda then you should use fdisk /dev/hda in next command. Or if you see /dev/sdb then you should use fdisk /dev/sdb in next command. As you can see in image shown below that My hard disk is mounted as /dev/sda so I will use fdisk /dev/sda)
Follow these steps at command prompt in same sequence
n
press enter
+100MB
press enter
w
#partprobe /dev/sda
fdisk commands is used to create new partitions. partprobe command is used to inform kernel about this change. Create a /data folder and mount the partition with these commands
How to mount simple partition permanentlyCreate a entry for newly created partition in /etc/fstab so that it can be mount automatically after reboot as shown in image Reboot the system with this command If you got no error while system boot then run fdisk -l command to verify that partition has successfully mounted. You have effectively accomplished the task given you now its time to remove these partition. don't forget to remove entry from /etc/fstab files also otherwise you will get error on next boot.
|
RHCE Study guide home
Paper Code Cast Durations List of Exam topics Structure Of Filesystem Login in to Linux Terminals vi editor switches basic vi advance descriptions System admin Commands cat cp mv rm mkdir pwd help wc spell aspell tty who head tail man info help cat bzip gzip pwd cd mkdir du df find history which whereis ps top pstree uname shadow,passwd, group files chkconfig ntsysv Tools User Managements useradd userdel groupadd groupdel su sudo user profile files from /etc/skel Manage file permission chown chgrp chmod command description chmod command example sticky bit access control list setfacl getfacl chattr remove root password login problem and solution RedHat Package Manager how to secure terminal fstab file and error Removing grub password Disk managements simple partitions LVM logical volume manger Example disk quota managements Raid partition Swap partition lan card driver, Network configuration files commands ip ifconfig ping netstat arp mii-tool Linux as a router , create virtual LAN card Deny icmp ping request increase virtual terminal, Set default id, Disable alt ctrl delete key Network configurations job scheduling with at commands cron commands Configure telnet server configure ssh server configure ftp server Configure syslog server configure nis server configure nfs server configure dhcp server configure web server configure samba server configure vnc server configure printer server configure dns server configure dns slave server configure squid server configure sendmail server configure yum server network installation via ftp and nfs server via apache server |
|
|
|
|