MDADM Cheat Sheet (2)

create a new array mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1 or… mdadm -C /dev/md0 -l1 -n2 /dev/sd[ab]1 add array to the configuration file: mdadm --detail --scan >> /etc/mdadm.conf or on debian (sigh)… mdadm --detail --scan >> /etc/mdadm/mdadm.conf can only remove failed disks from an array, so fail a disk:…

Converting between image formats

qemu-img convert: raw, qcow2, qed, vdi, vmdk, vhd The qemu-img convert command can do conversion between multiple formats, including qcow2, qed, raw, vdi, vhd, and vmdk. Image formatArgument to qemu-imgQCOW2 (KVM, Xen)qcow2QED (KVM)qedrawrawVDI (VirtualBox)vdiVHD (Hyper-V)vpcVMDK (VMware)vmdk This example will convert a raw image file named image.img to a qcow2 image file. $ qemu-img convert -f raw -O qcow2 image.img image.qcow2…

LIZARDFS

LizardFS is a distributed, scalable, fault-tolerant and highly available file system. It allows users to combine disk space located on many servers into a single name space which is visible on Unix-like and Windows systems in the same way as other file systems. LizardFS makes files secure by keeping all…
1 2 3 5