EXT4 Filesystem Issues

Using TestDisk to repair the filesystem
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
theone
Posts: 5
Joined: 15 Sep 2016, 05:14

EXT4 Filesystem Issues

#1 Post by theone »

Hello Folks, I had a problem with my RAID5 Controller, after change for the SAME Model and Trademark, I tried to mount it on my Filesystem but ask to runs FSCK.EXT4 utility, I tried to run but my RAID is 16TB (5 disks 4TB SAS), the system taken around 4 days and never finish the process, no status bar or percentual to let me know about the process status or something else to mensure the time to go, OK, I Try to run TESTDISK (I'm sure that I've an EXT4 Partition) but the system shows me that:

am I doing something Wrong ?! Steps: New Log => /dev/md1 => Intel => Quick Search


TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/md1 - 16 TB / 14 TiB - CHS 3906887168 2 4
Analyse cylinder 3296188605/3906887167: 84%


Linux 0 0 1 3906887167 1 4 31255097344
Linux 0 0 1 3906887167 1 4 31255097344
Linux 0 0 1 3906887167 1 4 31255097344
Linux 0 0 1 3906887167 1 4 31255097344
Linux 0 0 1 3906887167 1 4 31255097344
Invalid FAT boot sector
0 D FAT32 357293517 1 2 357560301 1 1 2134272
FAT32 357293517 1 2 357560301 1 1 2134272
Invalid FAT boot sector
0 D FAT16 <32M 520060530 0 3 1049217585 1 1 4233256443
FAT16 <32M 520060530 0 3 1049217585 1 1 4233256443
Invalid FAT boot sector
0 D FAT12 1373562813 1 1 1645385143 0 1 2174578637
FAT12 1373562813 1 1 1645385143 0 1 2174578637
Invalid FAT boot sector
0 D FAT32 1854424147 1 2 2061076868 0 3 1653221766
FAT32 1854424147 1 2 2061076868 0 3 1653221766
Invalid FAT boot sector
0 D FAT16 <32M 2082107812 0 4 2144731919 0 3 500992856
FAT16 <32M 2082107812 0 4 2144731919 0 3 500992856
Invalid FAT boot sector
0 D FAT16 <32M 2317022589 1 2 2703887026 1 3 3094915498
FAT16 <32M 2317022589 1 2 2703887026 1 3 3094915498
Invalid FAT boot sector
0 D FAT16 >32M 2773986043 1 4 3245733513 0 2 3773979755
FAT16 >32M 2773986043 1 4 3245733513 0 2 3773979755

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: EXT4 Filesystem Issues

#2 Post by cgrenier »

If I understand correctly, your computer is using a software Raid (aka fakeraid).
Your Raid device is /dev/md1. The capacity seems correct (16 TB).
TestDisk has listed "Partition Type: None" when you have select this device (It would have been easier if you had copy/paste the testdisk.log file content...)
What is the exact fsck message ?
Did you stop the fsck ?
"fsck.ext4 -vty /dev/md1" should display some information about its progress.
Using TestDisk, what is the result of TestDisk, Advanced, List ?

theone
Posts: 5
Joined: 15 Sep 2016, 05:14

Re: EXT4 Filesystem Issues

#3 Post by theone »

Yes, I stop the process, cuz it's took more than 4 days, NOW finally I have this screen Below: (I'm able to navigate for all of my Folders and I can see the content inside), I just don't know how can I fix it or mount it again, If you can give me any support or Clue, I'll appreciate so much, Thanks in advance.

Disk /dev/md1 - 16 TB / 14 TiB - CHS 3906887168 2 4

Partition Start End Size in sectors

ext4 0 0 1 3906887167 1 4 31255097344
superblock 0, blocksize=4096 []
superblock 32768, blocksize=4096 []
superblock 98304, blocksize=4096 []
superblock 163840, blocksize=4096 []
superblock 229376, blocksize=4096 []
superblock 294912, blocksize=4096 []
superblock 819200, blocksize=4096 []
superblock 884736, blocksize=4096 []
superblock 1605632, blocksize=4096 []
superblock 2654208, blocksize=4096 []

durfturf
Posts: 4
Joined: 19 Aug 2016, 01:05

Re: EXT4 Filesystem Issues

#4 Post by durfturf »

fat12? that's for floppy disks. are the drives formatted properly?

I know sometimes things can hang on boot because they look for floppy drives that aren't there.

theone
Posts: 5
Joined: 15 Sep 2016, 05:14

Re: EXT4 Filesystem Issues

#5 Post by theone »

