Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 4 of 4

Thread: External USB disk frequent corruption at powerloss

  1. #1

    Title
    Junior Member
    Join Date
    Oct 2023
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    External USB disk frequent corruption at powerloss

    I have an external USB hard drive attached to all of my several different VU+ cable and sat boxes to be able to easily move my recordings off the smaller (but faster) internal hard drives and also to free up space on the internal hard drives.

    The problem is when there is a power loss, or the box hangs for whatever reason and needs a power off/on to start again, by doing this the external hard drive filesystem becomes corrupt and needs to be re-initialised and by doing this all recordings are of course lost.

    I already have the boxes connected via UPSes but for longer power cuts they are not enough, nor do they help when a power off/on is needed when the box hangs.

    I could of course disconnect the external USB disk and try to recover the file system on another computer with special software but for most of the year I am located in another country without physical access to the boxes so this is not a viable option.

    Is there anyone out there who have had the same problem and solved it somehow?

    I have already tried the built in disk tools but they are not able to fix the corruption but searching online do show one promising piece of software that the source code is available for and should be possible to run on the VU+ hardware but I am no programmer and there is no compiled version available for the VU+ hardware and I am not even sure if there is support for compiling with the standard OpenVix installation that I am using.

    It would be great if someone could either compile a binary for this or even make ipk for this though assuming I am not the only one who struggles with corruption of USB disks.

    The internal disks do not seem to have the same problem at all.

  2. #2

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2010
    Posts
    3,010
    Thanks
    1,347
    Thanked 428 Times in 392 Posts
    I gave up using Passport hdd drives and will only use Externally powered ones.
    I assume when you add your external drives you use the box to initialise it so they are in ext4 and ready to record.
    I like yourself did start to run out of room and added a NAS to my home network to free up space. Only time i might need pc was to scan my network for a lost box ip that might have changed when network scan on box failed.

  3. #3

    Title
    Junior Member
    Join Date
    Oct 2023
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for taking the time to reply.
    I have tried both externally powered and passport drives but seem to have the same problem and yes, initialised by the box so if the boxes use ext4 then they are in ext4.
    The problem I have with transferring files to the NAS for the moment is that my firewall looses the LAN net when transferring large amounts of big files, probably a problem with the realtek chip, I already have another firewall built with a Intel network chip that should solve that problem though, I just need to get there and swap the firewall out.

  4. #4
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    The box shouldn't hang in the first place, so I'd start looking at why it is.

    Beyond that I'm surprised that you're regularly seeing corruption that can't be repaired by the Storage / Filesystem Check.
    I seem to have developed a habit of knocking an external drive out of my laptop, but fsck (which is what the Filesystem Check runs) has never had a problem tidying things up. Although it's unlikely that there was much being written to it at the time.

    Do you have timeshift enabled? If so, and it's writing to the external disk you could try writing it to the internal one instead.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.