/titanic_50/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}s${SLICE0} ${disk}s${SLICE1}" \ 65 "$TESTPOOL ${disk}s${SLICE0} log ${disk}s${SLICE1} \ 66 log ${disk}s${SLICE3}" \ [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}s${SLICE0} \ [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 80 typeset disk=$1 98 $FORMAT -e -s -d $disk -f $format_file 116 disk=$DISK 118 disk=$DISK0 124 create_pool $TESTPOOL $disk 128 log_must labelvtoc $disk 129 log_must create_overlap_slice $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}s${SLICE6} ${disk}s${SLICE7}" 80 specified_dump_dev=${disk}s${SLICE0} 83 cyl=$(get_endslice $disk $SLICE6) [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" 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 $disk
|
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}s${SLICE1}" [all …]
|
/titanic_50/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 "online" [all …]
|
/titanic_50/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.dev.rqs.merr@P; 60 * event fault.io.scsi.cmd.disk.dev.uderr@P; [all …]
|
/titanic_50/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 "online" [all …]
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/online_offline/ |
H A D | online_offline_001_pos.ksh | 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" 72 for disk in $DISKLIST; do 74 log_must $ZPOOL offline $TESTPOOL $disk 75 check_state $TESTPOOL $disk "offline" 77 log_fail "$disk of $TESTPOOL is not offline." 81 log_must $ZPOOL online $TESTPOOL $disk 82 check_state $TESTPOOL $disk "online" [all …]
|
/titanic_50/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}s${SLICE4}" "${disk}s${SLICE5}" 115 "${disk}s${SLICE4}" "${disk}s${SLICE5}"
|
/titanic_50/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() 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->next, in init_disks() 216 disk = disk->next; in init_disks() 217 disk->next = NULLDISK; in init_disks() 219 disk->ks = ksp; in init_disks() [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fcal_leds.conf | 31 fcal-disk-driver: ssd 44 disk-present: 0, 1 45 disk-present: 1, 2 48 disk-fault: 0, 0x10 49 disk-fault: 1, 0x20 71 fcal-disk-parent: name:/platform/pci@8,600000/SUNW,qlc@4/fp@0,0 74 disk-unit-parent: name:/frutree/chassis/fcal-backplane/disk-slot?Slot= 77 disk-led-nodes: name:/platform/pci@8,700000/ebus/i2c@1,30/ioexp@0,74/disk-led@
|
/titanic_50/usr/src/cmd/acct/ |
H A D | acctdusg.c | 50 struct disk { struct 51 struct disk *next; /* next entry at same hash tbl index */ 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 *entry; in main() 137 static struct disk * 140 struct disk *curdisk; in hash_insert() 143 if ((curdisk = malloc(sizeof (struct disk))) == NULL) { in hash_insert() [all …]
|
/titanic_50/usr/src/cmd/format/ |
H A D | auto_sense.c | 252 struct disk_type *disk, *dp; in auto_efi_sense() local 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->product == NULL || in auto_efi_sense() 340 disk->revision == NULL) { in auto_efi_sense() [all …]
|
H A D | main.c | 85 struct disk_info *disk = NULL; in main() local 180 disk = disk_list; in main() 181 if (disk == NULL) { in main() 195 for (disk = disk_list; disk != NULL; disk = disk->disk_next) in main() 196 if (diskname_match(option_d, disk)) in main() 201 if (disk == NULL) { in main() 214 if (disk == NULL) { in main() 218 oldtype = disk->disk_type; in main() 223 for (type = disk->disk_ctlr->ctlr_ctype->ctype_dlist; in main() 241 disk->disk_type = type; in main() [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/boston/frudr/ |
H A D | fru_HDD4_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD4/disk 88 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD4/di… 90 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD4/di… 92 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD4/di… 95 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 97 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 99 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD4/disk 102 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD4
|
H A D | fru_HDD5_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD5/disk 88 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD5/di… 90 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD5/di… 92 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD5/di… 95 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 97 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 99 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD5/disk 102 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD5
|
H A D | fru_HDD6_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD6/disk 88 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD6/di… 90 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD6/di… 92 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD6/di… 95 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 97 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 99 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD6/disk 102 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD6
|
H A D | fru_HDD7_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD7/disk 88 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD7/di… 90 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD7/di… 92 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD7/di… 95 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 97 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 99 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD7/disk 102 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD7
|
H A D | fru_HDD2_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD2/disk 84 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD2/di… 86 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD2/di… 89 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 91 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 93 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD2/disk 96 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD2
|
H A D | fru_HDD0_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD0/disk 84 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD0/di… 86 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD0/di… 89 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 91 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 93 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD0/disk 96 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD0
|
H A D | fru_HDD1_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD1/disk 84 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD1/di… 86 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD1/di… 89 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 91 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 93 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD1/disk 96 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD1
|
H A D | fru_HDD3_data.info | 71 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD3/disk 84 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD3/di… 86 …rent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD3/di… 89 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 91 …REFPROP _location_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk… 93 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD3/disk 96 name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8/HDD3
|
/titanic_50/usr/src/cmd/devfsadm/ |
H A D | disk_link.c | 69 static void disk_common(di_minor_t minor, di_node_t node, char *disk, 144 char disk[20]; in disk_callback_chan() local 150 (void) sprintf(disk, "t%dd%d", targ, lun); in disk_callback_chan() 151 disk_common(minor, node, disk, 0); in disk_callback_chan() 160 char disk[10]; in disk_callback_nchan() local 165 (void) sprintf(disk, "d%d", lun); in disk_callback_nchan() 166 disk_common(minor, node, disk, 0); in disk_callback_nchan() 175 char disk[DISK_SUBPATH_MAX]; in disk_callback_blkdev() local 181 (void) snprintf(disk, DISK_SUBPATH_MAX, "t%016"PRIX64"d%d", eui64, lun); in disk_callback_blkdev() 182 disk_common(minor, node, disk, RM_STALE); in disk_callback_blkdev() [all …]
|