Re: copy full system from old disk to a new one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19/02/2013 19:42, Reindl Harald wrote:


Am 19.02.2013 20:24, schrieb Gordan Bobic:
On 19/02/2013 19:05, Reindl Harald wrote:


Am 19.02.2013 20:02, schrieb Gordan Bobic:
what exactly do you need to align on the partitions?

For a start, making sure your RAID implementation puts the metadata
at the end of the disk, rather than the beginning.

"my RAID implementation"?
LINUX SOFTWARE RAID

and this is how the raid-partitions are looking
no problem since years

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000ae2c
     Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     1026047      512000   fd  Linux raid autodetect
/dev/sda2         1026048    31746047    15360000   fd  Linux raid autodetect
/dev/sda3        31746048  3906971647  1937612800   fd  Linux raid autodetect

[root@srv-rhsoft:/downloads]$ sfdisk -d /dev/sda
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start=     2048, size=  1024000, Id=fd, bootable
/dev/sda2 : start=  1026048, size= 30720000, Id=fd
/dev/sda3 : start= 31746048, size=3875225600, Id=fd
/dev/sda4 : start=        0, size=        0, Id= 0

That's the MD partition alignment, not the alignment of the FS space within the MD device. The two are not the same.

maybe you should read older posts in the thread

Looking for what, exactly?

[root@srv-rhsoft:/downloads]$ tune2fs -l /dev/md1
[...]
This won't tell you the FS alignment against the raw underlying disk sectors.

Blocks per group:         32768

This is sub-optimal in almost all cases except RAID1 or single-disk, as I explained earlier.

Gordan
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux