how to check badsector on ext4 6TB

16

for me the trick was to simply increase the blocksize:

badblocks -b 4096 -v /dev/sda
Share:
16
mtcmatthew
Author by

mtcmatthew

Updated on September 18, 2022

Comments

  • mtcmatthew
    mtcmatthew over 1 year
    dat08 <- c() for(i in 0:63) {
      temp <- read.table(paste0("run",i,".txt"), sep=" ") dat08 <- rbind(dat08, temp)
    
    }
    

    This is what I have currently, but I am not sure how to go about fixing these errors:

    1. Error: unexpected 'for' in "dat08 <- c() for"
    2. Error: unexpected symbol in " temp <- read.table(paste0("run",i,".txt"), sep=" ") dat08"
    3. Error: unexpected '}' in "}"
    • Jetson Earth
      Jetson Earth over 9 years
    • Ivan
      Ivan over 9 years
      that not help at all :( any specific solution for ubuntu x64 14.04?
    • thomasrutter
      thomasrutter over 9 years
      I read that link and it looks like it's definitely specific to this.
    • Jetson Earth
      Jetson Earth over 9 years
      Ivan, the link mentioned explains that badblocks can't cope with HDDs that large. You'll not get it to run on your 6TB HDD, no matter what you'll do.
    • Ivan
      Ivan over 9 years
      ok so if 6 TB HDD, what should i do ? or make partition 2 tb? or 1tb?
  • Dave
    Dave over 3 years
    Thank you. This worked for my 10TB drive. Hopefully for my 16TB drive soon
  • user217905
    user217905 over 2 years
    Didn't work with my 18 (in fact, 16+) Tb HDD :(