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

2013-03-02 Thread Kanwar Ranbir Sandhu
On Wed, 2013-02-20 at 10:52 +, Gordan Bobic wrote: 3x3TB RAID5 is _brave_, IMO. But hey, it's your data. :) So, are you saying there should be more drives in the array, or should he use a different RAID level altogether? Ranbir -- Kanwar Ranbir Sandhu Linux 3.7.9-101.fc17.x86_64 x86_64

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

2013-02-20 Thread poma
On 02/20/13 00:52, Gordan Bobic wrote: On 02/19/2013 10:00 PM, Reindl Harald wrote: […] data without a raid are useless My point was that even RAID is next to useless because it doesn't protect you against bit-rot. Stone carving is what we aim? Again!? :) Can I take this[1] for comfort?

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

2013-02-20 Thread Reindl Harald
Am 20.02.2013 00:52, schrieb Gordan Bobic: On 02/19/2013 10:00 PM, Reindl Harald wrote: data without a raid are useless My point was that even RAID is next to useless because it doesn't protect you against bit-rot. it does and in case of RAID you have to have at least one full backup

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

2013-02-20 Thread Gordan Bobic
On 20/02/2013 06:22, Steve Ellis wrote: On Tue, Feb 19, 2013 at 3:52 PM, Gordan Bobic gor...@bobich.net mailto:gor...@bobich.net wrote: On 02/19/2013 10:00 PM, Reindl Harald wrote: No, my experience does not go as far back 6 years for obvious reasons. My exprience with

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

2013-02-20 Thread Gordan Bobic
On 20/02/2013 08:20, poma wrote: On 02/20/13 00:52, Gordan Bobic wrote: On 02/19/2013 10:00 PM, Reindl Harald wrote: […] data without a raid are useless My point was that even RAID is next to useless because it doesn't protect you against bit-rot. Stone carving is what we aim? Again!? :)

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

2013-02-20 Thread Gordan Bobic
On 20/02/2013 09:01, Reindl Harald wrote: Am 20.02.2013 00:52, schrieb Gordan Bobic: On 02/19/2013 10:00 PM, Reindl Harald wrote: data without a raid are useless My point was that even RAID is next to useless because it doesn't protect you against bit-rot. it does OK, say you have

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

2013-02-20 Thread poma
On 02/20/13 11:55, Gordan Bobic wrote: […] Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum Checksum: 0x62b7798f -- Not really. That will keep

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

2013-02-20 Thread Gordan Bobic
On 20/02/2013 18:01, poma wrote: On 02/20/13 11:55, Gordan Bobic wrote: […] Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum Checksum: 0x62b7798f --

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

2013-02-20 Thread poma
On 02/20/13 19:17, Gordan Bobic wrote: On 20/02/2013 18:01, poma wrote: On 02/20/13 11:55, Gordan Bobic wrote: […] Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file dir_nlink extra_isize

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

2013-02-19 Thread Heinz Diehl
On 18.02.2013, Reindl Harald wrote: which misalignment? Aligment to a 4k blocksize. This is what most of the SSDs and advanced format HDDs use. Both your partitions have to be aligned to 4k block boundaries and the filesystem you create on top of them must support the 4k blocksize. If you do

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

2013-02-19 Thread Reindl Harald
Am 19.02.2013 16:31, schrieb Heinz Diehl: On 18.02.2013, Reindl Harald wrote: which misalignment? Aligment to a 4k blocksize. This is what most of the SSDs and advanced format HDDs use. Both your partitions have to be aligned to 4k block boundaries and the filesystem you create on top

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

2013-02-19 Thread Ian Malone
On 17 February 2013 21:12, Reindl Harald h.rei...@thelounge.net wrote: Am 17.02.2013 22:03, schrieb Heinz Diehl: On 17.02.2013, Reindl Harald wrote: if wouldn't do this and stick with dd / disk images and use gparted to resize partitions because if i clone machines i want to have all

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

