[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
Re: [LUG] transferring a disk structure to another, bigger one
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adrian Midgley wrote:
Having used dd to copy all the contents of /dev/hda to a new /dev/hdb
how do I persuade the new drive that it is much bigger?
This is part of a large upgrade, and if driven to it I'll just start from
scratch, but then I have to transfer ownership of files and IDs and so on.
Now, next question is SuSE 8.2 or SuSE 9.0. Got both.
Well, i can see a few options here..
A) Create the partitions on hdb as you want them, backup (using tar) the
contents of /dev/hda and restore the backup to hdb
B) Use LVM next time...
C) Use ext2resize
D) Start from scratch...
E) Create a load of larger partitions on the new disk, mount them as
required...
Personally I would go for option A much nicer... (and I have done it a
number of times before) Also if you use LVM you can resize the
partitions at a later date without loosing data (in theory)
dd, great for mirroring one device to another.. not too hot as a backup
tool in this situ...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/kcrCz3Av8JKgzxQRAuWVAJ44zD2zdJMNi95K1CM74Ep7X2KWXACgkikU
2Twu0f6ZRbuwrKp+lU4pBA8=
=DYO2
-----END PGP SIGNATURE-----
--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.