View previous topic :: View next topic |
Author |
Message |
kbzium Tux's lil' helper
Joined: 31 Jul 2012 Posts: 146
|
Posted: Wed Feb 27, 2013 4:05 pm Post subject: Copy one SSD content to another? |
|
|
Hello,
I'm getting another SSD drive. The thing is I'd like to use the new SSD instead of the old one, which I am using now. There are 2 partitions: windows one and gentoo another. Is there a way to move things smoothly so I'm not going to need anything else? Like dd or something? Wouldn't it harm my SSD drives?
Thank you! |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Thu Feb 28, 2013 2:37 am Post subject: |
|
|
I have used dd for that. It works fine.
Quote: | Wouldn't it harm my SSD drives? |
No. Modern SSDs are designed to take 10s of GB of writes 7 days a week for 5+ years. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23085
|
Posted: Thu Feb 28, 2013 3:18 am Post subject: |
|
|
Although dd may be safe for modern SSDs, using dd to copy filesystems for general use has never been best practice, because it copies all the free space. Make a partition table and filesystems on the new drive, then copy the files over via the filesystem interface, rather than the block interface. |
|
Back to top |
|
|
kbzium Tux's lil' helper
Joined: 31 Jul 2012 Posts: 146
|
Posted: Thu Feb 28, 2013 6:33 pm Post subject: |
|
|
The problem is, that my Vertex 4 appears to have:
Erase block size of 2MB
Page size of 8KB
I know that when erase block is 512KB, best values would be 32,32 and stride=128,stripe-width=128, the latter are computed as erase block size / stripe-width (is it a page size?)
Assuming I'm using fdisk, what number of heads, sectors and stride, stripe-width should I use?
Would:
fdisk -S64 -S63
mkfs -t ext4 -b 4096 -E stride=256, stripe-width=256 be ok? |
|
Back to top |
|
|
kbzium Tux's lil' helper
Joined: 31 Jul 2012 Posts: 146
|
Posted: Thu Feb 28, 2013 10:00 pm Post subject: |
|
|
Okay, I've ended up doing:
128,32, 512,512 (cyl, str, stipe, stripe-width) with normal 4kb BS. Partition is positioned at the second 2-megabyte block that is 4096 from a sector perspective (2 times more, cause fdisk usses 512 block). Hope it helps someone |
|
Back to top |
|
|
|