2013-02-19 Thread Reindl Harald
Am 19.02.2013 18:19, schrieb Ian Malone: On 17 February 2013 21:12, Reindl Harald h.rei...@thelounge.net wrote: Am 17.02.2013 22:03, schrieb Heinz Diehl: On 17.02.2013, Reindl Harald wrote: if wouldn't do this and stick with dd / disk images and use gparted to resize partitions because

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

2013-02-19 Thread Heinz Diehl
On 19.02.2013, Reindl Harald wrote: i can not remember when the last ext3/ext4 had 512 bytes blocksize [] Most of the conventional harddisks have a sectorsize/blocksize of 512/512. All the newer and bigger WD/Seagate drives and SSDs are using advanced format, which means 512/4096. To

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

2013-02-19 Thread Reindl Harald
Am 19.02.2013 18:48, schrieb Heinz Diehl: On 19.02.2013, Reindl Harald wrote: i can not remember when the last ext3/ext4 had 512 bytes blocksize [] Most of the conventional harddisks have a sectorsize/blocksize of 512/512. All the newer and bigger WD/Seagate drives and SSDs are

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

2013-02-19 Thread Gordan Bobic
On 19/02/2013 17:48, Heinz Diehl wrote: On 19.02.2013, Reindl Harald wrote: i can not remember when the last ext3/ext4 had 512 bytes blocksize [] Most of the conventional harddisks have a sectorsize/blocksize of 512/512. All the newer and bigger WD/Seagate drives and SSDs are using

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

2013-02-19 Thread Reindl Harald
Am 19.02.2013 19:19, schrieb Gordan Bobic: On 19/02/2013 17:48, Heinz Diehl wrote: On 19.02.2013, Reindl Harald wrote: i can not remember when the last ext3/ext4 had 512 bytes blocksize [] Most of the conventional harddisks have a sectorsize/blocksize of 512/512. All the newer and

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

2013-02-19 Thread Heinz Diehl
On 19.02.2013, Reindl Harald wrote: and why did you strip the part where i showed you that any of my filesystems of the last 5 years have a 4 KB blocksize as also any of my hardware of the last 5 years is newer? Because what you posted doesn't give any information on how your partitions are

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

2013-02-19 Thread Reindl Harald
Am 19.02.2013 19:44, schrieb Heinz Diehl: On 19.02.2013, Reindl Harald wrote: and why did you strip the part where i showed you that any of my filesystems of the last 5 years have a 4 KB blocksize as also any of my hardware of the last 5 years is newer? Because what you posted doesn't

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

2013-02-19 Thread Gordan Bobic
On 19/02/2013 18:25, Reindl Harald wrote: Am 19.02.2013 19:19, schrieb Gordan Bobic: On 19/02/2013 17:48, Heinz Diehl wrote: On 19.02.2013, Reindl Harald wrote: i can not remember when the last ext3/ext4 had 512 bytes blocksize [] Most of the conventional harddisks have a

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

2013-02-19 Thread Gordan Bobic
On 19/02/2013 18:53, Reindl Harald wrote: Am 19.02.2013 19:44, schrieb Heinz Diehl: On 19.02.2013, Reindl Harald wrote: and why did you strip the part where i showed you that any of my filesystems of the last 5 years have a 4 KB blocksize as also any of my hardware of the last 5 years is

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

2013-02-19 Thread Reindl Harald
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

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

2013-02-19 Thread 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

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

2013-02-19 Thread Reindl Harald
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

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

2013-02-19 Thread Gordan Bobic
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

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

2013-02-19 Thread Fernando Cassia
On Sat, Feb 16, 2013 at 8:53 PM, Martín Marqués martin.marq...@gmail.com wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. I have 4 partitions, all of which I have only passed /home using cp -.a If you have access to any system running

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

2013-02-19 Thread Reindl Harald
Am 19.02.2013 20:59, schrieb Gordan Bobic: 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

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

