3
2
The drive on my Ubuntu media server is nearly full. I hope to add another 2TB of capacity to the machine and would prefer for all 3.5 TB to be recognized as a single drive. To complicate things, I don't want to lose any of the data on the drive or have to reconfigure any programs.
My plan was to use LVM to create a volume group on the new drive an use dd to copy the contents of the old drive. Then I plan to erase the old drive and add it to the volume group.
Will this plan work?
My biggest questions are: -Will dd be able to copy my installation to another drive without problems? Even if its a volume group? -Will dd be able to copy a 1.5TB drive to a 2TB drive and leave the remaining space free.
What are the advantages to using dump+restore over dd? Will I end up with unusable space if use dump+restore onto a larger disk? – Evan Gillespie – 2012-05-02T02:27:03.780
dd isn't really the right tool for this job. I'd just use cp or tar. – Flimzy – 2012-05-02T03:23:35.287