Nota:
O resultado da minha pergunta é muito diferente de Como reparar uma partição HFS + corrompida de um disco rígido danificado?
Para outro resultado com o Ubuntu: link
Eu tenho um disco rígido externo USB com sistema de arquivos HSF + .
O problema é que não consigo extrair meus arquivos no MAC com o macOS Sierra 10.12.6 , mesmo usando ferramentas comerciais como:
Com o macOS Sierra, executei os próximos comandos:
diskutil verifyVolume / dev / disk2s2
The volume ADATAHD could not be verified completely
File system check exit code is 8
Error: -69845: File system verify or repair failed
Underlying error: 8: Exec format error
diskutil repairVolume / dev / disk2s2
File system check exit code is 8
Updating boot support partitions for the volume as required
Error: -69610: Error parsing fsck program XML format output
Underlying error: 8: Exec format error
sudo fsck_hfs -fryd / dev / disk2s2
unknown volume type
primary MDB is at block 0 0x00
alternate MDB is at block 0 0x00
primary VHB is at block 0 0x00
alternate VHB is at block 0 0x00
sector size = 512 0x200
VolumeObject flags = 0x01
total sectors for volume = 1952853344 0x74662d60
total sectors for embedded volume = 0 0x00
CheckForClean - unknown volume type
CheckHFS returned 6, fsmodified = 0
sudo gpt -r mostra disco0
gpt show: unable to open device 'disk2': Resource busy
sudo diskutil repairDisk disk2
Problems were encountered during repair of the partition map
Error: -69808: Some information was unavailable during an internal lookup
Eu quero conhecer seu boto e começar meu teste usando o CentOS 7.
Minha pergunta para obter uma solução na Apple. link
Eu coloquei esta questão aqui porque eu quero tentar usar o lado do CentOS 7 também!
Obrigado.
EDIT 1
Mapa dos discos!
[root@localhost liveuser]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 113G 0 disk
├─sda1 8:1 0 200M 0 part
├─sda2 8:2 0 112.2G 0 part
└─sda3 8:3 0 619.9M 0 part
sdb 8:16 1 7.5G 0 disk
├─sdb1 8:17 1 1.7G 0 part /run/initramfs/live
├─sdb2 8:18 1 4.9M 0 part
└─sdb3 8:19 1 19.7M 0 part
sdd 8:48 0 931.5G 0 disk
├─sdd1 8:49 0 200M 0 part
└─sdd2 8:50 0 931.2G 0 part
loop0 7:0 0 20K 1 loop
loop1 7:1 0 4.4M 1 loop
└─live-osimg-min 253:2 0 8G 1 dm
loop2 7:2 0 1.6G 1 loop
loop3 7:3 0 8G 1 loop
├─live-rw 253:0 0 8G 0 dm /
├─live-base 253:1 0 8G 1 dm
└─live-osimg-min 253:2 0 8G 1 dm
loop4 7:4 0 512M 0 loop
└─live-rw 253:0 0 8G 0 dm /
[root@localhost liveuser]#
Com fsck
[root@localhost liveuser]# fsck /dev/sdd2
fsck from util-linux 2.23.2
e2fsck 1.42.9 (28-Dec-2013)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdd2
Could this be a zero-length partition?
[root@localhost liveuser]#
Com fsck.hfsplus
[root@localhost liveuser]# fsck.hfsplus /dev/sdd2
** /dev/sdd2
Executing fsck_hfs (version 540.1-Linux).
[root@localhost liveuser]#
Com fdisk -l
[root@localhost liveuser]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 121.3 GB, 121332826112 bytes, 236978176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
# Start End Size Type Name
1 40 409639 200M EFI System EFI System Partition
2 409640 235708599 112.2G Apple Core stor ElCapitanHD
3 235708600 236978135 619.9M Apple boot
Disk /dev/sdb: 8017 MB, 8017412096 bytes, 15659008 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x79bec633
Device Boot Start End Blocks Id System
/dev/sdb1 * 0 3465215 1732608 0 Empty
/dev/sdb2 172 10231 5030 ef EFI (FAT-12/16/32)
/dev/sdb3 10280 50599 20160 0 Empty
Disk /dev/sdb1: 1774 MB, 1774190592 bytes, 3465216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x79bec633
Device Boot Start End Blocks Id System
/dev/sdb1p1 * 0 3465215 1732608 0 Empty
/dev/sdb1p2 172 10231 5030 ef EFI (FAT-12/16/32)
/dev/sdb1p3 10280 50599 20160 0 Empty
Disk /dev/mapper/live-rw: 8589 MB, 8589934592 bytes, 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/live-base: 8589 MB, 8589934592 bytes, 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/live-osimg-min: 8589 MB, 8589934592 bytes, 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
fdisk: cannot open /dev/sdd: Input/output error
[root@localhost liveuser]#