2013-02-19 Thread Reindl Harald
Am 19.02.2013 21:12, schrieb Fernando Cassia: On Sat, Feb 16, 2013 at 8:53 PM, Martín Marqués martin.marq...@gmail.com wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. I have 4 partitions, all of which I have only passed /home

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

2013-02-19 Thread Gordan Bobic
On 19/02/2013 20:15, Reindl Harald wrote: Am 19.02.2013 20:59, schrieb Gordan Bobic: 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

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

2013-02-19 Thread Reindl Harald
Am 19.02.2013 21:55, schrieb Gordan Bobic: To give you an idea, I have a 24/7 server here, with a 4GB rootfs (ext4, no journal), including /var/log, and gets yum updated reasonably regularly. It was created in May 2011, and has since then seen a grand total of 31GB of writes, according to

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

2013-02-19 Thread Gordan Bobic
On 19/02/2013 21:01, Reindl Harald wrote: Am 19.02.2013 21:55, schrieb Gordan Bobic: To give you an idea, I have a 24/7 server here, with a 4GB rootfs (ext4, no journal), including /var/log, and gets yum updated reasonably regularly. It was created in May 2011, and has since then seen a

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

2013-02-19 Thread Reindl Harald
Am 19.02.2013 22:42, schrieb Gordan Bobic: On 19/02/2013 21:01, Reindl Harald wrote: Am 19.02.2013 21:55, schrieb Gordan Bobic: To give you an idea, I have a 24/7 server here, with a 4GB rootfs (ext4, no journal), including /var/log, and gets yum updated reasonably regularly. It was

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

2013-02-19 Thread Martín Marqués
2013/2/19 Fernando Cassia fcas...@gmail.com: On Sat, Feb 16, 2013 at 8:53 PM, Martín Marqués martin.marq...@gmail.com wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. I have 4 partitions, all of which I have only passed /home using

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

2013-02-19 Thread Joe Zeff
On 02/19/2013 03:14 PM, Martín Marqués wrote: Anyway, had lots of problems with the data so I re-installed Fedora (I was able to get almost all that was in the /home directory). If you're planning to start doing backups to a flash drive, consider reformatting it to ext4. Most Linux backup

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

2013-02-19 Thread Gordan Bobic
On 02/19/2013 10:00 PM, Reindl Harald wrote: Am 19.02.2013 22:42, schrieb Gordan Bobic: On 19/02/2013 21:01, Reindl Harald wrote: Am 19.02.2013 21:55, schrieb Gordan Bobic: To give you an idea, I have a 24/7 server here, with a 4GB rootfs (ext4, no journal), including /var/log, and gets

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

2013-02-19 Thread Steve Ellis
On Tue, Feb 19, 2013 at 3:52 PM, Gordan Bobic gor...@bobich.net wrote: On 02/19/2013 10:00 PM, Reindl Harald wrote: No, my experience does not go as far back 6 years for obvious reasons. My exprience with mechanical disks, however, goes as far back as 25 years, and I can promise you, they

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

2013-02-17 Thread Heinz Diehl
On 17.02.2013, Martín Marqués wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. [] I'm a bit concerned about the root file system, how to change grub, and if I'll have trouble with non-regular files from /var. You can do that

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

2013-02-17 Thread Greg Scott
The rsync approach Heinz suggests also has the advantage that you can change the size of your new partitions in the target system. The other block copying approaches would need either identically sized partitions or physical disks. - Greg -- users mailing list users@lists.fedoraproject.org

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

2013-02-17 Thread Eddie G. O'Connor Jr.
On 02/17/2013 03:30 AM, Heinz Diehl wrote: On 17.02.2013, Martín Marqués wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. [] I'm a bit concerned about the root file system, how to change grub, and if I'll have trouble with

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

2013-02-17 Thread Joe Zeff
On 02/16/2013 04:36 PM, doug wrote: There is a Linux program called Clonezilla which is supposed to be able to clone disks. I've used it several times across the years with excellent results. Not only can it clone a disk, it can also expand partitions on the fly if the new disk is bigger

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

