Author Archives: jacob

ZFS Cant rm: No space left on device

If you completely fill up a zfs pool, it wont let you delete files on it. What you CAN do, is pick a scapegoat file to wipe out or remove a snapshot. Then you will be able to use the rm command. what I did: # df -h Filesystem     Size    Used   Avail Capacity  Mounted on themirror       39G     39G      [...]
Posted in FreeBSD8, ZFS | Tagged , , , | Leave a comment

FreeBSD error in /boot/loader.conf

While experimenting with ZFS in FreeBSD, I made some tweaks to the vk.kmem_size variable in /boot/loader.conf. when setting it like this: #/boot/loader.conf vm.kmem_size="1024" everything worked, but I wanted to see what would happen if i doubled it. Unfortunately, setting vm.kmem_size to 2048 kept the FreeBSD kernel from booting. At startup it would just do this: panic: kmem_suballoc: bad status [...]
Posted in FreeBSD8 | Tagged | 1 Comment

Debian eth0, eth1, eth2, in Virtualbox or VMware Virtual machines when copying

Debian uses udev. Udev handles mapping MAC’s to the appropriate /dev/eth(X) file. If you copy a Virtual machine, Udev will remember the MAC address of the old NIC. When you copy the machine, the virtual host usually generates a new MAC address for the VM. Udev will assign the new Device to eth1, eth2, and so [...]
Posted in Debian Etch, Networking | Tagged , , | 1 Comment

Windows 32 (x86) or 64 (AMD64) detection in batch files

While there are a lot of ways to detect for a 64 bit version of windows. you can test for %programFiles(x86)%, but handling the output and writing the IF comparisons is messy. In Batch files, you can easily check for architecture by using the “processor_architecture” variable. x86 versions of windows will have this set to “x86″, [...]
Posted in windows | Tagged , , , , | Leave a comment