Created a 30gb partition in the second disk(c10t0d0)
#format
choose disk1
#fdisk
========================================
Note:
If you receive the EFI label complaint
before you set-up mirror and after OS has been installed on a first
disk make sure you put SMI label on the second disk and partition it
exactly the same. Use format -e disk2 and then issue 'label' - it will
ask you if you want smi or efi label, choose smi. then do: prtvtoc
/dev/rdsk/disk1s2 | fmthard -s - /dev/rdsk/disk2s2
then, assuming your os is installed in s0 setup an mirror like:
#zpool attach rpool disk1s0 disk2s0
==========================================
# prtvtoc /dev/rdsk/c8d0s2| fmthard -s - /dev/rdsk/c10t0d0s2
fmthard: Partition 2 specifies the full disk and is not equal
full size of disk. The full disk capacity is 62492850 sectors.
fmthard: New volume table of contents now in place.
#zpool attach rpool c8d0s0 c10t0d0s0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c10t0d0s0 is part of exported or potentially active ZFS pool rpool. Please see zpool(1M).
#zpool attach -f rpool c8d0s0 c10t0d0s0
Zfs started resilvering process (check with zpool status)
Please be sure to invoke installgrub(1M) to make 'c10t0d0s0' bootable.
# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c10t0d0s0
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 271 sectors starting at 50 (abs 16115)
#
switched bootdisk and started up fine. I didn't want my mirror configuration any more so I did:
#zpool detach rpool c8d0s0
Showing posts with label Backup. Show all posts
Showing posts with label Backup. Show all posts
Sunday, August 30, 2009
Saturday, May 23, 2009
Ghost 4 Linux faster than Clonezilla
After a successful clone of my OS-disk in 75 minutes with CloneZilla I tried to do the same with Ghost 4 Linux (G4L). I used the latest version 0.30 and used similar option to clone the disk/partition: source hdb1 -> sda1. Sda1 was again attached via USB using my usb/IDE adapter.
G4L managed to clone the disk in less than 15 minutes for 20GB. So almost 4 times faster than CloneZilla.
Booting with the new cloned disk did not give any problems.
G4L managed to clone the disk in less than 15 minutes for 20GB. So almost 4 times faster than CloneZilla.
Booting with the new cloned disk did not give any problems.
Wednesday, May 20, 2009
Clonezilla to make Backup OpenSolaris Bootdisk
I wanted to check if it was possible to clone my bootdisk with Opensolaris.
I used the latest version: clonezilla-live-1.2.2-14.iso
Booted with the clonezilla CD and chose the option "device to device clone"
My OpenSolaris bootdisk partition was recognized as hdb1.
I connected the new disk using my IDE to USB adapter and this disk was called sda1
Clonezilla asked If I wanted to replace the bootsector on the target (=yes)
After giving the final approval it went off and my 20GB partition took about 75 minutes.
Replacing the original bootdisk in the server with this cloned copy booted up fine!
Hurray for Clonezilla
I used the latest version: clonezilla-live-1.2.2-14.iso
Booted with the clonezilla CD and chose the option "device to device clone"
My OpenSolaris bootdisk partition was recognized as hdb1.
I connected the new disk using my IDE to USB adapter and this disk was called sda1
Clonezilla asked If I wanted to replace the bootsector on the target (=yes)
After giving the final approval it went off and my 20GB partition took about 75 minutes.
Replacing the original bootdisk in the server with this cloned copy booted up fine!
Hurray for Clonezilla
Subscribe to:
Posts (Atom)