No ! This is was always EXT4, like I've told you before, the filesystem structure or partition has problem, I can recovery the folders with Testdisk, But I want to know if I can fix the whole disck partition or Filesystem sctructure using testdisk, It's 16TB a huge large files...

theone
Posts: 5
Joined: 15 Sep 2016, 05:14

Re: EXT4 Filesystem Issues

#6 Post by theone »

cgrenier wrote:If I understand correctly, your computer is using a software Raid (aka fakeraid).
Your Raid device is /dev/md1. The capacity seems correct (16 TB).
TestDisk has listed "Partition Type: None" when you have select this device (It would have been easier if you had copy/paste the testdisk.log file content...)
What is the exact fsck message ?
Did you stop the fsck ?
"fsck.ext4 -vty /dev/md1" should display some information about its progress.
Using TestDisk, what is the result of TestDisk, Advanced, List ?
- Yes, I'm using software RAID (mdadm) and my RAID array have 16TB It's a RAID 5 with 5x 4tb SAS.
- Trhough Testdisk I can navigate on directories and Files, Now I'm trying to use the method of Copy and Paste (Past in another Disk, But I will try to manually paste in 8 disks of 8TB, cuz the amount is very Huge).
- YES ! I've stopped FSCK.EXT4 -v -y because it's took 4 days without any progress, I just have a lot messa of CLAIM BLOCKS but the process seems to be increbible slowly.

My last testdisk.log:

