/freebsd/usr.sbin/mixer/tests/ |
H A D | mixer_test.sh | 114 atf_test_case volume cleanup 117 atf_set "descr" "Test volume setting" 127 mixer vol.volume=0 128 atf_check -o match:"0.00:0.00" mixer vol.volume 130 mixer vol.volume=-2 131 atf_check -o match:"0.00:0.00" mixer vol.volume 133 mixer vol.volume=-1:-2 134 atf_check -o match:"0.00:0.00" mixer vol.volume 136 mixer vol.volume=-110% 137 atf_check -o match:"0.00:0.00" mixer vol.volume [all …]
|
/freebsd/usr.sbin/mptutil/ |
H A D | mptutil.8 | 65 .Cm name Ar volume Ar name 68 .Cm volume status Ar volume 71 .Cm volume cache Ar volume 85 .Cm delete Ar volume 88 .Cm add Ar drive Op Ar volume 114 a volume may be identified by its location as 125 the volume is assumed to be on bus 0. 127 on the volume may be specified by the corresponding 136 Configured drives belong to a RAID volume either as a member drive or as a hot 143 Any drive not associated with a RAID volume as either a member or a hot spare [all …]
|
H A D | mpt_volume.c | 44 MPT_TABLE(top, volume); 74 warnx("name: volume and name required"); in volume_name() 92 warnc(error, "Invalid volume: %s", av[1]); in volume_name() 99 warn("Failed to fetch volume names"); in volume_name() 105 warnx("Volume name is read only"); in volume_name() 110 printf("mpt%u changing volume %s name from \"%s\" to \"%s\"\n", in volume_name() 118 warn("Failed to set volume name"); in volume_name() 142 warnx("volume status: %s", ac > 2 ? "extra arguments" : in volume_status() 143 "volume required"); in volume_status() 156 warnc(error, "Invalid volume: %s", av[1]); in volume_status() [all …]
|
/freebsd/usr.sbin/mfiutil/ |
H A D | mfiutil.8 | 79 .Cm show foreign Op Ar volume 153 .Cm cache Ar volume Op Ar setting Oo Ar value Oc Op ... 158 .Cm name Ar volume Ar name 163 .Cm volume progress Ar volume 182 .Cm delete Ar volume 187 .Cm add Ar drive Op Ar volume 328 a volume may be identified by its target ID. 330 on the volume may be specified by the corresponding 359 Displays the volume and drive configuration for the controller. 361 Each volume is listed along with the arrays that the volume spans. [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/ |
H A D | zvol_common.shlib | 35 # Create a simple zvol volume 38 # volume_size: is the size of the volume, e.g. 2G 39 # block_size: is the block size of the volume 79 typeset volume=$1 81 if [[ -z $volume ]] ; then 82 log_note "No volume specified." 86 log_must zfs set volsize=64m $volume 88 output=$(dumpadm -d /dev/zvol/dsk/$volume 2>&1 | awk 'END {print $3}') 93 log_must zfs set volsize=${output}m $volume 104 log_note "No dump device volume specified." [all …]
|
/freebsd/usr.sbin/cdcontrol/ |
H A D | cdcontrol.1 | 126 .It Ic volume 128 .Em status volume 130 .It Ic volume Ar level 131 Set the volume of both channels to 134 .It Ic volume Ar left_channel right_channel 135 Set the volume of left channel to 137 and the volume of right channel to 140 .It Ic volume Cm mute 142 .It Ic volume Cm mono 144 .It Ic volume Cm stereo [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/zvol/ |
H A D | zvol_common.kshlib | 30 # Create a simple zvol volume 33 # volume_size: is the size of the volume, e.g. 2G 95 typeset volume=$1 97 if [[ -z $volume ]] ; then 98 log_note "No volume specified." 102 log_must $ZFS set volsize=64m $volume 104 output=$($DUMPADM -d /dev/zvol/$volume 2>&1 | \ 110 log_must $ZFS set volsize=${output}m $volume 120 log_note "No dump device volume specified." 124 typeset volume=${device#/dev/zvol/} [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/zvol/zvol_misc/ |
H A D | zvol_misc_004_pos.ksh | 40 # 1. Create a ZFS volume 41 # 2. Set the volume as dump or swap 78 typeset volume=$1 80 log_must $ZFS snapshot $volume@snap0 81 log_must $ZFS snapshot $volume@snap1 82 log_must datasetexists $volume@snap0 $volume@snap1 84 log_must $ZFS destroy $volume@snap1 85 log_must $ZFS snapshot $volume@snap1 87 log_mustnot $ZFS rollback -r $volume@snap0 88 log_must datasetexists $volume@snap0 [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/ |
H A D | zvol_misc_004_pos.ksh | 41 # 1. Create a ZFS volume 42 # 2. Set the volume as dump or swap 73 typeset volume=$1 75 log_must zfs snapshot $volume@snap0 76 log_must zfs snapshot $volume@snap1 77 log_must datasetexists $volume@snap0 $volume@snap1 79 log_must zfs destroy $volume@snap1 80 log_must zfs snapshot $volume@snap1 82 log_mustnot zfs rollback -r $volume@snap0 83 log_must datasetexists $volume@snap0 [all …]
|
/freebsd/lib/geom/raid/ |
H A D | graid.8 | 88 To allow booting from RAID volume, the metadata format should match the 99 Create an array with single volume. 106 argument specifies the label of the created volume. 109 argument specifies the RAID level of the created volume, such as: 126 bytes on each component for this volume. 135 Create another volume on the existing array. 141 Delete volume(s) from the existing array. 142 When the last volume is deleted, the array is also deleted and its metadata 151 arguments allow specifying volume for deletion. 156 Delete volume(s) even if it is still open. [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/reservation/ |
H A D | reservation_017_pos.ksh | 38 # For a sparse volume changes to the volsize are not reflected in the reservation 41 # 1) Create a regular and sparse volume 43 # 3) Set reservation with various size on the regular and sparse volume 44 # 4) Verify that the 'reservation' property for the regular volume has 46 # 5) Verify that the 'reservation' property for the sparse volume is set to 'none' 60 log_assert "Verify that the volsize changes of sparse volume are not reflected" \ 63 #Create a regular and sparse volume for testing. 84 #Make sure volsize is a multiple of volume block size 93 log_fail "volsize changes of sparse volume is reflected in reservation." 95 log_fail "volsize changes of regular volume isnot reflected in reservation." [all …]
|
H A D | reservation_015_pos.ksh | 38 # In pool with a full filesystem and a regular volume with an implicit 39 # reservation, setting the reservation on the volume to 'none' should allow 44 # 1) Create a regular non-sparse volume (which implicitly sets the reservation 45 # property to a value equal to the volume size) 48 # 4) Set the reservation on the volume to 'none' 63 log_assert "Setting volume reservation to 'none' allows more data to" \ 70 # large pools, we calculate a volume size which when applied 71 # to the volume will ensure we have RESV_FREE_SPACE 74 # For the volume itself, set a reservation to 95% of available 108 log_pass "Setting top level volume reservation to 'none' allows more " \
|
/freebsd/tests/sys/cddl/zfs/tests/iscsi/ |
H A D | iscsi_001_pos.ksh | 36 # Verify setting shareiscsi property on volume will make it an iSCSI 40 # 1) Create a volume, turn on shareiscsi directly on the volume 42 # 3) Destroy the volume, then turn on shareiscsi property on parent 44 # 4) Then create the volume, check if the target is created or not 71 log_assert "Verify that setting shareiscsi property on volume will make it \ 75 # Check shareiscsi property directly on volume at first 81 shareiscsi property on volume" 85 # effects on volume 93 log_pass "Verify that setting shareiscsi property on volume will make it \
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/ |
H A D | reservation_022_pos.ksh | 23 # Cloning a volume with -o refreservation=auto creates a thick provisioned 24 # volume 27 # 1) Create a sparse volume. 31 # 4) Snapshot this second volume and clone it, using clone -o 47 log_assert "Cloning a volume with -o refreservation=auto creates a thick" \ 48 "provisioned volume" 72 # Clone the thick provisioned volume 82 log_pass "Cloning a thick provisioned volume results in a sparse volume"
|
H A D | reservation_015_pos.ksh | 38 # In pool with a full filesystem and a regular volume with an implicit 39 # reservation, setting the reservation on the volume to 'none' should allow 44 # 1) Create a regular non-sparse volume (which implicitly sets the reservation 45 # property to a value equal to the volume size) 48 # 4) Set the reservation on the volume to 'none' 54 log_assert "Setting volume reservation to 'none' allows more data to be " \ 71 # large pools, we calculate a volume size which when applied 72 # to the volume will ensure we have RESV_FREE_SPACE 99 log_pass "Setting top level volume reservation to 'none' allows more " \
|
/freebsd/sbin/devd/ |
H A D | asus.conf | 4 # The next blocks enable volume hotkeys that can be found on the Asus laptops 9 action "mixer vol.volume=0"; 16 action "mixer vol.volume=-10%"; 23 action "mixer vol.volume=+10%"; 26 # The next blocks enable volume hotkeys that can be found on the Asus EeePC 31 action "mixer vol.volume=0"; 38 action "mixer vol.volume=-10%"; 45 action "mixer vol.volume=+10%";
|
/freebsd/sys/geom/label/ |
H A D | g_label_msdosfs.c | 84 * Test if this is really a FAT volume and determine the FAT type. in g_label_msdosfs_taste() 93 * at the right place, this should be a FAT12 or FAT16 volume. in g_label_msdosfs_taste() 97 "MSDOSFS: %s: FAT12/16 volume not valid.", in g_label_msdosfs_taste() 101 G_LABEL_DEBUG(1, "MSDOSFS: %s: FAT12/FAT16 volume detected.", in g_label_msdosfs_taste() 104 /* A volume with no name should have "NO NAME " as label. */ in g_label_msdosfs_taste() 108 "MSDOSFS: %s: FAT12/16 volume has no name.", in g_label_msdosfs_taste() 120 * at the right place, this should be a FAT32 volume. in g_label_msdosfs_taste() 123 G_LABEL_DEBUG(1, "MSDOSFS: %s: FAT32 volume not valid.", in g_label_msdosfs_taste() 127 G_LABEL_DEBUG(1, "MSDOSFS: %s: FAT32 volume detected.", in g_label_msdosfs_taste() 131 * If the volume label is not "NO NAME " we're done. in g_label_msdosfs_taste() [all …]
|
/freebsd/usr.sbin/fstyp/ |
H A D | hammer_disk.h | 65 * Per-volume storage limit: 52 bits 4096 TB 83 #define HAMMER_OFF_VOL_MASK 0x0FF0000000000000ULL /* volume portion */ 105 * Reserved space for (future) header junk after the volume header. 116 * and volume number in addition to the offset. Most offsets are required 145 * zone 1 (z,v,o): raw volume relative (offset 0 is the volume header) 147 * zone 3 (z,o): undo/redo fifo - fixed zone-2 offset array in volume header 153 * zone 15: unavailable, usually the offset is beyond volume size 156 * Maximum HAMMER filesystem capacity from volume aspect 157 * 2^8(max volumes) * 2^52(max volume size) = 2^60 = 1EB (long offset) 169 * volume#0 layout [all …]
|
H A D | befs.c | 50 struct disk_super_block *volume; in fstyp_befs() local 52 volume = read_buf(fp, BEFS_BLOCK_OFFSET, sizeof(*volume)); in fstyp_befs() 54 if (volume == NULL) { in fstyp_befs() 58 if (volume->magic1 == BEFS_SUPER_BLOCK_MAGIC1) { in fstyp_befs() 59 strlcpy(label, volume->name, size); in fstyp_befs() 60 free(volume); in fstyp_befs() 65 free(volume); in fstyp_befs()
|
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zfs-allow.8 | 46 .Ar filesystem Ns | Ns Ar volume 53 .Ar filesystem Ns | Ns Ar volume 59 .Ar filesystem Ns | Ns Ar volume 65 .Ar filesystem Ns | Ns Ar volume 72 .Ar filesystem Ns | Ns Ar volume 79 .Ar filesystem Ns | Ns Ar volume 86 .Ar filesystem Ns | Ns Ar volume 93 .Ar filesystem Ns | Ns Ar volume 100 .Ar filesystem Ns | Ns Ar volume 103 volume. [all …]
|
H A D | zfs-unallow.8 | 46 .Ar filesystem Ns | Ns Ar volume 53 .Ar filesystem Ns | Ns Ar volume 59 .Ar filesystem Ns | Ns Ar volume 65 .Ar filesystem Ns | Ns Ar volume 72 .Ar filesystem Ns | Ns Ar volume 79 .Ar filesystem Ns | Ns Ar volume 86 .Ar filesystem Ns | Ns Ar volume 93 .Ar filesystem Ns | Ns Ar volume 100 .Ar filesystem Ns | Ns Ar volume 103 volume. [all …]
|
/freebsd/bin/chio/ |
H A D | chio.1 | 74 (select by volume identifier). 77 pseudo-element type allows the selection of tapes by their volume tag 188 Change volume tag for an element in the media changer. 197 flag is specified, the volume tag of the specified element is 201 flag is specified, the volume tag is superseded with the specified 202 volume tag even if a volume tag is already defined for the element. 206 volume tag information defined. 208 The command works with the primary volume tag or, if the 210 flag is given, with the alternate volume tag. 221 Print the primary volume tag for each loaded medium, if any. [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/largest_pool/ |
H A D | largest_pool_001_pos.ksh | 40 # create a pool which will contain a volume device. 41 # create a volume device of desired sizes. 42 # create the largest pool allowed using the volume vdev. 52 # $1: volume size 84 # Check and destroy zfs, volume & zpool remove the temporary files 114 # volume sizes with unit designations. 121 log_note "Create a pool which will contain a volume device" 124 log_note "Create a volume device of desired sizes: $volsize" 132 "Max volume size is 1TB on 32-bit systems." 139 log_note "Create the largest pool allowed using the volume vdev" [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_clone/ |
H A D | zfs_clone_005_pos.ksh | 38 # 'zfs clone -o property=value -V size volume' can successfully create a ZFS 39 # clone volume with correct property set. 42 # 1. Create a ZFS clone volume in the storage pool with -o option 43 # 2. Verify the volume created successfully 56 log_assert "'zfs clone -o property=value -V size volume' can successfully" \ 57 "create a ZFS clone volume with correct property set." 75 log_pass "'zfs clone -o property=value volume' can successfully" \ 76 "create a ZFS clone volume with correct property set."
|
H A D | zfs_clone_006_pos.ksh | 39 # 'zfs clone -o property=value volume' can successfully create a ZFS 40 # clone volume with multiple properties set. 43 # 1. Create a ZFS clone volume in the storage pool with -o option 44 # 2. Verify the volume created successfully 57 log_assert "'zfs clone -o property=value volume' can successfully" \ 58 "create a ZFS clone volume with multiple correct properties set." 83 log_pass "'zfs clone -o property=value volume' can successfully" \ 84 "create a ZFS clone volume with multiple correct properties set."
|