Date: Sun, 24 Aug 2008 18:05:07 +0200 From: Sasa Stupar <sasa@stupar.homelinux.net> To: freebsd-questions@freebsd.org Subject: Cloning a gmirrored hard drive Message-ID: <48B186B3.4030803@stupar.homelinux.net>
next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms040608080103040706010601 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! My situation: I have a server with FBSD 7 installed with two 40 GB disks in RAID 1 (gmirror) config. Now I have noticed the lack of space on the drive so I am thinking to change these disks for two 160 GB. What is the best way to clone the main hard disk in raid 1 config? Is this possible or is it better to switch back from RAID 1 to single disk system and then do cloning with dump/restore (or dd) and then make RAID 1 again? Regards, Sasa -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkixhrMACgkQNT6IH6ilQwipWgCfV8ij/9WF9/G3NKWmiS2hccRu +bUAniDXI+FYSKFB/r9UJKs/qb4Fn0i/ =2E5k -----END PGP SIGNATURE----- --------------ms040608080103040706010601 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJWzCC AwgwggJxoAMCAQICECC9NHoKDAlYBPO2Lgno5sswDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDgwNTA2NDkwOFoX DTA5MDgwNTA2NDkwOFowRzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlc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BDEWBBR7sd3aDDPbeL5Mrvdi27iJffehMjBSBgkqhkiG9w0BCQ8x RTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUrDgMC BzANBggqhkiG9w0DAgIBKDCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYDVQQGEwJaQTElMCMG A1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBl cnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECECC9NHoKDAlYBPO2Lgno5sswgYcGCyqGSIb3 DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vpbmcg Q0ECECC9NHoKDAlYBPO2Lgno5sswDQYJKoZIhvcNAQEBBQAEggEAO+0zUu9PRAgctfeLpU60 BMmCbsgeCLnxC+3WFiXd7TR5Wxftpdpe1jt9xG0oyG9r3zr7Vll4bbdHZt2aBPc3SZZd5xa5 K5ZMOO3kLBvV400KA9uUGud26Ph4DMorDSzE2TExr75jFx+D2Nqt+tlJ541mo22eyyHtnrPr VGT3VUQANHnq7rwp/E7MYfuii6jngdLxQ9Ex6VOyYhGkTlUtX0bj2kNKRxlAXKbEzn1UEHRz nl8hrSXguAfestZt5CjwLZZyYntQEF4GiMdekD6NoruLCtO70heSBxNQx9DaQztjbGK7eZs3 nGngjut/n4fzmtexVeCY8lduXVWb0AKaQAAAAAAAAA== --------------ms040608080103040706010601--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B186B3.4030803>