dir_partition inode=787218433
P ext4 0 0 1 3906887167 1 4 31255097344
ext4 blocksize=4096 Large_file Sparse_SB, 16 TB / 14 TiB
Directory /TEMPO
787218433 drwxrwxrwx 0 514 4096 5-Sep-2016 15:40 .
2 drwxr-xr-x 0 0 4096 24-Aug-2016 15:23 ..
787218434 drwxrwxrwx 503 514 4096 8-Sep-2016 11:08 #EDITORIAL 2016#
787218435 drwxrwxrwx 501 514 4096 25-Aug-2016 15:03 #MIXADOS#
787218436 drwxrwxrwx 501 514 4096 25-Aug-2016 20:01 #Novos Arquivos#
787218437 drwxrwxrwx 503 514 4096 12-Feb-2016 11:17 #PAST EDITORIAL 2001 a 2013#
787218438 drwxrwxrwx 507 514 4096 12-Feb-2016 11:17 #TEXTOS EST▒DIOS#
787218439 drwxrwxrwx 507 514 4096 7-Feb-2014 15:33 .TemporaryItems
787218440 drwxrwxrwx 501 514 4096 6-Sep-2016 18:12 Dados de Dubladores
787218441 drwxrwxrwx 522 514 4096 12-Feb-2016 11:17 EDITORIAL 2014
787218442 drwxrwxrwx 503 514 4096 12-Feb-2016 11:17 EDITORIAL 2015
787218443 drwxrwxrwx 501 514 4096 6-Jun-2016 07:32 Escala
787218444 drwxrwxrwx 503 514 4096 19-Feb-2014 16:34 FAPESP FEVEREIRO DE 2014
787218445 drwxrwxrwx 508 514 4096 5-Sep-2016 15:39 FECHAMENTOS TRADUTORES 2015
787218446 drwxrwxrwx 501 514 4096 13-Jul-2011 15:50 FOTOS
787218447 drwxrwxrwx 501 514 4096 27-Apr-2015 12:29 IGOR
787218448 drwxrwxrwx 511 514 4096 29-Jan-2015 09:26 Isadora - 27-01-2015
787218449 drwxrwxrwx 502 514 4096 16-Aug-2016 10:24 Isadora
787218450 drwxrwxrwx 508 514 4096 11-Jul-2016 13:02 LEGENDAGEM
787218451 drwxrwxrwx 500 514 4096 12-Feb-2016 11:17 LETRA E PONTO
787218452 drwxrwxrwx 501 514 4096 20-Jun-2006 00:29 Lista Equip. audio
787218453 drwxrwxrwx 501 514 4096 5-Jul-2016 15:52 MILU
787218454 drwxrwxrwx 501 514 4096 27-May-2009 16:51 Master Converter
787218455 drwxrwxrwx 501 514 4096 30-Jun-2016 15:07 Nei Instaler
787218456 drwxrwxrwx 501 514 4096 26-Jul-2013 20:08 OUTROS
787218457 drwxrwxrwx 501 514 4096 12-Feb-2016 11:17 PORTIFOLIO TEMPO FILMES
X787220800 -rwxrwxrwx 509 514 4096 18-Aug-2016 14:09 shfolder.dll
794297543 drwxrwxrwx 503 514 4096 5-Aug-2016 10:08 EDITORIAL 2017
X787218460 drwxrwxrwx 508 514 4096 18-May-2016 16:46 PRODU▒▒O FEVEREIRO - TRADUTORES
X787218461 drwxrwxrwx 508 514 4096 18-May-2016 15:58 PRODU▒▒O JANEIRO - TRADUTORES
X787218462 -rwxrwxr-x 533 514 22997 4-Aug-2016 15:22 PRODU▒▒O MAIO - TRADUTORES
X787218463 drwxrwxrwx 508 514 4096 8-Jun-2016 16:46 PRODU▒▒O MAR▒O - TRADUTORES
787218464 drwxrwxrwx 501 514 4096 16-Aug-2007 20:13 Pimaco
787218465 drwxrwxrwx 501 514 4096 24-Jul-2008 10:54 Programa▒▒o an▒lise
787218466 drwxrwxrwx 501 514 4096 12-Feb-2016 11:17 Protocolos
787218467 drwxr-xr-x 500 514 4096 2-Sep-2016 18:16 REGISTRO DE VOZ 2016
787218468 drwxrwxrwx 509 514 4096 6-May-2015 16:30 REGISTRO DE VOZ- RAFAEL SAUD
787218469 drwxr-xrwx 509 514 16384 2-Sep-2016 15:09 REGISTRO DE VOZ
787218470 drwxr-xr-x 509 514 4096 2-Sep-2016 15:09 REGISTRO DE VOZ_
787218471 drwxrwxrwx 503 514 4096 6-Aug-2015 10:18 ROLAND
787218472 drwxrwxrwx 501 514 4096 17-Jun-2016 09:41 Relat▒rios
787218473 drwxrwxrwx 533 514 4096 28-Mar-2016 09:48 Snaketacular, Ricardo Fabio
787218474 drwxrwxrwx 509 514 4096 15-Jan-2015 14:36 TESTE LUIZ CARLOS DE MORAES
787218475 drwxrwxrwx 509 514 4096 12-Feb-2016 11:17 TESTE PROJECT RUNWAY
787218476 drwxr-xr-x 509 514 4096 5-Nov-2015 17:11 THIAGO ZAMBRANO_
787218477 drwxrwxrwx 501 514 4096 29-Sep-2010 07:31 Telecurso
787218478 drwxrwxrwx 505 514 4096 2-Sep-2016 17:00 Telefones e agendas
787218479 drwxrwxrwx 501 514 4096 29-Sep-2010 07:31 Temporary Items
787218480 drwxrwxrwx 501 514 4096 2-Sep-2010 13:15 Teste Chamadas DC_Tempo
787218481 drwxrwxrwx 501 514 4096 29-Sep-2010 07:31 TheVolumeSettingsFolder
787218482 drwxrwxrwx 512 514 4096 14-Sep-2015 15:59 Utilit▒rios S.M Synergy
787218483 drwxrwxrwx 509 514 4096 28-Oct-2014 13:04 computador roberta
X787218484 -rwxrwxr-x 508 514 937472 1-Aug-2016 12:18 lost+found
787218485 drwxrwxrwx 501 514 4096 4-Sep-2012 18:36 or▒amentos
787218486 drwxrwxrwx 501 514 4096 26-Jul-2011 09:37 programas instala▒▒o
787218487 drwxrwxrwx 503 514 4096 7-Mar-2016 15:18 tempo (192.168.0.3 (DATASERVER))
787218488 drwxrwxrwx 503 514 4096 22-Oct-2015 11:16 tempo (192.168.0.3 (DATASERVER)
787218489 drwxrwxrwx 519 514 4096 29-Sep-2014 21:09 z-BKP
787218723 -rwxrwxrwx 509 514 4096 6-Jul-2016 15:06 ._#TEXTOS EST▒DIOS#
787218676 -rwxrwxr-x 509 514 24580 8-Sep-2016 11:30 .DS_Store
787218726 -rwxrwxr-x 500 514 3810 20-Jan-2016 20:01 ._ESTUDIO CINZA
787218724 -rwxrwxr-x 509 514 4096 12-Feb-2016 15:41 ._.DS_Store
787218725 -rwxrwxrwx 500 514 4096 20-Dec-2014 11:41 ._.apdisk
787218728 -rwxr-xr-x 500 514 4096 20-May-2016 15:58 ._REGISTRO DE VOZ 2016
787218727 -rwxr-xrwx 509 514 4096 13-Jul-2016 12:34 ._REGISTRO DE VOZ
787218730 -rwxrwxrwx 509 514 4096 17-Sep-2014 10:06 ._RF _J C GUERRA_08.wav
787218729 -rwxrwxr-x 509 514 4096 29-Jul-2016 14:17 ._REGISTRO DE VOZ_
787218738 -rwxrwxr-x 500 514 144604 20-Jan-2016 18:57 ESTUDIO CINZA
787218731 -rwxrwxrwx 500 514 291 20-Dec-2014 11:41 .apdisk
X787218740 -rwxrwxr-x 533 514 24429 5-Aug-2016 14:50 Programacao (192.168.0.3) (Y) - Atalho (2).lnk
787218732 -rwxrwxrwx 507 514 1030254 9-Mar-2015 17:07 CORRECAO - LEO STEFANIN_TEMPOFILMES.wav
787218733 -rwxrwxr-x 518 514 16140 7-Jul-2016 12:47 C▒pia de 136198 glossario.xlsx
787218734 -rwxrwxrwx 503 514 345600 10-Jun-2014 18:46 DANCE 950307elencado OR▒A.xls
X787218735 drwxrwxrwx 508 514 4096 4-Aug-2016 15:13 DATASERVER - Atalho.lnk
X787218736 -rwxrwxr-x 508 514 625152 1-Aug-2016 15:17 Disco Local (D) - Atalho (2).lnk
X787218737 -rwxrwxr-x 508 514 69120 4-Aug-2016 14:05 Disco Local (D) - Atalho.lnk
X787218739 -rwxrwxr-x 533 514 165 8-Sep-2016 10:55 M▒sicas - Atalho.lnk
X787218745 -rwxrwxrwx 509 514 643584 16-Apr-2015 13:29 .dia 16.xls.MQrzwL
787218745 -rwxrwxrwx 509 514 643584 16-Apr-2015 13:29 dia 16.xls
X787218741 -rwxrwxr-x 509 514 75463 1-Aug-2016 11:16 Programacao (192.168.0.3) (Y) - Atalho.lnk
787218742 -rwxrwxrwx 509 514 1206298 17-Sep-2014 10:06 RF _J C GUERRA_08.wav
X787218743 -rwxrwxr-x 508 514 27136 9-Aug-2016 15:10 Tecnica (192.168.0.3) - Atalho.lnk
X787218744 -rwxrwxr-x 508 514 4224 4-Aug-2016 14:08 Tempo (192.168.0.3) - Atalho.lnk
X787218746 -rwxrwxrwx 501 514 39465 20-Apr-2011 09:52 .lista de telefones.xlsx.lGJw37
787218746 -rwxrwxrwx 501 514 39465 20-Apr-2011 09:52 lista de telefones.xlsx
ext2fs_dir_iterate failed with error 2133571363.
ext2fs_dir_iterate failed with error 2133571363.
ext2fs_dir_iterate failed with error 2133571363.
ext2fs_dir_iterate failed with error 2133571363.

theone
Posts: 5
Joined: 15 Sep 2016, 05:14

Re: EXT4 Filesystem Issues

#7 Post by theone »

cgrenier wrote:If I understand correctly, your computer is using a software Raid (aka fakeraid).
Your Raid device is /dev/md1. The capacity seems correct (16 TB).
TestDisk has listed "Partition Type: None" when you have select this device (It would have been easier if you had copy/paste the testdisk.log file content...)
What is the exact fsck message ?
Did you stop the fsck ?
"fsck.ext4 -vty /dev/md1" should display some information about its progress.
Using TestDisk, what is the result of TestDisk, Advanced, List ?
I've been run FSCK again with your command and flags:

File /financeiro/Versionador de Arquivos/???/???/???/???/???/???/???/???/VIDEOS CEL EMPRESA/20160817_170007 (2016_09_05 14_11_47 UTC).mp4 (inode #554570696, mod time Wed Aug 17 17:01:29 2016)
has 42730 multiply-claimed block(s), shared with 1 file(s):
... (inode #554572744, mod time Wed Aug 17 17:01:29 2016)
Clone multiply-claimed blocks? yes

File /financeiro/Versionador de Arquivos/???/???/???/???/???/???/???/???/VIDEOS CEL EMPRESA/20160815_165705 (2016_09_05 14_11_47 UTC).mp4 (inode #554570697, mod time Mon Aug 15 17:00:49 2016)
has 117278 multiply-claimed block(s), shared with 1 file(s):
... (inode #554572745, mod time Mon Aug 15 17:00:49 2016)
Clone multiply-claimed blocks? yes


It's processing the same "multiply-claimed block around 8 hours

Locked