Lines Matching refs:LUN0

93 		LUN0=/dev/da0
100 LUN0=/dev/sdb
122 if [ -n "$LUN0" ]; then
123 echo "scratch disks $LUN0, $LUN1, $LUN2, $LUN3."
212 [ ! -e LUN0 ] || die "$LUN0 already exists"
239 [ -e $LUN0 ] || die "$LUN0 doesn't exist"
248 [ ! -e LUN0 ] || die "$LUN0 already exists"
275 [ -e $LUN0 ] || die "$LUN0 doesn't exist"
299 LUN0=`iscsiadm list target -S | awk '/OS Device Name/ { print $4 }' | sed -n 1p`
301 LUN0=`echo ${LUN0}2 | sed 's/rdsk/dsk/'`
303 [ -n "$LUN0" -a -n "LUN1" ] || die "attach failed"
304 echo "Scratch disks: $LUN0, $LUN1"
334 check newfs $LUN0
338 check fsck -t ufs $LUN0
346 check zpool create -f $ZFSPOOL $LUN0 $LUN1 $LUN2 $LUN3
352 yes | check mkfs $LUN0
356 check fsck -f $LUN0
364 check mkfs.btrfs $LUN0 $LUN1 $LUN2 $LUN3
370 yes | check newfs $LUN0
372 check fsck -F ufs $LUN0
378 check zpool create -f $ZFSPOOL $LUN0 $LUN1
406 check newfs $LUN0
407 check mount -t ufs $LUN0 $MNTDIR
411 check fsck -t ufs $LUN0
412 check mount -t ufs $LUN0 $MNTDIR
416 check zpool create -f $ZFSPOOL $LUN0 $LUN1 $LUN2 $LUN3
424 yes | check mkfs $LUN0
425 check mount $LUN0 $MNTDIR
429 check fsck -f $LUN0
430 check mount $LUN0 $MNTDIR
434 check mkfs.btrfs $LUN0 $LUN1 $LUN2 $LUN3
435 check mount $LUN0 $MNTDIR
439 check mount $LUN0 $MNTDIR
444 yes | check newfs $LUN0
445 check mount -F ufs $LUN0 $MNTDIR
449 check fsck -yF ufs $LUN0
450 check mount -F ufs $LUN0 $MNTDIR
454 check zpool create -f $ZFSPOOL $LUN0 $LUN1
471 check newfs $LUN0
472 check mount -t ufs $LUN0 $MNTDIR
478 check fsck -t ufs $LUN0
480 check zpool create -f $ZFSPOOL $LUN0 $LUN1 $LUN2 $LUN3
488 yes | check mkfs $LUN0
489 check mount $LUN0 $MNTDIR
495 check fsck -f $LUN0
497 check mkfs.btrfs $LUN0 $LUN1 $LUN2 $LUN3
498 check mount $LUN0 $MNTDIR
506 yes | check newfs $LUN0
507 check mount -F ufs $LUN0 $MNTDIR
513 check fsck -yF ufs $LUN0
515 check zpool create -f $ZFSPOOL $LUN0 $LUN1
532 check newfs $LUN0
533 check mount -t ufs $LUN0 $MNTDIR
538 check fsck -t ufs $LUN0
540 check zpool create -f $ZFSPOOL $LUN0 $LUN1 $LUN2 $LUN3
547 yes | check mkfs $LUN0
548 check mount $LUN0 $MNTDIR
553 check fsck -f $LUN0
555 check mkfs.btrfs $LUN0 $LUN1 $LUN2 $LUN3
556 check mount $LUN0 $MNTDIR
563 yes | check newfs $LUN0
564 check mount -F ufs $LUN0 $MNTDIR
569 check fsck -yF ufs $LUN0
571 check zpool create -f $ZFSPOOL $LUN0 $LUN1
588 check newfs $LUN0
589 check mount -t ufs $LUN0 $MNTDIR
594 check fsck -t ufs $LUN0
596 check zpool create -f $ZFSPOOL $LUN0 $LUN1 $LUN2 $LUN3
603 yes | check mkfs $LUN0
604 check mount $LUN0 $MNTDIR
609 check fsck -f $LUN0
611 check mkfs.btrfs $LUN0 $LUN1 $LUN2 $LUN3
612 check mount $LUN0 $MNTDIR
619 yes | check newfs $LUN0
620 check mount -F ufs $LUN0 $MNTDIR
625 check fsck -yF ufs $LUN0
627 check zpool create -f $ZFSPOOL $LUN0 $LUN1
640 check newfs $LUN0
641 check mount -t ufs $LUN0 $MNTDIR
654 check fsck -t ufs $LUN0
656 check zpool create -f $ZFSPOOL $LUN0 $LUN1 $LUN2 $LUN3
672 yes | check mkfs $LUN0
673 check mount $LUN0 $MNTDIR
686 check fsck -f $LUN0
688 check mkfs.btrfs $LUN0 $LUN1 $LUN2 $LUN3
689 check mount $LUN0 $MNTDIR
705 yes | check newfs $LUN0
706 check mount -F ufs $LUN0 $MNTDIR
719 check fsck -yF ufs $LUN0
721 check zpool create -f $ZFSPOOL $LUN0 $LUN1 $LUN2 $LUN3