Storage & Filesystems

36 articles
Configure Samba Configure Samba by editing /etc/samba/smb.conf, setting correct permissions, and restarting the smb service. How to Access Fedora Files from Windows (ext4 Reader) Install an ext4 driver like Ext2Fsd or use WSL to mount and access Fedora partitions from Windows. How to Access Windows Files from Fedora (Mount NTFS Partitions) You can access Windows files on Fedora by mounting the NTFS partition using the `ntfs-3g` driver, which is pre-installed on modern Fedora releases. How to Add and Mount a New Hard Drive or SSD on Fedora Format, mount, and configure a new hard drive or SSD on Fedora using lsblk, mkfs, and fstab. How to Check Disk Health with SMART (smartctl) on Fedora Install the `smartmontools` package and run `smartctl` against your specific device to retrieve health status and error logs. How to Configure iSCSI Storage on Fedora Fedora supports iSCSI block storage through the iscsi-initiator-utils package, letting you connect to remote targets and use them as local block devices. How to Configure Swappiness and Swap on Fedora Adjust how aggressively Fedora uses swap space by tuning the `vm.swappiness` kernel parameter and, optionally, adding a swap file when physical RAM is limited. How to Configure the I/O Scheduler on Fedora for SSDs and HDDs Configure Fedora I/O schedulers by setting mq-deadline for SSDs and bfq for HDDs via sysfs or fstab. How to Configure Zram Swap on Fedora for Better Performance Enable zram by installing the `zram-generator` package and configuring a compressed memory block device to act as swap, which reduces disk I/O and improves responsiveness on systems with limited RAM. How to Enable TRIM for SSDs on Fedora Enable TRIM on Fedora by activating the `fstrim.timer` for automatic weekly execution or by running `fstrim` manually to immediately reclaim unused blocks. How to Expand or Resize Partitions on Fedora You can resize partitions on Fedora using `gparted` for a graphical interface or `fdisk`/`parted` combined with filesystem-specific tools like `resize2fs` or `xfs_growfs` for command-line operations. How to Extend an LVM Logical Volume on Fedora Extend an LVM logical volume on Fedora by using lvextend to resize the volume and xfs_growfs or resize2fs to expand the filesystem. How to Fix "Permission Denied" When Mounting Drives on Fedora Fix Fedora drive mount permission errors by enabling the container_use_devices SELinux boolean and changing device ownership. How to Fix "Read-Only Filesystem" Errors on Fedora Fix Fedora read-only filesystem errors by remounting the root partition as read-write using the mount command. How to Format a Drive or Partition on Fedora (ext4, XFS, Btrfs) Format a Fedora drive or partition using mkfs.ext4, mkfs.xfs, or mkfs.btrfs commands with the target device path. How to Free Up Disk Space on Fedora When Root Partition Is Full Reclaim disk space on a full Fedora root partition by cleaning the DNF cache, removing old kernels, pruning journal logs, and uninstalling unused packages. How to Install Fedora on a RAID Array You cannot install Fedora directly onto a software RAID array during the standard installation process because the Anaconda installer does not support writing the root filesystem to a RAID volume by default. How to Install Fedora with a Separate /home Partition Create a separate /home partition during Fedora installation by selecting custom partitioning and defining a new mount point. How to Install Fedora with LVM (Logical Volume Manager) Partitioning Use the Anaconda installer's "Custom" partitioning mode to manually create LVM physical volumes, a volume group, and logical volumes for your root and swap partitions. How to List Disks, Partitions, and Filesystems on Fedora (lsblk, fdisk, df) Use `lsblk` for a quick tree view of all block devices, `fdisk -l` for detailed partition table information, and `df -h` to check actual filesystem usage and mount points. How to Mount and Unmount Filesystems on Fedora Learn how to mount and unmount filesystems on Fedora using mount, umount, /etc/fstab, and systemd units for both manual and persistent storage management. How to Mount an exFAT or FAT32 USB Drive on Fedora Install fuse-exfat for exFAT or use built-in vfat for FAT32, then mount the device with the mount command. How to Mount an NTFS Drive on Fedora (Read/Write Access) Install ntfs-3g and mount the drive with the ntfs-3g type to enable read/write access on Fedora. How to Navigate the Filesystem from the Command Line on Fedora Use ls, cd, pwd, and tree commands to navigate the Fedora filesystem from the command line. How to Partition a Disk on Fedora Using fdisk, parted, or GNOME Disks Partition a Fedora disk using fdisk, parted, or GNOME Disks to split storage into manageable sections for data or OS installation. How to Recover Deleted Files on Fedora (ext4, XFS, Btrfs) Recover deleted files on Fedora using extundelete for ext4, xfs_undelete for XFS, or btrfs snapshots for Btrfs by stopping disk writes immediately. How to Set Up and Manage LVM (Logical Volume Manager) on Fedora Set up LVM on Fedora by creating physical volumes, volume groups, and logical volumes using standard lvm commands. How to Set Up an NFS Server on Fedora Install nfs-utils, create a shared directory, configure /etc/exports, and start the nfs-server service on Fedora. How to Set Up a Samba File Server on Fedora Install Samba on Fedora, configure shares in smb.conf, set user passwords, and restart the service to enable file sharing. How to Set Up a Samba File Share on Fedora Install Samba on Fedora, configure a share in smb.conf, set a user password, and restart the service to enable file sharing. How to Set Up Disk Partitions During Fedora Installation (Manual Partitioning) Set up manual disk partitions in Fedora by selecting 'I will set up the partitions' and defining mount points during installation. How to Set Up Software RAID (mdadm) on Fedora You can set up software RAID on Fedora using the `mdadm` utility by creating an array with `mdadm --create`, configuring the filesystem, and ensuring persistence via `/etc/mdadm.conf` and systemd. How to Share a Data Partition Between Fedora and Windows (exFAT/NTFS) Format a partition as exFAT using mkfs.exfat to enable seamless file sharing between Fedora and Windows. How to Shrink a Windows Partition to Make Room for Fedora Before installing Fedora alongside Windows, you must shrink the Windows partition from within Windows itself to create unallocated space for the Linux partitions. How to Use Stratis Storage Management on Fedora Stratis is a local storage management tool built into Fedora that lets you create flexible storage pools and thin-provisioned filesystems from a simple CLI without touching LVM or Btrfs directly. Set up NFS Install the `nfs-utils` package on both the server and client, then configure the `/etc/exports` file to define shared directories and start the `nfs-server` service.