Estou enfrentando um problema estranho com o sistema de arquivos XFS. Abaixo está o cenário exato:
Eu tinha um disco corrompido de 2 TB com XFS (erro de E / S), então decidi resgatar dados do disco antigo para o disco novo.
Eu executei ddrescue
para resgatar dados em um novo disco. ddrescue
foi concluído com êxito, exceto dados de 204kB. Depois disso, eu estava tentando montar o novo disco, mas sem sorte. Abaixo, estou postando o resultado ddrescue
e o erro de montagem. Por favor me ajude a resolver o problema. Ficarei muito grato.
ddrescue
result:
# ddrescue --force -n /dev/sdc /dev/sde
GNU ddrescue 1.16
About to copy 2198 GB from /dev/sdc to /dev/sde
Starting positions:
Infile = 0 B, outfile = 0 B
Copy Block size: 128 sectors Initial skip size: 128 sectors Sectors size: 512 Bytes
Press Ctrl-C to interrupt
rescued : 2198 GB, errsize : 204 kB, current rate : 1560 B/s
Ipos : 68699 MB, errors : 15, average rate : 29103 KB/s
Opos : 68699 MB, time since last successful read : 0 s
Finished
fdisk
# fdisk -l
Disk /dev/sdc: 2198.3 GB, 2198352166912 bytes 255 heads, 63 sectors/track, 267267 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 267350 2147483647+ ee EFI GPT
Disk /dev/sde: 2198.3 GB, 2198352166912 bytes 255 heads, 63 sectors/track, 267267 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 267350 2147483647+ ee EFI GPT
ls -l / dev / sd *
# ls -l /dev/sd*
brw-r----- 1 root disk 8, 0 Feb 28 02:00 /dev/sda
brw-r----- 1 root disk 8, 1 Feb 28 02:00 /dev/sda1
brw-r----- 1 root disk 8, 2 Feb 28 02:00 /dev/sda2
brw-r----- 1 root disk 8, 3 Feb 27 18:00 /dev/sda3
brw-r----- 1 root disk 8, 4 Feb 28 02:00 /dev/sda4
brw-r----- 1 root disk 8, 5 Feb 28 02:00 /dev/sda5
brw-r----- 1 root disk 8, 16 Feb 28 02:00 /dev/sdb
brw-r----- 1 root disk 8, 17 Feb 28 02:00 /dev/sdb1
brw-r----- 1 root disk 8, 32 Feb 28 02:00 /dev/sdc
brw-r----- 1 root disk 8, 48 Feb 28 02:00 /dev/sdd
brw-r----- 1 root disk 8, 49 Feb 28 02:00 /dev/sdd1
brw-r----- 1 root disk 8, 64 Feb 28 02:00 /dev/sde
# parted -i /dev/sde print
Model: DELL PERC 5/i (scsi)
Disk /dev/sde: 2198GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 2198GB 2198GB primary xfs
Information: Don't forget to update /etc/fstab, if necessary.
Tentativa de montar
# mount -t xfs /dev/sde /mnt/mail3
mount: wrong fs type, bad option, bad superblock on /dev/sde,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg, / var / log / messages, & saída de arquivo
# dmesg | tail
XFS: bad magic number
XFS: SB validate failed
# tail -f /var/log/messages
Feb 28 04:09:29 mail kernel: XFS: bad magic number
Feb 28 04:09:29 mail kernel: XFS: SB validate failed
# file -s /dev/sde
/dev/sde: x86 boot sector; partition 1: ID=0xee, starthead 0, startsector 1, 4294967295 sectors, extended partition table (last)1
Por favor, ajude e será muito apreciado.
Tentativa de montar como hfsplus# mount -t hfsplus /dev/sde1 /mnt/mail3
mount: special device /dev/sde1 does not exist
# mount -t hfsplus /dev/sde /mnt/mail3
mount: wrong fs type, bad option, bad superblock on /dev/sde,
missing codepage or other error
In some cases useful info is found in syslog
- try dmesg | tail or so
# dmesg | tail
hfs: unable to find HFS+ superblock
# tail -f /var/log/messages
Feb 28 02:40:26 mail kernel: hfs: unable to find HFS+ superblock