2013-02-17 Thread Reindl Harald
Am 17.02.2013 20:59, schrieb Eddie G. O'Connor Jr.: On 02/17/2013 03:30 AM, Heinz Diehl wrote: On 17.02.2013, Martín Marqués wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. [] I'm a bit concerned about the root file system,

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

2013-02-17 Thread Heinz Diehl
On 17.02.2013, Eddie G. O'Connor Jr. wrote: Just curious, will this apply to moving /_everything _/over from a smaller drive to a bigger one?...likesay from a 320GB SATA HDD to a 500GB SATA HDD?will the OS automatically be able to identify and recognize the free space on the new

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

2013-02-17 Thread Heinz Diehl
On 17.02.2013, Reindl Harald wrote: if wouldn't do this and stick with dd / disk images and use gparted to resize partitions because if i clone machines i want to have all UUID's the same You can easily change/tailor your UUIDs with tools like tune2fs, xfs_admin etc.. The dd approach has a

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

2013-02-17 Thread Reindl Harald
Am 17.02.2013 22:03, schrieb Heinz Diehl: On 17.02.2013, Reindl Harald wrote: if wouldn't do this and stick with dd / disk images and use gparted to resize partitions because if i clone machines i want to have all UUID's the same You can easily change/tailor your UUIDs with tools like

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

2013-02-17 Thread Eddie G. O'Connor Jr.
On 02/17/2013 03:04 PM, Reindl Harald wrote: Am 17.02.2013 20:59, schrieb Eddie G. O'Connor Jr.: On 02/17/2013 03:30 AM, Heinz Diehl wrote: On 17.02.2013, Martín Marqués wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. [] I'm

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

2013-02-17 Thread Jatin K
On Sunday 17 February 2013 05:23 AM, Martín Marqués wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. I have 4 partitions, all of which I have only passed /home using cp -.a I'm a bit concerned about the root file system, how to change

copy full system from old disk to a new one

2013-02-16 Thread Martín Marqués
How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. I have 4 partitions, all of which I have only passed /home using cp -.a I'm a bit concerned about the root file system, how to change grub, and if I'll have trouble with non-regular files from

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

2013-02-16 Thread Mark LaPierre
On 02/16/2013 06:53 PM, Martín Marqués wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. I have 4 partitions, all of which I have only passed /home using cp -.a I'm a bit concerned about the root file system, how to change grub, and if

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

2013-02-16 Thread doug
On 02/16/2013 06:53 PM, Martín Marqués wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. I have 4 partitions, all of which I have only passed /home using cp -.a I'm a bit concerned about the root file system, how to change grub, and if

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

2013-02-16 Thread Reindl Harald
Am 17.02.2013 01:36, schrieb doug: On 02/16/2013 06:53 PM, Martín Marqués wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. I have 4 partitions, all of which I have only passed /home using cp -.a I'm a bit concerned about the root

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

2013-02-16 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/17/2013 09:03 AM, Reindl Harald wrote: Am 17.02.2013 01:36, schrieb doug: On 02/16/2013 06:53 PM, Martín Marqués wrote: How can I pass my whole system from an old SATA disk (which is giving me some trouble) to a new disk. I have 4

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

2013-02-16 Thread jdow
On 2013/02/16 17:08, Gregory Hosler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/17/2013 09:03 AM, Reindl Harald wrote: Am 17.02.2013 01:36, schrieb doug: On 02/16/2013 06:53 PM, Martín Marqués wrote: How can I pass my whole system from an old SATA disk (which is giving me

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

2013-02-16 Thread Michael D. Setzer II
On 16 Feb 2013 at 20:53, Martín Marqués wrote: Date sent: Sat, 16 Feb 2013 20:53:15 -0300 Subject:copy full system from old disk to a new one From: Martín Marqués martin.marq...@gmail.com To: Community support for Fedora users