First power off machine in vbox. Then use the “Export Appliance” from the “File” menu. Change filename to .ovf Leave checkboxes unchecked (no 0.9 compliance and no mf file) The disk needs to be cloned as the user running VirtualBox in order to undo thin provisioning. To find out the UUID of the disk, do … Read More →
Author Archives: Magnus Strahlert
Copying a ZFS volume across a server
Take a snapshot of the volume on source server: root@source# zfs snapshot zfs_dataset/volume@now Send the snapshot to the target server. Target zfs_dataset can be different: root@source# zfs send zfs_dataset/volume@now | ssh target zfs recieve zfs_dataset/volume@now Clone the snapshot with the supposed name of the new volume zfs clone zfs_dataset/volume@now zfs_dataset/clone Promote it, in effect switching … Read More →
Migrating virtualbox storage from local disk to iSCSI
Turn off the virtual machine, preferably by logging in and do a clean shutdown or if not possible VBoxManage controlvm <machine> poweroff Add another disk VBoxManage storageattach <machine> –storagectl “SATA Controller” –port 1 –type hdd –medium iscsi –server 192.168.100.13 –target “iqn.2004-06.net.strahlert.home:L1” Boot the machine by FreeBSD 9.0 Install and start a Rescue Live shell dd … Read More →
Protected: VLAN’s
There is no excerpt because this is a protected post.
Setting up a mirror through geom on a GPT labeled disk
Synchronise the disklayout gpart backup ada0 > /tmp/ada0.gpt gpart restore -F /dev/ada1 < /tmp/ada0.gpt Check that everything went as expected. gpart show Add the geom kernel module as loaded on startup echo ‘geom_mirror_load=”YES”‘ >> /boot/loader.conf Add bootcode to the second disk gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 /dev/ada1 Reboot into single-user mode. Then … Read More →
Recent Comments