Ext4 -btrfs
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2017
    Location
    United Kingdom
    Age
    30
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ext4 -btrfs

    so it might be time to look at switching away from ext4 to btrfs.

    i need to mount two hard drives in one folder and ext4 doesn't seem to want to cooperate with me on this.

    i am unable to do a clean install or wipe any of my hard disks.

    my fatab file explains things better

    # /etc/fstab
    # Created by anaconda on Mon Mar 11 17:19:07 2019
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    ## Below are the System generated mount points for the OS hard disk and storage drives ########
    #
    #
    /dev/mapper/fedora_localhost--live-root / ext4 defaults 1 1
    UUID=a8703b97-8dcf-40b2-9e4d-b00d90aed7c9 /boot ext4 defaults 1 2
    /dev/mapper/fedora_localhost--live-home /home ext4 defaults 1 2
    /dev/mapper/fedora_localhost--live-swap swap swap defaults 0 0
    /dev/sdc1 /mnt/storage ext4 defaults 0 0
    /dev/sdb1 /mnt/hshdd ext4 defaults 0 0


    ### Mount-point for Media for CHROOT JAILED SFTP USERS Note: The chroot Jail is READ-ONLY Please use /mnt/storage & /mnt/hshdd to Add content ###


    /mnt/storage/TV /yhn/home/media/TV none bind 0 0
    /mnt/storage/Films /yhn/home/media/Films none bind 0 0
    /mnt/hshdd/TV /yhn/home/media/TV none bind 0 0
    /mnt/hshdd /yhn/home/media/Films none bind 0 0

    can this be done whilst preserving my data

  2. #2
    Join Date
    Jul 2013
    Location
    NZ
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ext4 -btrfs

    I believe you can create an LVM volume that includes multiple disks. Not sure what happens if one of the disks fail.

  3. #3
    Join Date
    Mar 2019
    Location
    Colorado USA
    Age
    23
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ext4 -btrfs

    The btrfs wiki has a page about this. I'd start there.

  4. #4
    Join Date
    Mar 2017
    Location
    USA
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ext4 -btrfs

    btrfs raid0

  5. #5
    Join Date
    Aug 2007
    Posts
    434
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ext4 -btrfs

    i need to mount two hard drives in one folder and ext4 doesn't seem to want to cooperate with me on this.
    You don't need to do this. You just want to and it won't work. This has nothing to do with ext4, xfs or any file system as you can't mount two different targets to a single source directory. The limitation is the mount command and not the filesystem

    /mnt/storage/TV /yhn/home/media/TV none bind 0 0
    /mnt/hshdd/TV /yhn/home/media/TV none bind 0 0

    If these were both btrfs subvolumes instead of ext4 partitions it would still fail.

    Now you can use either btrfs or lvm to merge /dev/sdc1 and /dev/sdb1into a single volume and spread a single filesystem over both.

    btrfs raid0
    Your two word reply doesn't mention that both partitions need to be the same size for a raid0, otherwise there is unused space. A 500GB and a 300 GB partition can only create a 600GB raid0 with 200 GB unusable.

    With a simple linear mapping you can use all of the space in two or more partitions.

Similar Threads

  1. Replies: 19
    Last Post: 12th June 2016, 04:39 PM
  2. Replies: 5
    Last Post: 15th May 2016, 08:35 AM
  3. / Partition corrupted. Reformat to btrfs or xfs or remain ext4?
    By lsatenstein in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 29th July 2015, 04:26 PM
  4. HOWTO convert EXT4 partition to Btrfs in Fedora 13 without losing data
    By lovenemesis in forum Guides & Solutions (Not For Questions)
    Replies: 1
    Last Post: 7th February 2012, 11:03 PM
  5. existing EXT4 to BTRFS
    By surfino in forum Installation, Upgrades and Live Media
    Replies: 4
    Last Post: 27th May 2011, 12:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •