Server responds "bus error" to every command

95

Your storage system seems to have failed. You can't read from disk at this point.

Can you see the messages in the kernel ring buffer? Look at the output of dmesg if the command even works at this point.

Do you have any backups or replication enabled?

Share:
95

Related videos on Youtube

Ali Abou El Atta
Author by

Ali Abou El Atta

Updated on September 18, 2022

Comments

  • Ali Abou El Atta
    Ali Abou El Atta almost 2 years

    I have multiple arrays, The first one contains the names of all the other arrays.

    So I retrieve the value of the first array I get the name of my desired array but I don't know how to proceed from there. As swift sees my result as a string, not a variable name. I have recreated my problem below

    import UIKit
    var str = "Hello, playground"
    var traits = ["trait one","trait 2", "trait3"]
    var trait3 = ["final Answer 0","final Answer 1","final Answer 2","final Answer 3","final Answer 4"]
    var counter = 2
    let intermediateV = traits[counter]
    print(intermediateV[2])
    

    The error I get is:

    'subscript' is unavailable: cannot subscript String with an Int

    • ewwhite
      ewwhite over 11 years
      Those are processes piling up waiting for I/O. Something is happening at the storage layer.
    • ewwhite
      ewwhite over 11 years
      What was the issue?
    • Temnovit
      Temnovit over 11 years
      @ewwhite, well, the hard drive completely died. Hello, kingston SSD. I'm bying a new one and restoring from a backup.
    • luk2302
      luk2302 almost 7 years
      traits[counter] is "trait3", what is intermediateV[2] aka "trait3"[2] supposed to do? Are you trying to get "final Answer 2" - that is not going to work. Use multi-dimensional arrays instead or (even better) structs and classes, do not create variables with counters as part of their name, that is almost always a bad idea.
    • Ali Abou El Atta
      Ali Abou El Atta almost 7 years
      I am indeed trying to get Final Answer 2. I understand this is not going to work, do you have any suggestions on how to get my desired result?
    • Ali Abou El Atta
      Ali Abou El Atta almost 7 years
      I cant use multi-dimensional arrays as the first array aka "traits" is downloaded from Firebase. The other array aka "trait3" is stored locally. I need a way to get "Final answer 2" where these two arrays are seperate.
    • vadian
      vadian almost 7 years
      You are trying to replace a variable name with a literal string. This is impossible. Variable names are evaluated at compile time. Put the arrays (the objects) rather than the literal variable names into the array.
  • Temnovit
    Temnovit over 11 years
    Thank you for your answer. Yes, I have cold backups and replication on another server. Does this mean I have replace the hard drives? Unfortunatly, nothing works for me at this point.
  • ewwhite
    ewwhite over 11 years
    If you have data elsewhere, I would reboot and try to examine the logs in /var/log/messages as soon at the system comes up. Look for indicators of filesystem or hardware failure.
  • Ali Abou El Atta
    Ali Abou El Atta almost 7 years
    As I mentioned in the comments, I cant do multi-dimensional arrays as the first array "traits" is downloaded from the internet so it has values of strings inside it. I need to use those strings to lookup my other locally stored arrays