Menu

Not enough space on parity drive

Help
Jghake
2024-02-10
2024-02-11
  • Jghake

    Jghake - 2024-02-10

    Hello.
    My setup was as follows.
    4 6tb drives, 1 parity
    4 2tb drives, 1 parity

    One of the 6tb drives (data) failed so I bought a new 14tb drive to replace it. This seemed to be a mistake and someone on Discord for OpenMediaVault told me I needed another 14tb drive for parity. My setup is now as follows.

    2 14tb drives, 1 parity
    3 6tb drives, 1 parity
    5 2tb drives, 2 parity

    At first the volume wasn't health at all. I spent a lot of time screwing around with the configuration before I finally decided I wasn't concerned about recovering data from the volume. I ran 'snapraid sync' but it shows 'Your data requires more parity than the available space. Please move the files 'outofparity' to another data disk. WARNING! Without a usable 2-Parity file, it isn't possible to sync'. I was able to exclude the list of files from the snapraid config and run it again. Then run 'snapraid --force-full --force-empty sync' Then 'snapraid fix'. I'm not sure if it recovered data but these commands all complete successfully. If I remove the list of files from the snapraid.config exclusion list the error comes back.

    I'm pretty sure my drive configuration isn't supported. Can someone help me figure out how to either fix this volume, or move my data to the 2 14tb and 3 6tb drives and remove the 2tb drives entirely from the setup. I just don't want to start using this volume unless I know its healthy moving forward.

    I have about 9tb of data.

     

    Last edit: Jghake 2024-02-10
  • David

    David - 2024-02-10

    If you want to use a 14TB data drive, you'll either need all of your parity drives to be 14TB or you'll need to build a split parity volume out of multiple drives.

    For example
    1 14tb drive data, 1 parity
    2 6tb drives data
    1 2tb drive data
    14tb split parity volume of 6tb+2tb+2tb+2tb+2t or some other combination that equals 14tb

    If you can't create a split parity volume, then both 14tb drives will have to be parity.

     
  • Jghake

    Jghake - 2024-02-10

    Would a 6tb+6tb+2tb+2tb work alongside 2 14tb data drives? Then I could use the remaining 6tb drive as a data drive?

    What is the procedure for moving files around like this? Do I just follow this here then set up a new Snapraid? What is the proper way to set up split parity?

     

    Last edit: Jghake 2024-02-10
  • Jghake

    Jghake - 2024-02-11

    I was able to destroy the snapraid configuration and then move data to a singular 14tb drive. I'm hoping to be able to use 14tb+14tb+6tb as data, along 6tb+6tb+2tb+2tb as parity. Currently I'm only using 14tb as the data. Here is the config.

    autosave 0
    
    content /srv/dev-disk-by-uuid-f963d2f6-1457-470a-b946-991a5b40fe57/snapraid.content #/dev/sdj1 6tb
    content /srv/dev-disk-by-uuid-8caba0c2-7f7c-47f3-83dc-5467980ad0d5/snapraid.content #/dev/sdi1 6tb
    content /srv/dev-disk-by-uuid-383213e3-5185-495f-8be3-d842b111aee7/snapraid.content #/dev/sdc1 2tb
    content /srv/dev-disk-by-uuid-fb1cd4ca-67a8-4ae4-9d24-1bf2fd85accf/snapraid.content #/dev/sdg1 2tb
    
    disk 14TB1 /srv/dev-disk-by-uuid-5f68af7c-1227-43b7-b072-096dcc0ef29a
    
    parity /srv/dev-disk-by-uuid-f963d2f6-1457-470a-b946-991a5b40fe57/snapraid.parity,/srv/dev-disk-by-uuid-8caba0c2-7f7c-47f3-83dc-5467980ad0d5/snapraid.parity,/srv/dev-disk-by-uuid-383213e3-5185-495f-8be3-d842b111aee7/snapraid.parity,/srv/dev-disk-by-uuid-fb1cd4ca-67a8-4ae4-9d24-1bf2fd85accf/snapraid.parity
    
    
    exclude *.unrecoverable
    exclude lost+found/
    exclude aquota.user
    exclude aquota.group
    exclude /tmp/
    exclude .content
    exclude *.bak
    exclude /snapraid.conf*
    

    I'm getting this error.

    # snapraid sync
    Self test...
    Error accessing 'content' dir '/srv/dev-disk-by-uuid-f963d2f6-1457-470a-b946-991a5b40fe57/snapraid.content #/dev' specification in '/etc/snapraid.conf' at line 3
    

    It seems like I am getting close. Does anyone know what I'm missing?

    Edit: Looks like you can't add a comment at the end of the content lines like that. I removed those and snapraid sync ran but it is telling me there are a large amount of files that are outofparity and need moved.

    Your data requires more parity than the available space.
    Please move the files 'outofparity' to another data disk.
    WARNING! Without a usable Parity file, it isn't possible to sync.
    

    After adding another 2tb drive to the config, deleting all the snapraid.* files and running it again I get an error

    Error writing the content file '/srv/dev-disk-by-uuid-383213e3-5185-495f-8be3-d842b111aee7/snapraid.content.tmp'. No space left on device.
    

    If I go to that folder there are snapraid.content.lock snapraid.content.tmp and snapraid.parity. I can delete these files in all locations, run the snapraid sync command again, and it outputs this again.

    snapraid sync
    Self test...
    Loading state from /srv/dev-disk-by-uuid-f963d2f6-1457-470a-b946-991a5b40fe57/snapraid.content...
    WARNING! Content file '/srv/dev-disk-by-uuid-f963d2f6-1457-470a-b946-991a5b40fe57/snapraid.content' not found, trying with another copy...
    Loading state from /srv/dev-disk-by-uuid-8caba0c2-7f7c-47f3-83dc-5467980ad0d5/snapraid.content...
    WARNING! Content file '/srv/dev-disk-by-uuid-8caba0c2-7f7c-47f3-83dc-5467980ad0d5/snapraid.content' not found, trying with another copy...
    Loading state from /srv/dev-disk-by-uuid-383213e3-5185-495f-8be3-d842b111aee7/snapraid.content...
    WARNING! Content file '/srv/dev-disk-by-uuid-383213e3-5185-495f-8be3-d842b111aee7/snapraid.content' not found, trying with another copy...
    Loading state from /srv/dev-disk-by-uuid-fb1cd4ca-67a8-4ae4-9d24-1bf2fd85accf/snapraid.content...
    WARNING! Content file '/srv/dev-disk-by-uuid-fb1cd4ca-67a8-4ae4-9d24-1bf2fd85accf/snapraid.content' not found, trying with another copy...
    Loading state from /srv/dev-disk-by-uuid-5c176323-e448-49d3-a80a-24a5275e6570/snapraid.content...
    No content file found. Assuming empty.
    Scanning...
    Scanned 14TB1 in 2 seconds
    Using 618 MiB of memory for the file-system.
    Initializing...
    Resizing...
    Saving state to /srv/dev-disk-by-uuid-f963d2f6-1457-470a-b946-991a5b40fe57/snapraid.content...
    Saving state to /srv/dev-disk-by-uuid-8caba0c2-7f7c-47f3-83dc-5467980ad0d5/snapraid.content...
    Saving state to /srv/dev-disk-by-uuid-383213e3-5185-495f-8be3-d842b111aee7/snapraid.content...
    Saving state to /srv/dev-disk-by-uuid-fb1cd4ca-67a8-4ae4-9d24-1bf2fd85accf/snapraid.content...
    Saving state to /srv/dev-disk-by-uuid-5c176323-e448-49d3-a80a-24a5275e6570/snapraid.content...
    Error writing the content file '/srv/dev-disk-by-uuid-383213e3-5185-495f-8be3-d842b111aee7/snapraid.content.tmp'. No space left on device.
    

    I then completely destroyed the config. I set up the 14tb with all the data on it, and 3 6tb drives all empty as data/content, then 1 14tb drive as parity. I did this all within the OpenMediaVault interface. I then ran sync and its all happy and syncing. I guess I'm just not understanding split parity, howerver this configuration should work just fine for me.

     

    Last edit: Jghake 2024-02-11

Log in to post a comment.