Eu uso o clonezilla para fazer backups no meu disco rígido periodicamente. Meu disco rígido tem 8 partições e o clonezilla sempre reclama de uma das partições com erro e não pode clonar essa partição.
Starting /usr/sbin/ocs-sr at 2018-01-09 18:41:48 UTC...
*****************************************************.
Clonezilla image dir: /home/partimag
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
The selected devices: sda
PS. Next time you can run this command directly:
/usr/sbin/ocs-sr -q2 -c -j2 -rescue -z1p -i 40960000 -sfsck -scs -senc -p poweroff savedisk 2018-01-09-Sony-Vaio sda
*****************************************************.
The selected devices: sda
Searching for data/swap/extended partition(s)...
The data partition to be saved: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
The selected devices: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
The following step is to save the hard disk/partition(s) on this machine as an image:
*****************************************************.
Machine: SVJ20236CGWI
sda (640GB_SAMSUNG_HM641JI__SAMSUNG_HM641JI_S2EWJDRZ800144)
sda1 (260M_vfat_SONYSYS(In_SAMSUNG_HM641JI_)_SAMSUNG_HM641JI_S2EWJDRZ800144)
sda2 (1.5G_ntfs_Windows_RE_t(In_SAMSUNG_HM641JI_)_SAMSUNG_HM641JI_S2EWJDRZ800144)
sda3 (260M_vfat_There_are_di(In_SAMSUNG_HM641JI_)_SAMSUNG_HM641JI_S2EWJDRZ800144)
sda4 (128M_MS_Reserved_Partition(In_SAMSUNG_HM641JI_)_SAMSUNG_HM641JI_S2EWJDRZ800144)
sda5 (429.4G_ntfs(In_SAMSUNG_HM641JI_)_SAMSUNG_HM641JI_S2EWJDRZ800144)
sda6 (451M_ntfs(In_SAMSUNG_HM641JI_)_SAMSUNG_HM641JI_S2EWJDRZ800144)
sda7 (33.9G_ntfs_Recovery(In_SAMSUNG_HM641JI_)_SAMSUNG_HM641JI_S2EWJDRZ800144)
sda8 (130.4G_Basic(In_SAMSUNG_HM641JI_)_SAMSUNG_HM641JI_S2EWJDRZ800144)
*****************************************************
A partição com problema é sda6. Enquanto Clonezilla determinou que é uma partição NTFS, ele me dá o seguinte aviso quando tenta cloná-lo.
Starting saving /dev/sda6 as /home/partimag/2018-01-09-Sony-Vaio/sda6.XXX...
/dev/sda6 filesystem: ntfs.
*****************************************************.
*****************************************************.
Use partclone with pigz to save the image.
Image file will be split with size limit 40960000 MB.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Run partclone: partclone.ntfs -z 10485760 -N --rescue -L /var/log/partclone.log -c -s /dev/sda6 --output - | pigz -c --fast -b 1024 -p 16 --rsyncable |
split -a 2 -b 40960000MB - /home/partimag/2018-01-09-Sony-Vaio/sda6.ntfs-ptcl-img.gz. 2> /tmp/split_error.impJ5j
Partclone v0.2.91 http://partclone.org
Starting to clone device (/dev/sda6) to image (-)
Reading Super Block
ntfsclone-ng.c: NOT NTFS partition, ntfs mount error 5
Failed to use partclone program to save or restore an image!
*****************************************************.
Failed to save partition /dev/sda6.
A minha pergunta é, existe uma maneira que eu possa clonar esta partição sem precisar usar o dd para todo o sda? Existe uma maneira de usar o partclone mais tempo eficiente para todos os outros sda, enquanto especificamente o usuário dd para sda6?
Tags backup clonezilla partclone