---
title: How to check Upgrade Fails and Data in Partition is Lost when BTRFS is Mounted or Loaded
description: "Issue\n Since Alma OS does not support btrfs , this is no longer supported and may result in data loss if you are using the btrfs file system.(Net"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/how-to-check-upgrade-fails-and-data-in-partition-is-lost-when-btrfs-is-mounted-or-loaded#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# How to check Upgrade Fails and Data in Partition is Lost when BTRFS is Mounted or Loaded

#### Issue

  Since Alma OS does not support btrfs , this is no longer supported and may result in data loss if you are using the btrfs file system.   
(Netwitness by default doesn't use btrfs file system). If it is being used by a NW customer, it is required to unmount the btrfs partition and relocate the data present in it before upgrading to ALMA OS.

Scenario 1   
Customer gets a reference to check this KB article when they run the nw-precheck-tool with os-migration-checklist parameter.

Scenario 2   
If precheck tool is not run and BTRFS file system is mounted, Upgrade fails with Leapp Preupgrade failure. You will see below error in /var/log/salt/minion logs and /var/log/leapp/leapp-report.txt   
Leapp treats btrfs as an inhibitor and halts the upgrade.

/var/log/salt/minion

 \[salt.loaded.ext.module.nw\_platform:523 \]\[INFO    \]\[15475\] \[4/5\] Running leapp pre-upgrade   
\[salt.loaded.ext.module.nw\_platform:556 \]\[ERROR   \]\[15475\] Failed to execute "leapp preupgrade" 

/var/log/leapp/leapp-report.txt

 Risk Factor: high (inhibitor)   
Title: Btrfs has been removed from RHEL8   
Summary: The Btrfs file system was introduced as Technology Preview with the initial release of Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7. As of versions 6.6 and 7.4 this technology has been deprecated and removed in RHEL8. 

 Remediation: \[hint\] In order to unload the module from the running system, check the accompanied command.   
\[command\] modprobe -r btrfs

#### Cause

 BTRFS partition is not supported in ALMA. During OS migration, if BTRFS is mounted, then the upgrade fails and  if the data present in the partition will be lost and will no longer be available via NW after upgrade.

#### Resolution

**Case 1: BTRFS is Mounted**

1. Execute the following command to check if BTRFS is mounted.
   
    mount | grep btrf

              ![How to check Upgrade Fails and Data in Partition is Lost when BTRFS is Mounted or Loaded](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_0_15e6ef12-04a0-4463-97fc-7a05e695ad7a.jpg)   
 

1. Follow these steps to unmount the BTRFS partition.

1. Relocate the data.
2. Unmount the BTRFS partition using the following command
   
    umount -l \<btrfs partition path\>
3. You can get the btrfs partition info from /etc/fstab or df -hT commands
4. Remove the BTRFS partition from /etc/fstab
5. Verify if the kernel is still unloaded using lsmod | grep btrfs.
6. If the kernel is still loaded, use below command to  unload the btrfs kernel module
   
    modprobe -r btrfs
7. Trigger / Retrigger the Upgrade

**Case2: BTRFS is Loaded, not Mounted**

1. Execute the following command to check if BTRFS is mounted.
   
    lsmod | grep btrfs

     
              ![How to check Upgrade Fails and Data in Partition is Lost when BTRFS is Mounted or Loaded](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_1_cb26317a-7ea4-4c15-bde8-e292885549ff.jpg)

1. Execute the following command to unload the BTRFS.
   
    modprobe -r btrfs 
   
   **Note:** Before unloading BTRFS, ensure that the BTRFS partition is unmounted.

#### Product Details

**RSA Product Set:** NetWitness Platform   
**RSA Product/Service Type:** All Nodes   
**RSA Version/Condition:** 12.3.x ,12.4 or later   
**Platform**: Alma & CentOS

#### Summary

BTRFS partition is not supported in ALMA. During OS migration, if BTRFS is mounted, then the upgrade fails and the data present in the partition will be lost. The customer should be warned to unmount the BTRFS partition and relocate the data present in it before upgrading to ALMA OS.

#### Approval Reviewer Queue

Technical approval queue

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.