← Back to team overview

sslug-teknik team mailing list archive

Re: Udskiftning af RAID-disk

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 16 Apr 2009 18:49:31 +0200
Jon Bendtsen <bendtsen@xxxxxxx> wrote:

> 
> 	fdisk -l $olddisk
> 	fdisk $newdisk
> lav samme partition layout
> 
Ovenstående kan koges ned til:
gamle fungerende disk
sfdisk -d /dev/[s|h]d[a..z] > part_table
nye disk
sfdisk /dev/[s|h]d[a..z] < part_table

se man sfdisk

- -- 
Hilsen/Regards
Michael Rasmussen
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
A computer is like air conditioning: it becomes useless when you open
windows.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknnhkAACgkQVErYVePoCRfZ1wCdHTbSLg3Og21dPKU75l+7hWH0
3awAnA22A++2B652lLyMrvzhTTfy5FdC
=KscD
-----END PGP SIGNATURE-----

Follow ups

References