Skip to main content

Extend the BTRFS volume on Azure

To extend a BTRFS volume on Azure, you'll need to follow these steps:

1. Identify the name of the BTRFS volume that you want to extend. You can do this by running the following command:

sudo btrfs filesystem show

This will show you a list of all the BTRFS volumes on your system, along with their names and sizes.

2. Stop any services or applications that are using the BTRFS volume that you want to extend.

3. Use the Azure portal or Azure CLI to extend the size of the Azure disk that the BTRFS volume is on. This will increase the available space on the disk, but not yet on the BTRFS volume itself.

4. Use the following command to resize the BTRFS volume to use the new space:

sudo btrfs filesystem resize max /path/to/mount/point

Replace "/path/to/mount/point" with the actual path to the mount point of the BTRFS volume that you want to extend.

5. Verify that the BTRFS volume has been extended by running the following command:

sudo btrfs filesystem show

This should show that the size of the BTRFS volume has been increased to the same size as the Azure disk.

6. Start any services or applications that were stopped in step 2.

That's it! Your BTRFS volume on Azure should now be extended to use the additional space on the Azure disk.





Comments

Popular posts from this blog

Compile OpenSSH 9

Install  yum install rpm-build zlib-devel openssl-devel pam-devel libselinux-devel gcc perl-devel libXt-devel gtk2-devel make -y wget -c https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.3p2.tar.gz ./configure --with-pam --with-selinux --with-privsep-path=/var/lib/sshd/ --sysconfdir=/home/saz163user/ssh ./configure make make install

Use the CIA triad to protect organizations

The CIA triangle is a concept that can assist organisations think about risk while developing systems and security policies. It consists of three components that cybersecurity analysts and organisations strive to maintain: confidentiality, integrity, and availability. Maintaining an acceptable level of risk and ensuring that systems and policies are developed with these factors in mind aids in the establishment of a successful security posture, which refers to an organization's ability to manage its defence of key assets and data as well as respond to change.  Confidentiality The concept of confidentiality states that only people with permission can access particular resources or data. The application of design principles, such as the concept of least privilege, can improve secrecy inside an organisation. The least privilege principle restricts users' access to only the data they need to finish tasks relevant to their jobs. One technique to keep private data secure and secret i...

People who like to be alone

People who enjoy being alone and seek solitude may exhibit a variety of personality traits. Here are some potential traits that may be present in individuals who prefer to be alone:     Independence: People who enjoy being alone may value their independence and may be comfortable making decisions and going about their daily lives on their own. They may be self-motivated and able to entertain themselves without the need for external stimuli.     Introversion: Many people who enjoy being alone may be introverted, meaning that they tend to be more inwardly focused and may get their energy from solitude rather than social interactions. Introverts may prefer to spend time alone thinking, reading, or engaging in solitary activities.Creativity: Being alone can provide an opportunity for people to tap into their creativity and to engage in activities that allow them to express themselves. People who enjoy being alone may be more inclined to engage in creative pursu...