ich möchte meine Platten gegen Größere ersetzen, allerdings vorher noch ein Image mit dd von dem System ziehen.
funzt das denn auch mit einem md0 anstatt hdxx ?
> normale klappt das ja so:
1. Image erstellen:
dd if=/dev/hda of=/mnt/xyz/myimage.img
2. Image zurückschreiben
dd if=/mnt/xyz/myimage.img of=/dev/hda
mein system liegt ja auf der md0 würde heißen ich zieh ein image vom md0 oder ist das quatsch?
>
und vor allem wie würde ich das image auf die md0 zurückbringen ?
funzt das denn auch mit einem md0 anstatt hdxx ?
> normale klappt das ja so:
1. Image erstellen:
dd if=/dev/hda of=/mnt/xyz/myimage.img
2. Image zurückschreiben
dd if=/mnt/xyz/myimage.img of=/dev/hda
mein system liegt ja auf der md0 würde heißen ich zieh ein image vom md0 oder ist das quatsch?
>
und vor allem wie würde ich das image auf die md0 zurückbringen ?
Code:
fdisk -l
Disk /dev/hdb: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 113 907641 82 Linux swap / Solaris
/dev/hdb2 * 114 14596 116334697+ fd Linux raid autodetect
Disk /dev/hdc: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 113 907641 82 Linux swap / Solaris
/dev/hdc2 114 14596 116334697+ fd Linux raid autodetect
Disk /dev/md0: 119.1 GB, 119126622208 bytes
2 heads, 4 sectors/track, 29083648 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Device Boot Start End Blocks Id System