linux shrink partition

Most Relevant Content

  • Managing Disk Partition with the parted Tool in CentOS 7

    As a system administrator, sometimes you may require to manage partitions of your CentOS/Red Hat Linux Operating System. Partition management is always a risky task. But there are some useful tools those are so helpful to manage CentOS/Red Hat Linux disk partition easily. In my previous article, I discussed how to manage CentOS/Red Hat 7 HDD partitions with the fdisk utility. The fdisk tool is only eligible to manage MBR partition table. But GPT partition table is now becoming more popular. On the other hand, the fdisk tool cannot resize (shrink or extend) a partition. To overcome these limitations, we can use another partition management tool named parted which can handle GPT partition table as well as can resize disk partitions. In this article, we will know how to create, delete, resize and rescue partitions in CentOS 7/Red Hat 7 Linux with the parted partition manager tool. The parted Utility The parted is open source and command line utility that is used to manage hard disk partitions. It supports multiple partition table formats including MS-DOS (MBR) and GPT. It is useful for creating space for new operating systems, reorganizing disk usage, and copying data to new hard disks. Installing parted [...]

    READ MORE »

  • More Similar Content

  • »

    LVM Management in CentOS/Red Hat 7 Linux |   March 15, 2019

    LVM (Logical Volume Manager) is the recommended partition method for CentOS/Red Hat 7 Linux. Specially, if we work on Mail Server, File Server, FTP Server, Web Proxy Server or any application where disk space changes frequently, the LVM partition is mandatory in this case. In my previous article, I discussed how to install CentOS 7.5 with LVM partitioning. If you are new here or CentOS 7 is not yet installed, I will suggest you to follow my previous article and [...]

    READ MORE »

  • You May Also Like

  • »

    How to Create Free SSL/TLS Certificate with OpenSSL |   July 23, 2021

    SSL/TLS certificate is required to encrypt data sent over internet communication. Without encryption, the sent data can be hacked by the middle man attack. SSL/TLS certificate is usually a pair key, public key and private key, solution where data is encrypted with public key and decrypted with private key. In public communication, public key is required to be signed by a CA (certificate authority) but in private communication, there is no need to be signed by any CA. If we [...]

    READ MORE »

  • »

    MikroTik Configuration with PPPoE WAN Connection |   July 18, 2018

    MikroTik Router is a popular routing device to any network administrator because of having a lot of network features availability. MikroTik PPPoE Client is a special feature that is used to connect any PPPoE Server. If your ISP provides PPPoE connection, MikroTik Router is able to connect that PPPoE Server using PPPoE Client. In my previous article, I discussed how to configure MikroTik Router with static WAN connection and in this article I will show how to configure MikroTik Router [...]

    READ MORE »

  • »

    MikroTik User Manager RADIUS Installation on RouterOS 7 |   July 5, 2022

    The User Manager is a MikroTik provided RADIUS Server packages. It can be used to manage users for small or medium level business. User Manger is not a default RouterOS packages. So, we have to install user manager as an extra package in RouterOS 7. RouterOS 7 has brought a massive change on User Manager package. The most important change is managing User Manager from Winbox while in RouterOS 6 the User Manager package can only be managed from Web [...]

    READ MORE »

  • »

    How to Install Discord on Ubuntu 24.04 |   July 28, 2024

    Discord is a popular communication platform designed for creating communities and bringing people together through text, voice, and video chat. Originally created for gamers, Discord has expanded to encompass a wide range of communities beyond gaming, including hobbyists, professionals, study groups, and more. There are several methods of installing Discord on Ubuntu 24.04. We will be covering the easiest method for demonstration which is from the snap store. Following are the step-by-step commands to install Discord on Ubuntu 24.04. Install [...]

    READ MORE »

  • »

    MikroTik Send Browsing Log to Remote Syslog Server |   August 18, 2019

    MikroTik RouterOS is capable of logging various system events as well as user browsing information. Logs can be saved in router’s memory (RAM), disk, file, sent by email or even sent to remote syslog server. Sometimes it may require saving user browsing log by the law. So, a syslog server is an essential part to any network. In this article, I will discuss how to configure MikroTik Router to keep user browsing log and send that log to remote syslog [...]

    READ MORE »

  • »

    How to Import SSL Certificate in MikroTik RouterOS |   January 16, 2022

    SSL/TLS Certificate is used to make secure communication between server and clients. MikroTik RouterOS has a lot of services such OVPN, SSTP VPN, HTTPS, Hotspot and so on those use SSL/TLS certificate. It is possible to create self-signed certificate in MikroTik RouterOS but self-signed certificate faces untrusted CA warning. So, it is always better to use trusted CA either freemium or premium.  In my previous article, I discussed how to get a free SSL/TLS certificate from Zero SSL but Zero [...]

    READ MORE »

  • »

    MikroTik Blocking All Websites Except a Few Websites |   May 7, 2019

    A few days ago, someone asked me how to block all websites except one with MikroTik Firewall. For this, I have decided to discuss about blocking all websites except someone’s whitelist. Unlike firewall devices, MikroTik Firewall by default allows all websites. So, if you need to block any website, you have to create a firewall rule that will block the specific website. Now if we want to block all websites and want to allow a few websites, we have to [...]

    READ MORE »

  • »

    MikroTik OpenVPN Configuration on TCP Port 443 with Windows OS |   April 6, 2020

    MikroTik OpenVPN is an amazing VPN solution. IT provides a secure and encrypted VPN tunnel across public network. Unlike PPTP and L2TP VPN Services which are poorly designed and can easily be blocked, OpenVPN can highly be customized and even can be run on so popular TCP Port 443. So, OpenVPN cannot easily be blocked. OpenVPN uses SSL/TLS Certificates. So, OpenVPN Tunnel is a trusted tunnel to send and receive data across public network. OpenVPN is a site to site [...]

    READ MORE »