/titanic_52/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_007_neg.ksh | 48 disk=$DISK 50 disk=$DISK0 55 "-R $TESTDIR $TESTPOOL" "-m nodir $TESTPOOL $disk" \ 56 "-R nodir $TESTPOOL $disk" "-m nodir -R nodir $TESTPOOL $disk" \ 57 "-R nodir -m nodir $TESTPOOL $disk" "-R $TESTDIR -m nodir $TESTPOOL $disk" \ 58 "-R nodir -m $TESTDIR $TESTPOOL $disk" \ 63 "$TESTPOOL mirror c?t?d?" "$TESTPOOL mirror $disk c0t1d?" \ 64 "$TESTPOOL RAIDZ ${disk} [all...] |
H A D | zpool_create_001_pos.ksh | 57 typeset disk="" 58 for disk in $DISK0 $DISK1; do 59 partition_disk $SIZE $disk 7 73 typeset disk="" 75 disk=$DISK 77 disk=$DISK0 79 create_blockfile $FILESIZE $TESTDIR0/$FILEDISK0 ${disk}s${SLICE5} 80 create_blockfile $FILESIZE $TESTDIR1/$FILEDISK1 ${disk}s${SLICE6} 82 pooldevs="${disk}s${SLICE0} \ 83 /dev/dsk/${disk} [all...] |
H A D | zpool_create_008_pos.ksh | 51 log_must $ZPOOL create -f $TESTPOOL ${disk}s${SLICE0} 68 create_pool $TESTPOOL $disk 71 partition_disk $SIZE $disk 6 75 # create overlap slice 0 and 1 on $disk 80 typeset disk=$1 98 $FORMAT -e -s -d $disk -f $format_file 116 disk=$DISK 118 disk=$DISK0 123 # Make the disk is EFI labeled first via pool creation 124 create_pool $TESTPOOL $disk [all...] |
H A D | zpool_create_011_neg.ksh | 61 partition_disk $SIZE $disk 6 68 disk=$DISK 70 disk=$DISK0 72 pooldev1=${disk}s${SLICE0} 73 pooldev2=${disk}s${SLICE1} 74 mirror1="${disk}s${SLICE1} ${disk}s${SLICE3}" 75 mirror2="${disk}s${SLICE4} ${disk}s${SLICE5}" 78 diff_size_dev="${disk} [all...] |
H A D | zpool_create_009_neg.ksh | 54 typeset disk 60 for disk in $DISKS; do 61 partition_disk $SIZE $disk 6 71 typeset disk="$DISKS" 72 (( ${#opt} == 0 )) && disk=${DISKS%% *} 74 typeset -i count=$(get_word_count $disk) 80 create_pool $TESTPOOL $opt $disk 81 log_mustnot $ZPOOL create -f $TESTPOOL1 $opt $disk 85 create_pool $TESTPOOL $opt $disk 90 log_mustnot $ZPOOL create -f $TESTPOOL $opt $disk [all...] |
H A D | zpool_create_002_pos.ksh | 65 partition_disk $SIZE $disk 6 74 disk=$DISK 76 disk=$DISK0 78 create_pool "$TESTPOOL" "${disk}s${SLICE0}" 79 log_must $ECHO "y" | $NEWFS /dev/rdsk/${disk}s${SLICE1} >/dev/null 2>&1 80 create_blockfile $FILESIZE $TESTDIR0/$FILEDISK0 ${disk}s${SLICE4} 81 create_blockfile $FILESIZE1 $TESTDIR1/$FILEDISK1 ${disk}s${SLICE5} 89 log_mustnot $ZPOOL create "$TESTPOOL1" "${disk}s${SLICE0}" 90 create_pool "$TESTPOOL1" "${disk}s${SLICE0}" 95 log_mustnot $ZPOOL create "$TESTPOOL2" "${disk} [all...] |
/titanic_52/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_offline/ |
H A D | zpool_offline_001_pos.ksh | 52 for disk in $DISKLIST; do 53 log_must $ZPOOL online $TESTPOOL $disk 54 check_state $TESTPOOL $disk "online" 56 log_fail "Unable to online $disk" 73 for disk in $DISKLIST; do 77 log_must $ZPOOL offline ${args[$i]} $TESTPOOL $disk 78 check_state $TESTPOOL $disk "offline" 80 log_fail "$disk of $TESTPOOL did not match offline state" 83 log_mustnot $ZPOOL offline ${args[$i]} $TESTPOOL $disk 84 check_state $TESTPOOL $disk "onlin [all...] |
/titanic_52/usr/src/cmd/fm/eversholt/files/common/ |
H A D | disk.esc | 27 #define P disk 34 * <disk-as-detector> The disk-as-detector DE provides the mapping between 35 * ereports generated by a kernel disk driver sd(7D) and resulting faults. 42 * ability to attempt data recovery/relocation without faulting a disk. 49 engine serd.io.scsi.cmd.disk.dev.rqs.merr@P, N=1, T=24h; 52 * disk-as-detector: fault events. 54 event fault.io.scsi.cmd.disk.dev.rqs.derr@P; 55 event fault.io.scsi.cmd.disk.dev.rqs.merr@P, 56 engine=serd.io.scsi.cmd.disk [all...] |
/titanic_52/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_online/ |
H A D | zpool_online_001_pos.ksh | 50 for disk in $DISKLIST; do 51 log_must $ZPOOL online $TESTPOOL $disk 52 check_state $TESTPOOL $disk "online" 54 log_fail "Unable to online $disk" 70 for disk in $DISKLIST; do 73 log_must $ZPOOL offline $TESTPOOL $disk 74 check_state $TESTPOOL $disk "offline" 76 log_fail "$disk of $TESTPOOL did not match offline state" 79 log_must $ZPOOL online ${args[$i]} $TESTPOOL $disk 80 check_state $TESTPOOL $disk "onlin [all...] |
/titanic_52/usr/src/test/zfs-tests/tests/functional/online_offline/ |
H A D | online_offline_001_pos.ksh | 36 # Turning a disk offline and back online during I/O completes. 40 # 2. For each disk in the mirror, set it offline and online 54 for disk in $DISKLIST; do 55 log_must $ZPOOL online $TESTPOOL $disk 56 check_state $TESTPOOL $disk "online" 58 log_fail "Unable to online $disk" 67 log_assert "Turning a disk offline and back online during I/O completes." 72 for disk in $DISKLIST; do 74 log_must $ZPOOL offline $TESTPOOL $disk 75 check_state $TESTPOOL $disk "offlin [all...] |
/titanic_52/usr/src/cmd/power/ |
H A D | sysstat.c | 91 #define DISK_DELTA(x) (disk->new_kios.x - disk->old_kios.x) 193 struct diskinfo *disk, *prevdisk, *comp; in init_disks() local 196 disk = &zerodisk; in init_disks() 207 strcmp(ksp->ks_class, "disk") != 0) { in init_disks() 210 prevdisk = disk; in init_disks() 211 if (disk->next) { in init_disks() 212 disk = disk->next; in init_disks() 214 safe_zalloc((void **)&disk in init_disks() 256 struct diskinfo *disk; diskinfo_load() local 272 struct diskinfo *disk; check_disks() local [all...] |
/titanic_52/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/ |
H A D | zpool_add_001_pos.ksh | 64 pooldevs="${disk}s${SLICE0} \ 65 /dev/dsk/${disk}s${SLICE0} \ 66 \"${disk}s${SLICE0} ${disk}s${SLICE1}\"" 67 mirrordevs="\"/dev/dsk/${disk}s${SLICE0} ${disk}s${SLICE1}\"" 68 raidzdevs="\"/dev/dsk/${disk}s${SLICE0} ${disk}s${SLICE1}\"" 93 create_pool "$TESTPOOL" "${disk}s${SLICE6}" 104 "${disk} [all...] |
/titanic_52/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fcal_leds.conf | 31 fcal-disk-driver: ssd 33 # number of disks - this must be specified before per disk definitions 41 # per disk definitions 43 # mask for presence signal: disk, mask 44 disk-present: 0, 1 45 disk-present: 1, 2 47 # mask for fault signal: disk, mask 48 disk-fault: 0, 0x10 49 disk-fault: 1, 0x20 51 # address values for specific LEDs: disk, LE [all...] |
/titanic_52/usr/src/cmd/acct/ |
H A D | acctdusg.c | 37 * and computes disk resource consumption by login 50 struct disk { struct 51 struct disk *next; /* next entry at same hash tbl index */ argument 53 blkcnt_t dsk_du; /* disk usage */ argument 62 static struct disk *usglist[MAXUSERS]; /* holds data on disk usg by uid */ argument 65 static struct disk *hash_insert(uid_t); 66 static struct disk *hash_find(uid_t); 69 static void validate_entry(struct disk *, struct passwd *); 82 struct disk *entr in main() [all...] |
/titanic_52/usr/src/cmd/format/ |
H A D | auto_sense.c | 252 struct disk_type *disk, *dp; in auto_efi_sense() local 292 * S0 takes the whole disk except the primary EFI label, in auto_efi_sense() 321 disk = (struct disk_type *)zalloc(sizeof (struct disk_type)); in auto_efi_sense() 330 dp->dtype_next = disk; in auto_efi_sense() 332 disk->dtype_next = NULL; in auto_efi_sense() 334 disk->vendor = strdup(label->vendor); in auto_efi_sense() 335 disk->product = strdup(label->product); in auto_efi_sense() 336 disk->revision = strdup(label->revision); in auto_efi_sense() 338 if (disk->vendor == NULL || in auto_efi_sense() 339 disk in auto_efi_sense() 424 struct disk_info *disk; find_disk_info() local 615 struct disk_type *disk; new_direct_disk_type() local 902 struct disk_type *disk; generic_disk_sense() local 1807 struct disk_type *disk; global() local 1958 struct disk_type *dp, *disk; global() local 2005 struct disk_info *disk; global() local [all...] |
H A D | main.c | 85 struct disk_info *disk = NULL; in main() local 176 * If there was only 1 disk on the command line, mark it in main() 177 * to be the current disk. If it wasn't found, it's an error. in main() 180 disk = disk_list; in main() 181 if (disk == NULL) { in main() 182 err_print("Unable to find specified disk '%s'.\n", in main() 188 * A disk was forced on the command line. in main() 193 * be the current disk. in main() 195 for (disk = disk_list; disk ! in main() 328 init_globals(disk) init_globals() argument [all...] |
H A D | format.dat | 28 # disks, disk types, and partition maps. 32 # Following is a list of sample embedded SCSI disk configurations. 156 : disk = "Quantum ProDrive 80S" : ctlr = SCSI \ 160 # : disk = "CDC Wren VII 94601-12G" : ctlr = SCSI \ 164 # : disk = "CDC Wren IV 94171-327" : ctlr = SCSI \ 171 : disk = "Quantum ProDrive 105S" : ctlr = SCSI \ 175 : disk = "CDC Wren IV 94171-344" : ctlr = SCSI \ 179 : disk = "CDC Wren IV 94171-344" : ctlr = SCSI \ 183 : disk = "SUN0104" : ctlr = SCSI \ 187 : disk [all...] |
/titanic_52/usr/src/cmd/picl/plugins/sun4u/boston/frudr/ |
H A D | fru_HDD5_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD5/disk 88 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD5/disk 90 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD5/disk 92 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk [all...] |
H A D | fru_HDD4_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD4/disk 88 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD4/disk 90 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD4/disk 92 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk [all...] |
H A D | fru_HDD6_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD6/disk 88 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD6/disk 90 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD6/disk 92 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk [all...] |
H A D | fru_HDD7_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD7/disk 88 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD7/disk 90 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD7/disk 92 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk [all...] |
H A D | fru_HDD0_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD0/disk 84 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD0/disk 86 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD0/disk 89 REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk [all...] |
H A D | fru_HDD1_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD1/disk 84 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD1/disk 86 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD1/disk 89 REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk [all...] |
H A D | fru_HDD2_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD2/disk 84 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD2/disk 86 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD2/disk 89 REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk [all...] |
H A D | fru_HDD3_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD3/disk 84 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD3/disk 86 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD3/disk 89 REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk [all...] |