freebsd-dev/scripts
Brian Behlendorf 3fce1d0962 Update zconfig.sh to use new zvol names
This change should have occured when we commited the new udev
rules for zvols.  Basically, the test script is just out of date.
We need to update it to use the /dev/zvol/ device names, and
to expect the more common -partN suffixes.

I added a udev_trigger() call in zconfig_partition() and
zconfig_zvol_device_stat() to ensure that all the udev rules have
run before.  This ensures the devices are available to subsequent
commands and closes a small race.

Finally, I was forced added a small 'sleep 1' to test 10.  I
was observing occassional failures in my VM due to the device
still claiming to be busy.  Delaying betwen the various methods
of adding/removing a vdev avoids the issue.

Closes #207
2011-04-19 16:33:41 -07:00
..
zpios-profile Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
zpios-test Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
zpool-config Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
zpool-layout Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
common.sh.in Call udevadm trigger more safely 2011-04-05 13:00:51 -07:00
Makefile.am Remove spl/zfs modules as part of cleanup 2010-11-11 11:40:06 -08:00
Makefile.in Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
zconfig.sh Update zconfig.sh to use new zvol names 2011-04-19 16:33:41 -07:00
zfault.sh Remove partition from vdev name in zfault.sh 2010-11-29 10:53:53 -08:00
zfs.sh Update 'zfs.sh -u' to umount all zfs filesystems 2011-02-16 11:10:31 -08:00
zpios-sanity.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpios-survey.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpios.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpool-create.sh Add build system 2010-08-31 13:41:27 -07:00