ehcpdeveloper's blog

Moving to a new harddrive - with lvm - luks encryption

In this post, I will describe how to move to a new harddrive, either server or desktop (linux).
This topic is outside the "hosting" topic, but may be useful for you.

Suppose that you have one old drive, (/dev/sda), Luks encrypted.
one new drive, bigger (/dev/sdb)

New drive has no partitions (or may have also...)

This command copies all of old drive onto new one, with a kind of progress indicator..
pv -n /dev/sda | dd of=/dev/sdb bs=128M conv=notrunc,noerror

this takes long time, depending on your old drive size.

email writing guide, use when sending any question/suggestion to us

Please note and follow the guidelines below concerning the writing of e-mail messages.

Give the message a subject/title. E-mail messages without a subject may not be opened because of a fear of viruses and especially note that it is very easy to forget to type this important information.

Subject contents
Keep the subject short and clear but avoid such headings as:
'hi', ‘Good News’, ‘Hello’, ‘Message from Mary’. These headings are common in messages containing viruses. Short but specific headings are needed,

Alexa graph

ehcp Helper/Howto
get Support/Answers
ehcp ticket system
Cesur Termal

User login

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
3 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Recent comments