Fdisk shows logical sector size smaller than physical sector size after clonezilla
I bought a new 1tb HD adding it to a 750gb drive. I have a duel boot Windows/Linux Mint Debian setup. I did a clonezilla to copy the 750gb drive to the 1tb drive (it used partclone, I believe).
I did an fdisk /dev/sdb (the newer 1tb drive) to examine the drive. It showed this error: Quote:
Code:
$ /sbin/fdisk -v I am also wondering about design issues. I would prefer Windows os on the original and my Windows data (user data, etc) on the new drive and the reverse for my Linux, but how hard is it to switch a Windows data volume to another disk (it is already copied onto that disk). The easier road I think would just be let /dev/sda be for Windows and /dev/sdb be for linux, but performance would be better the other way. Thoughts? Thanks, Narnie |
This is a real problem. Some newer drives (and it will be more in the future) use physical sector sizes of 4KB instead of the older 512B. In order to get full write performance from the disk partitions have to be aligned to those physical sectors. So make sure that the startsector of any partition can be divided by 8.
|
Quote:
Thanks, Narnie |
If you would post the output from "fdisk -lu" for that drive, someone could give a definitive answer.
|
Quote:
Code:
# fdisk -lu /dev/sdb Narnie |
That all looks like it should be just fine.
|
To me, it looks like there's a lot of wasted space in this partitioning scheme. sdb5 starts 2048 sectors past the beginning of sdb4, there's 2048 sectors between the end of sdb5 and the beginning of sdb6, etc. Can anything be done about this?
Right now I'm trying to partition a hard drive with this "issue", and I can't seem to avoid wasting space. |
The 5 sets of 2048 wasted sectors works out to 0.00052% of the 1953525168 sectors on the drive. How much effort do you want to put into reclaiming that?
|
Quote:
|
If I was willing to accept sloppiness without question, I would be an MS Windows user.
I would at least like to know the source of the unclaimed space, and if there's anything that can be done about it. |
ulatekh,
What tools do you use to create the partitions ? I am doing partition with my new 1.5TB WD15EARS as well, and I used parted which can let me to assign the exact START and END sector number, which at the end I could make no waste of space of my partitioned harddisk. Do you want to take a try with parted ? |
I was using the fdisk that came with my Fedora Core 17 install/rescue DVD.
I guess I'll have to take another stab at parted...it's been a while since I tried to use that. |
Quote:
The first partition is always preceded by the single sector MBR, so space must be wasted there to bring that partition back into alignment. Similarly, every logical drive in the extended partition is preceded by a secondary partition table, which again (assuming that the preceding partition uses an integral number of alignment-sized blocks) would misalign them by 1 sector unless some space is wasted to align them properly. You can use sfdisk with the --force ("Do what I say even if it is stupid") option to place your partitions wherever you like. You could also avoid the use of extended partitions and logical drives by partitioning your disks with GPT, which would only "waste" 68 sectors for the primary and secondary GPTs (34 512-byte sectors each). |
All times are GMT -5. The time now is 10:42 PM. |