Thursday, November 21, 2013

FreeNAS ZFS Planned HD Upgrade to Increase Volume Size

I have a production environment and want to increase the size of my existing ZFS volume in FreeNAS without increasing the total number of drives.

The below process will allow you to increase the size of your ZFS volume.  This must be done one drive at a time and assumes you have a working/production environment. You must have the same number of drives (in a larger size) that you are currently using in the volume.

This process will not work on a stripped volume.  The volume must be mirrored or using a parity scheme (RAIDZ1, RAIDZ2 or RAIDZ3).
  1. Record serial numbers, drive names (under View Disks) and physical location of each drive in the storage device.
  2. Select Storage, Active Volumes and Scrub Volume.  This process will take some time and is not required but recommended.
  3. Under Volume Status, select the first HD that you want to replace.  Select Offline button at bottom.  You will notice the drive status has changed to offline and the status of the Volume is degraded.
  4. Remove the offline HD.  DO NOT remove more than the one offline drive!
  5. Replace with larger or equal capacity HD.
  6. Under View Disks, perform quick wipe of new HD.
  7. Under Volume Status, select the disk you want to replace.  It will be in the same location as the drive you removed and have a long string on numbers for the name. Select Replace at bottom of screen.
  8. Select Storage, Active Volumes and Scrub Volume.
  9. New/increased volume size will be reflected.

Wednesday, November 20, 2013

Wipe MBR

How do you wipe the MBR of a HD or USB stick?

LSI HBA Firmware & BIOS Upgrade

How to upgrade LSI HBA firmware and BIOS

  1. Download from LSI website.
  2. Copy files on to bootable USB drive.
  3. From DOS prompt run: sas2flsh.exe -o -e 6
  4. This will erase existing firmware on card and must be done prior to IR to IT conversion.
  5. Run: sas2flash.exe -o -f FIRMWAREFILENAME -b BIOSFILENAME
  6. This will flash card with firmware and bios.  Must include bios do not just do firmware.
  7. Run: sas2flsh.exe -list
  8. This will list information about card.
  9. Done

Note:  For use in FreeNAS or similar NAS software, the LSI card must be in IT mode.  Also consider changing Boot Support, under adapter properties, to Disabled.  This will prevent the drives to be used as bootable devices.