Commit Graph

315 Commits

Author SHA1 Message Date
Brian Behlendorf 3275bca123 Refresh autogen products 2009-11-02 14:19:27 -08:00
Brian Behlendorf 5981947b63 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-11-02 14:16:50 -08:00
Brian Behlendorf bed1e1bfde Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-11-02 14:16:09 -08:00
Brian Behlendorf 15098d4fd1 Add missing os-sanity.sh test script to package. 2009-11-02 14:10:46 -08:00
Brian Behlendorf 31a5ad7c9d Add missing zconfig.sh test script to package. 2009-11-02 14:09:23 -08:00
Brian Behlendorf b41cecfda1 Refresh autogen products 2009-10-27 15:07:31 -07:00
Brian Behlendorf d34108ca05 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-10-27 15:04:33 -07:00
Brian Behlendorf 98e0ea6e3e Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-10-27 15:03:51 -07:00
Brian Behlendorf 008f3a42bb Added zpios-sanity.sh script to validate common configurations.
This script was added to provide a simple way to check that zpool
layers correctly on all the standard linux block device types.
It's still a little fragile if there a hiccup in say the md or
lvm tool chain but aside from that it works well.

The 'make check' target now also calls this script in a safe mode
which only operates on files and loopback devices.  To check other
block devices types is must be explicitly run by hand because it
will overwrite various block devices.
2009-10-27 14:33:27 -07:00
Brian Behlendorf 2d70e6fd91 Update scripts to cleanup better when setup failures occur 2009-10-27 14:31:31 -07:00
Brian Behlendorf bc3183067e Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-10-26 10:50:10 -07:00
Brian Behlendorf 753a45822f Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-10-26 10:49:35 -07:00
Brian Behlendorf 6d103301db Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-10-26 10:48:14 -07:00
Brian Behlendorf 5fbb2c1c4e Test configs for md, dm, and ramdisk style block devices
For the sake of completeness we need to validate everything works
well not just on IDE or SCSI drives.  But we need to verify a
zpool configured on top of the Linux virtual block devices.
These scripts simply that testing process, and have shown that
while everything is good on top of a ram disk.  Right now the
code base panics the kernel when layered on top of either an
md or dm style device.  For the moment don't do that.
2009-10-26 10:41:06 -07:00
Brian Behlendorf f11e5e26e2 Refresh autogen products 2009-10-23 12:34:20 -07:00
Brian Behlendorf 8a119a354a Add -f force option to zpios.sh it is passed on to zpool-create.sh 2009-10-23 11:56:15 -07:00
Brian Behlendorf 6d9d2f83b3 Udev rule was a little to broad include the -lun0 in the pattern. 2009-10-23 11:49:08 -07:00
Brian Behlendorf e8856c2879 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-10-21 12:04:42 -07:00
Brian Behlendorf b1d8d8fef9 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-10-21 12:04:21 -07:00
Brian Behlendorf b2f7632187 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-10-21 12:03:33 -07:00
Brian Behlendorf 5bf14d3400 Update zpool-configs to be udev aware.
To simplify creation and management of test configurations the
dragon and x4550 configureis have been integrated with udev.  Our
current best guess as to how we'll actually manage the disks in
these systems is with a udev mapping scheme.  The current leading
scheme is to map each drive to a simpe <CHANNEL><RANK> id.  In
this mapping each CHANNEL is represented by the letters a-z, and
the RANK is represented by the numbers 1-n.  A CHANNEL should
identify a group of RANKS which are all attached to a single
controller, each RANK represents a disk.  This provides a nice
mechanism to locate a specific drive given a known hardware
configuration.  Various hardware vendors use a similar scheme.

A nice side effect of these changes is it allowed me to make
the raid0/raid10/raidz/raidz2 setup functions generic.  This
makes adding new test configs easy, you just need to create
a udev rules file for your test config which conforms to the
naming scheme.
2009-10-21 11:38:51 -07:00
Brian Behlendorf 69c211131d Refresh autogen products 2009-10-15 16:46:45 -07:00
Brian Behlendorf d1e18d0e3b Refresh autogen products 2009-10-14 16:00:33 -07:00
Brian Behlendorf 00c6a706a5 Refresh autogen products 2009-10-09 16:46:19 -07:00
Brian Behlendorf b04c6f54b9 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-10-09 15:46:16 -07:00
Brian Behlendorf cd82cb1836 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-10-09 15:45:30 -07:00
Brian Behlendorf 90b0761a16 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-10-09 15:43:37 -07:00
Brian Behlendorf e0e0f0ea84 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-10-09 15:43:33 -07:00
Brian Behlendorf 5c36312909 Script update-zfs.sh updated to include libefi library 2009-10-09 15:37:29 -07:00
Brian Behlendorf 223aac31be Refresh autogen products. 2009-10-06 12:32:47 -07:00
Brian Behlendorf 4f89a1ce7a Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-10-06 12:31:09 -07:00
Brian Behlendorf a4a2726d2a Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-10-06 12:29:44 -07:00
Brian Behlendorf e22d671281 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-10-06 12:26:00 -07:00
Brian Behlendorf 5d4c60fabe Use alternate /etc/zfs/zpool.cache file for in-tree tests
Pass an alternate location via module option for the zpool.cache file
used by the kernel.  This allows us to write in-tree tests which do
not modify any out-of-tree files we do not own.  This is just standard
good behavior for any test suite.

Additionally, refine the existing test case to explicity use the cache
file when looking for pools to import.  And add a second test cache
which is forced to probe the disks for available pools to import.
2009-10-06 12:12:05 -07:00
Brian Behlendorf 8bc91a2ae6 Refresh autogen products 2009-10-01 17:11:35 -07:00
Brian Behlendorf 93f4668b9e Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-10-01 17:10:24 -07:00
Brian Behlendorf e02d23d347 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
Conflicts:

	scripts/Makefile.am
2009-10-01 17:09:38 -07:00
Brian Behlendorf 8d3df842d1 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch
Conflicts:

	scripts/Makefile.am
2009-10-01 17:05:55 -07:00
Brian Behlendorf 0efea24e73 Add zconfig.sg test script.
This is an initial script for validation of zfs/zpool configuration.
For now there is only one test here to ensure that /etc/zfs/zpool.cache
is being updated properly from the kernel module.  Additional tests
should be added, I believe Richardo said there was an existing test
suite out there which validated the behavior of many zpool/zfs commands.
It would be nice to add that as appropriate.
2009-10-01 16:55:34 -07:00
Brian Behlendorf 3bf69e0905 Refresh autogen products 2009-08-18 14:59:40 -07:00
Brian Behlendorf 639e2364bf Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-18 14:55:22 -07:00
Brian Behlendorf af90397fbc Move ZPIOS chunk to linux-zpios topic branch 2009-08-18 14:48:25 -07:00
Brian Behlendorf aeef1cf6e9 Refresh autogen products 2009-08-18 14:45:04 -07:00
Brian Behlendorf 92bb246ab4 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-18 14:22:55 -07:00
Brian Behlendorf cd710627dd Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-08-18 14:21:47 -07:00
Brian Behlendorf 147adbe815 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-08-18 14:18:40 -07:00
Brian Behlendorf 5b4a08d0f4 Move ZPIOS chunk to linux-zpios topic branch 2009-08-18 14:06:05 -07:00
Brian Behlendorf ddda617645 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-18 10:51:30 -07:00
Brian Behlendorf 38f5d8fd54 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-08-18 10:51:10 -07:00
Brian Behlendorf 48dae5b818 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-08-18 10:50:17 -07:00