Category: opensuse

How to Remove Physical Volume from a Volume Group in LVM

If a device is no longer need for use by LVM, you can use the vgreduce command to remove physical volumes from a volume group. The Vgreduce command shrinks the capacity of a volume...

How to Reduce/Shrink LVM’s (Logical Volume Resize) in Linux

Reducing/Shrinking the logical volume is the highest risk of data corruption. So try to avoid this kind of situation if possible, but go ahead if you have no other options. It is always recommended...

How to Extend/Increase LVM’s (Logical Volume Resize) in Linux

Expanding the logical volume is extremely easy, it takes very few steps and can be done online without unmounting a certain logical volume. The main purpose of LVM is flexible disk management, which allows...

How to Convert Text Files between Unix and DOS (Windows) Formats

As a Linux administrator, you may have noticed some requests from developers to convert files from DOS format to Unix format, and vice versa. This is because these files were created on a Windows...

How to Remove Files Older than N Days Using Tmpwatch/Tmpreaper on Linux

You may have missed deleting files that are no longer needed on your computer in some directory. This can be “Download” or any other directory. It may have grown up over a period of...

How to Manipulate an Ethernet Card Using the ethtool Command

Ethtool is used to view and modify network device driver parameters and hardware settings, especially for wired ethernet devices. You can change ethernet card parameters as required, including auto-negotiation, Speed, Duplex and Wake-on LAN....