• About
  • Manuals
  • Network
Confessions of a FreeBSD hacker Various tips & tricks about computers in general and FreeBSD in particular
Confessions of a FreeBSD hacker

Tag Archives: Zfs

iSCSI: Migrating from istgt to ctld

February 7, 2016 23:16 / Leave a Comment / Magnus Strahlert

Deciding to upgrade my NAS from FreeBSD 9.2-RELEASE to 10.2-RELEASE, I wanted to try out the new native iSCSI initiator. As my iSCSI-network is physically separated by vlan I don’t bother with chap-authentication. I allow the entire network connect to the presented targets. The only part of the config previously used in istgt that couldn’t … Read More →

Posted in: FreeBSD, VMware, ZFS / Tagged: esxi, freebsd, iscsi, lun, vmware, zfs

Expanding a zpool and adding ZIL (log) and L2ARC (cache)

February 22, 2013 23:55 / Leave a Comment / Magnus Strahlert

As the nas zpool responsible for storing media and documents have been growing out of its space lately it was time to do something about it. This is how it looked previously. # zpool list san NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT san 3.62T 2.93T 710G 80% 1.00x ONLINE – # zpool status … Read More →

Posted in: FreeBSD, ZFS / Tagged: freebsd, mirror, raid, ssd, zfs, zpool

Installing FreeBSD 9.1 using root on ZFS and GPT disks

February 1, 2013 23:38 / Leave a Comment / Magnus Strahlert

This is partly based on the excellent guide at http://daemon-notes.com/articles/system/install-zfs/begin. Boot with FreeBSD 9.1 installer and select Live CD when the installer starts. Identify the disks you want to install to. SATA disks are named /dev/adaX and USB pendrives and SCSI drives are named /dev/daX. dmesg|egrep (ada|da) Of which output could look like this: da0 … Read More →

Posted in: FreeBSD, ZFS / Tagged: freebsd, gpt, install, zfs, zpool, zroot

Copying a ZFS volume across a server

April 22, 2012 16:04 / Leave a Comment / Magnus Strahlert

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 →

Posted in: ZFS / Tagged: cross-server, snapshot, ssh, volumes, zfs

Setting up iSCSI

March 4, 2012 16:23 / Leave a Comment / Magnus Strahlert

Should operate on a physical separate lan and VLAN 200 has been set aside for this. Server Install net/istgt from ports and set istgt_enable=”YES” in /etc/rc.conf. iSCSI uses an addressing scheme called iqn which is built up by the reverse domainname along with the founding date. In this case the address is iqn.2004-06.net.strahlert.home /usr/local/etc/istgt/auth.conf Set … Read More →

Posted in: FreeBSD / Tagged: freebsd, iscsi, virtualbox, zfs

Post Navigation

1 2 Next »

Recent Posts

  • Takeaways utilising VFIO in a KVM virtual guest
  • Converting VM from ESXi to KVM with iSCSI storage
  • Deploying oVirt in self-hosted mode
  • Ansible playbook for handling perl on FreeBSD
  • iSCSI: Migrating from istgt to ctld

Tags

ansible backup carp chroot cluster cross-server esxi freebsd ftp ftpchroot gpt grub hast install iscsi kvm linux lun lvm mirror network nfs nfsroot ovirt pxe raid ramdrive raspberrypi snapshot ssd ssh terminalserver usb vfio virtio virtualbox vlan vmware volumes winxp zfs zpool zroot

Archives

  • July 2019
  • March 2018
  • February 2018
  • July 2017
  • February 2016
  • January 2015
  • August 2014
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • September 2012
  • July 2012
  • April 2012
  • March 2012
  • November 2011
  • August 2011

Recent Comments

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    © Copyright 2013-2016 - Magnus Strahlert
    Infinity Theme by DesignCoral / WordPress