赛迪网总编辑刘兴波:“互联网+”必将再造人类生活
百度 广大党员、干部要提高工作能力,必须高度重视通过学习马克思主义经典著作来提高自己的理论思维能力。
This command is used to do low level copying of data.
216 questions
0
votes
1
answer
127
views
Clone encrypted disk to another disk but less size in Linux
I've encrypted 1Tb NVMe disk where OS installed.
I have another 1Tb NVMe disk but a bit less capacity (931G vs 953,9G).
I want to make a bootable clone of the first disk.
Which options I have?
Here ...
0
votes
0
answers
168
views
Reset NVMe drive (No data wipe)
I want to reset an NVMe disk to the state when it came out of the box, not a data or secure wipe needed, disk will be reused in same system.
More context:
It is a Turing RK1 Module in a Turing PI 2.5 ...
0
votes
1
answer
388
views
Using dd to clone disk with LUKS encryption
We want to copy the contents of one disk to another, but with the complication that the source disk has the data in a LUKS encrypted partition, and the destination disk will not use LUKS.
Normally we ...
0
votes
1
answer
122
views
Table partition after DD Cloning
I've got some questions about table partition after dd cloning a full disk. I have been cloning a full disk with a dual boot: Win + Ubuntu to an image. The disk contained the following partition:
WIN: ...
3
votes
2
answers
3k
views
Using dd with nvme device
I want to use dd under linux to make a backup image of my disk. With sata devices there is a /dev/sda for the disk, and /dev/sdaX for each partition.
But with this nvme I see /dev/nvme0, /dev/nvme0n1,...
1
vote
1
answer
205
views
How to write a file DIRECTLY to tape with dd
I am trying to write a file directly to a tape in my LTO4 tape drive. From what I understand, this should be possible.
However, when I attempt to use dd to write to it (e.g. dd if="/test.img"...
0
votes
0
answers
432
views
copying DD to a folder and converting to qcow2
I am trying to copy disk image (block files) with resepct to KVM images and convert it to Qcow2 format in a single command,Can we copy copy dd to a folder and convert it to qcow2 in single command.
0
votes
0
answers
82
views
Resizing RAID-1 devices after dd clone
I had 2 x 250 GB disks with 3 md devices - raid 1 setup on them. One of them is for /. I dd-cloned those disks to another 2 x 2 TB SSDs. What is the best solution to increase the raid device sizes? &...
0
votes
0
answers
306
views
Why did dd report a "No Space" error after cloning a USB drive?
In Ubuntu 22.04 LTS, I use this command to clone one Samsung USB GPT drive to another identical drive:
sudo dd if=/dev/sdb of=/dev/sdc bs=16M conv=sync,noerror status=progress
This operation ...
11
votes
4
answers
10k
views
Linux / BSD "quickly" wipe a USB drive?
I'm clearing a drive with dd. It's a USB device and 120GB and it's taking a very long time:
dd if=/dev/zero of=/dev/da0 bs=1M status=progress
I have tried messing with the block size (smaller and ...
0
votes
1
answer
48
views
Cloudmin backup size
we are using Cloudmin under CentOS 7.9. to manage Xen virtual machines that use LVM. It's all backed up once a week (via Cloudmin's built-in backup system, which I think just uses dd). Last week I ...
0
votes
1
answer
462
views
How to recover partition/filesystem from failed dd command
I have a server with two SSDs of 250GB each.sda contained all my stuff while sdb was empty. I was trying to copy drive sda to drive sdb using the following command:
dd if=/dev/sda of=/dev/sdb conv=...
5
votes
4
answers
3k
views
Cloning data from a damaged SSD
The SSD went into read-only mode, so you need to move the partition to a working SSD, but I encountered the fact that the LVM size is different:
#lvm pvscan
PV /dev/sdc3 VG pve lvm2 [&...
0
votes
1
answer
199
views
dd: failed to open ‘/disk1/boot1.img’: Structure needs cleaning
Executing this Command :
dd if=/dev/sda1 of=/disk1/boot1.img
I got this Error :
dd: failed to open ‘/disk1/boot1.img’: Structure needs cleaning
I tried that Command on my centos machine and got that ...
0
votes
0
answers
191
views
Windows Images created with dd cannot be restored
I used a live USB Linux system to create images of Windows Installations (Win 8 and 10) on hard drives like this:
dd if=/dev/sdb bs=64k conv=noerror, sync | gzip -c > /dev/sdc1/win.img.gz
However,...