Excluí acidentalmente minha unidade com DISKPART

Excluí acidentalmente minha unidade com DISKPART

Eu estava tentando consertar minha unidade flash USB quebrada com DISKPART, mas excluí acidentalmente minha unidade D (felizmente esta não é minha unidade de sistema).

Tenho um histórico completo de comandos do que fiz, mas estava seguindo o tutorial on-line e não entendo realmente o que fiz. Você poderia me ajudar a desfazer algo que acabei de fazer?

Obrigado.

Nota: o primeiro comando list disk é antes de conectar a unidade USB, o segundo comando é depois de conectá-la.

C:\Windows\system32>diskpart

Microsoft DiskPart version 10.0.10586

Copyright (C) 1999-2013 Microsoft Corporation.
On computer: PC-SAAM-AMD-FX

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          931 GB  1024 KB
  Disk 1    Online          223 GB      0 B

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          931 GB  1024 KB
  Disk 1    Online          223 GB      0 B
  Disk 2    Online         7712 MB      0 B

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          931 GB  1024 KB
  Disk 1    Online          223 GB      0 B
  Disk 2    Online         7712 MB      0 B

DISKPART> select disk 3

The disk you specified is not valid.

There is no disk selected.

DISKPART> select disk 2

Disk 2 is now the selected disk.

DISKPART> detail disk

Corsair Flash Voyager USB Device
Disk ID: 00000000
Type   : USB
Status : Online
Path   : 0
Target : 0
LUN ID : 0
Location Path : UNAVAILABLE
Current Read-only State : No
Read-only  : No
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

There are no volumes.

DISKPART> format recommended override

There is no volume selected.
Please select a volume and try again.

DISKPART> select volume

There is no volume selected.

DISKPART> select volume *

The arguments specified for this command are not valid.
For more information on the command type: HELP SELECT VOLUME

There is no volume selected.

DISKPART> select volume 1

Volume 1 is the selected volume.

DISKPART> format recommended override

Virtual Disk Service error:
Format is not allowed on the current boot, system, pagefile,
crashdump or hibernation volume.


DISKPART> FORMAT FS=NTFS LABEL="Windows7" QUICK COMPRESS

Virtual Disk Service error:
Format is not allowed on the current boot, system, pagefile,
crashdump or hibernation volume.


DISKPART> clean all

Virtual Disk Service error:
Clean is not allowed on the disk containing the current boot,
system, pagefile, crashdump or hibernation volume.


DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
* Partition 1    Primary            100 MB  1024 KB
  Partition 2    Primary            931 GB   101 MB

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
* Disk 0    Online          931 GB  1024 KB
  Disk 1    Online          223 GB      0 B
  Disk 2    Online         7712 MB      0 B

DISKPART> select disk 2

Disk 2 is now the selected disk.

DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    Primary           7710 MB  1024 KB

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          931 GB  1024 KB
  Disk 1    Online          223 GB      0 B
* Disk 2    Online         7712 MB      0 B

DISKPART> detail disk

Corsair Flash Voyager USB Device
Disk ID: 00000000
Type   : USB
Status : Online
Path   : 0
Target : 0
LUN ID : 0
Location Path : UNAVAILABLE
Current Read-only State : No
Read-only  : No
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

There are no volumes.

DISKPART> clean all

DiskPart has encountered an error: The device is not ready.
See the System Event Log for more information.

DISKPART>

Responder1

Usando Limpar tudo em um disco, que formata essa unidade não pode ser desfeita.

Você pode tentar recuperar dados com ferramentas de recuperação, mas é improvável que isso traga de volta todos os dados.

A melhor opção aqui é começar a restaurar a partir de backups. Presumo que você fez backups, certo?

Responder2

Apenas para expandir um pouco a resposta do LPChip, aqui está o que a Microsoft diz:

limpar tudo]

Remove toda e qualquer formatação de partição ou volume do disco com foco. Em discos de registro mestre de inicialização (MBR), apenas as informações de particionamento MBR e as informações do setor oculto são substituídas. Nos discos da tabela de partição GUID (GPT), as informações de particionamento GPT, incluindo o MBR protetor, são substituídas; não há informações ocultas do setor.

todos

Especifica quecada setor do disco é zerado, o quecompletamenteexclui todos os dados contidos no disco.

Como diz o LPChip, é por isso que todo mundo† faz pelo menos um backup de seus dados importantes todos os dias.

† na realidade, infelizmente, muitos não o fazem.

Responder3

Então finalmente consegui reverter isso. Ainda não sei exatamente o que aconteceu, mas parece que apenas a letra do disco não foi atribuída. No Gerenciamento de Disco eu ainda conseguia ver meu disco com a mesma quantidade de espaço livre de antes, mas sem a letra, então tentei atribuir D novamente e funcionou e todos os dados pareciam inalterados.

informação relacionada