Tuesday, August 24, 2010

sawtooth like data transmission

To improve performance it was mentioned to disable autotuning in Windows
(source: http://www.curuit.com/disable-tcp-auto-tuning-to-solve-slow-network-%28vista-%10-windows-7-%10-windows-2008%29-20070621145/)

The answer was to turn off tcp autotuning by running a cmd prompt as administrator & entering netsh tcp interface set global autotuning=disabled.

Saturday, June 26, 2010

zdb command

Typing “zdb” with no arguments produces a list of pools and the storage devices they are using. Its a quick way to find out the serial number of a drive in a zpool

Tuesday, February 9, 2010

ZFS Raid10

Creating a Mirrored Storage Pool

To create a mirrored pool, use the mirror keyword, followed by any number
of storage devices that will comprise the mirror. Multiple mirrors can be
specified by repeating the mirror keyword on the command line. The
following command creates a pool with two, two-way mirrors:

# zpool create tank mirror c1d0 c2d0 mirror c3d0 c4d0

The second mirror keyword indicates that a new top-level virtual device is
being specified. Data is dynamically striped across both mirrors, with data
being replicated between each disk appropriately.

Saturday, February 6, 2010

ZFS snapshot

machine0$ zfs snapshot mypool/myfs@now
machine0$ zfs send mypool/myfs@now > myfile
machine1$ zfs receive anotherpool/anotherfs@anothersnap < myfile

machine0$ zfs send mypool/myfs@now | ssh machine1 zfs receive anotherpool/anotherfs@anothersnap

Remove snapshot
zfs list -H -t snapshot
zfs destroy extra/backup@now