• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for March 2018

How to create partitions inside loopback device

by admin

In most of the situations you would simply create a loopback device using “losetup” and mount it using the “-o loopback” options. But if you want to create a loopback file, want to partition it, and finally mount a subpartition, this option can not be used. Let see how you can create partitions inside a […]

Filed Under: CentOS/RHEL 5, CentOS/RHEL 6, CentOS/RHEL 7, Linux

How to create virtual block device (loop device/filesystem) in Linux

by admin

Linux supports a special block device called the loop device, which maps a normal file onto a virtual block device. This allows for the file to be used as a “virtual file system” inside another file. With Linux it’s possible to create a file-system inside a single file. These storage devices are available as device […]

Filed Under: CentOS/RHEL 5, CentOS/RHEL 6, CentOS/RHEL 7, Linux

How To Open A Port In CentOS / RHEL 7

by admin

A TCP/IP network connection may be either blocked, dropped, open, or filtered. These actions are generally controlled by the IPtables firewall the system uses and is independent of any process or program that may be listening on a network port. This post will outline the steps to open a port required by a application. For […]

Filed Under: CentOS/RHEL 7, Linux

How to use “btrfs device” comamnd to add/delete device to/from btrfs filesystem

by admin

Btrfs is an open-source, general-purpose file system for Linux. The name derives from the use of B-trees to store internal file system structures. Different names are used for the file system, including “Butter F S” and “B-tree F S.” Development of Btrfs began at Oracle in 2007, and now a number of companies (including Red […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

How to use “btrfs scrub” command to manage scrubbing on Btrfs file systems

by admin

You can initiate a check of the entire file system by triggering a file system scrub job. The scrub job runs in the background by default and scans the entire file system for integrity. It automatically attempts to report and repair any bad blocks that it finds along the way. Instead of going through the […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

Linux OS Service ‘xendomains’

by admin

The xendomains service automatically starts, stops, and migrates Oracle VM clients (domU) as the Oracle VM server (dom0) boots or shuts down. In essence, the xendomains service automatically issues a series of xm commands to ensure the proper Oracle VM clients are started and stopped as the dom0 server is started or stopped. No daemons […]

Filed Under: Linux, Linux Services

Features of the “Btrfs” Filesystem

by admin

Btrfs is an open-source, general-purpose file system for Linux. The name derives from the use of B-trees to store internal file system structures. Different names are used for the file system, including “Butter F S” and “B-tree F S.” Development of Btrfs began at Oracle in 2007, and now a number of companies (including Red […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

How to Tune Btrfs Filesystem for Better Performance

by admin

Btrfs is a filesystem which is very new and is still under development and benchmarking phase. As far as performance is concerned usually it doesn’t require much to do with because it works good with the default options. 1. Btrfs’s performance improves with use of ssd. Btrfs is SSD-aware and exploits TRIM/Discard to allow the […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

How to Convert Ext File Systems to Btrfs

by admin

btrfs or Butter FS is a filesystem and has some interesting features: One can have FS snapshots. It is like a freeze of the filesystem at some point of time. btrfs is a extent-based filesystem. This means there are no lists of pointers. btrfs tracks contiguous blocks. btrfs makes checksums of data and metadata. Therefore […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

“btrfs” command examples to Create and Manage Btrfs File System

by admin

Btrfs is an open-source, general-purpose file system for Linux. The name derives from the use of B-trees to store internal file system structures. Different names are used for the file system, including “Butter F S” and “B-tree F S.” Development of Btrfs began at Oracle in 2007, and now a number of companies (including Red […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

Next Page »

Primary Sidebar

Recent Posts

  • gml2gv Command Examples
  • glow Command Examples
  • glib-compile-resources Command Examples
  • glances Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright