Lines Matching +full:reset +full:- +full:on +full:- +full:timeout
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
112 .Ic reset
145 .Bk -words
286 .Op Fl T Ar timeout
402 .Bl -tag -width 14n
419 function-specific arguments.
437 .Bl -tag -width 14n
442 must be turned on.
454 Specify the device type to operate on, e.g.\& "da", "cd".
466 .It Fl t Ar timeout
467 SCSI command timeout in seconds.
468 This overrides the default timeout for
477 .Bl -tag -width periphlist
500 .Bl -tag -width 4n
514 .Bl -tag -width 4n
534 .Bl -tag -width 14n
541 .Bl -tag -width 012345678
569 .Bl -tag -width 5n
645 .It Ic reset
646 Tell the kernel to reset all buses in the system (with the
649 reset for that bus, or to reset the given bus:target:lun or device
650 (XPT_RESET_DEV), typically by issuing a BUS DEVICE RESET message after
662 .Bl -tag -width 11n
677 If the drive uses a non-standard sense code to report that it does not
683 .Bl -tag -width 9n
686 This is limited to 32-bit block sizes, and isn't supported by many modern
690 This option uses a 64-bit block size.
749 .Bl -tag -width 12n
756 starts with 10 byte commands and falls back to 6 byte on error.
790 .Bl -tag -width xxx -compact
810 Other arguments are optional, depending on
820 .Bl -tag -width 17n
835 .Sq - ,
842 .Sq - ,
850 .Sq - ,
871 .Bl -tag -width 17n
876 .Sq - ,
884 .Sq - ,
896 .Bl -tag -width 8n
912 argument is required to specify the PHY to operate on.
913 .Bl -tag -width 17n
915 Specify the PHY to operate on.
929 .Bl -tag -width 16n
934 Send the LINK RESET command to the phy.
936 Send the HARD RESET command to the phy.
939 Note that the LINK RESET or HARD RESET commands should re-enable the phy.
964 The name is a 64-bit number, and can be specified in decimal, hexadecimal
970 .Bl -tag -width 5n
989 Set the partial pathway timeout value, in microseconds.
994 specification for more information on this field.
1009 .Bl -tag -width 5n
1011 Turn on the long response format for the underlying SMP commands used for
1020 .Bl -tag -width 5n
1022 Turn on the long response format for the underlying SMP commands used for
1026 Turn on CAM debugging printfs in the kernel.
1037 .Bl -tag -width 18n
1059 Turn on debugging for the given bus, target or lun.
1063 bus turns on debugging printfs for all devices on that bus.)
1070 command, with no command-specific arguments (i.e., only generic arguments)
1076 .Bl -tag -width 7n
1104 .Bl -tag -width 13n
1115 Held CCBs reserve capacity on a given
1164 .Bl -tag -width 17n
1226 Low level formatting a disk will destroy ALL data on the disk.
1229 Many users low-level format
1230 disks that do not really need to be low-level formatted.
1232 relatively few scenarios that call for low-level formatting a disk.
1234 low-level formatting a disk is to initialize the disk after changing
1236 Another reason for low-level formatting a disk
1242 timeout long enough to allow the format to complete.
1244 timeout is 3 hours, which should be long enough for most disks.
1249 does not really support the FORMAT UNIT command -- it just accepts the
1260 .Bl -tag -width 6n
1272 This will report status on a format that is already running on the drive.
1274 Issue a non-immediate format command.
1291 will issue a non-immediate format command, and will be unable to print any
1299 and also if the default format command timeout is acceptable.
1301 will not be asked about the timeout if a timeout is specified on the
1309 ALL data on the disk will be destroyed or made inaccessible.
1321 .Bl -tag -width 6n
1324 .Bl -tag -width 16n
1381 This will report status on a sanitize that is already running on the drive.
1383 Issue a non-immediate sanitize command.
1400 will issue a non-immediate sanitize command, and will be unable to print any
1408 and also if the default sanitize command timeout is acceptable.
1410 will not be asked about the timeout if a timeout is specified on the
1428 this state may be reset.
1435 1 -- minimum power, 127 -- maximum performance with standby,
1436 128 -- minimum power without standby, 254 -- maximum performance.
1437 If not specified -- APM is disabled.
1442 1 -- minimum noise, 254 -- maximum performance.
1443 If not specified -- AAM is disabled.
1452 .Bl -tag -width 0n
1465 user data on the device and may take several hours to complete.
1477 Frozen mode is disabled by power-off or hardware reset.
1486 user data on the device and may take several hours to complete.
1535 .It Fl T Ar timeout
1537 Overrides the default timeout, specified in seconds, used for both
1543 Usually the timeout is calculated from the information stored on the drive if
1574 .Bl -tag -width 0n
1581 Frozen mode is disabled by power-off or hardware reset.
1585 the next power-on reset occurs.
1588 Make the HPA max sectors persist across power-on reset or a hardware reset.
1609 Changing the max sectors of a device using this option will make the data on
1614 call can be made without a power-on reset or a hardware reset of the device.
1622 After 5 failed unlock calls, due to password miss-match, the device will refuse
1623 additional unlock calls until after a power-on reset.
1642 .Bl -tag -width 0n
1649 Frozen mode is disabled by power-off.
1660 Changing the max sectors of a device using this option will make the data on
1665 call can be made without a power-on reset of the device.
1674 device and it provides a recommended timeout for the WRITE BUFFER command
1677 opcodes subcommand), that timeout will be used for the firmware download.
1678 The drive-recommended timeout value may be overridden on the command line
1684 .Bl -tag -width 10n
1690 Tested with LTO-5 (ULTRIUM-HH5) and LTO-6 (ULTRIUM-HH6) tape drives.
1716 Ensure that you have a recent backup of the data on the device before
1752 PASS-THROUGH command to send the
1766 .Bl -tag -width 11n
1825 .Bl -tag -width 8n
1829 .Bl -tag -width 19n
1838 Report the full status of persistent reservations on the LUN.
1847 .Bl -tag -width 15n
1876 The Service Action Reservation Key may be specified, depending on the
1882 The Service Action Reservation Key may be specified, depending on the
1885 Register another initiator with the LUN, and establish a reservation on the
1906 option which turns on the SPEC_I_PT bit.
1908 .Bl -tag -width 5n
1912 followed by a 64-bit SAS address.
1919 followed by a 64-bit Fibre Channel World Wide Name.
1933 followed by a 64-bit EUI-64 IEEE 1394 node unique identifier.
1940 followed by a 128-bit RDMA initiator port identifier.
1952 .Dl iqn.2012-06.com.example:target0
1956 .Dl iqn.2012-06.com.example:target0,i,0x123
1981 The value must be between 0 and 2^64 - 1, inclusive.
1986 The value must be between 0 and 2^64 - 1, inclusive.
1996 .Bl -tag -width 7n
2024 .Bl -tag -width 11n
2080 .Bl -tag -width 14n
2083 .Bl -tag -width 11n
2130 .Bl -tag -width 12n
2132 Print text fields with non-ASCII characters escaped.
2136 If any non-ASCII characters occur in fields that are supposed to be ASCII,
2137 escape the non-ASCII characters.
2139 If any non-ASCII characters occur in fields that are supposed to be ASCII,
2140 omit the non-ASCII characters.
2142 If any non-ASCII characters occur in fields that are supposed to be ASCII,
2183 Specify the number of the logical volume to operate on.
2185 or writing attributes on the given logical volume.
2200 .Bl -tag -width 18n
2202 Request information on a specific opcode instead of the list of supported
2204 If supported, the target will return a CDB-like structure that indicates
2220 Include timeout values.
2226 options, which request information on a specific command and service
2228 This requests that the device report Nominal and Recommended timeout values
2230 The timeout values are in seconds.
2231 The timeout descriptor also includes a command-specific
2248 .Bl -tag -width 13n
2261 The host is not required to manage the zones on the drive, though.
2277 .Bl -tag -width 20n
2292 .Bl -tag -width 12n
2295 .Bl -tag -width 6n
2315 Reset the write pointer for the zone specified by the starting LBA.
2318 For the Open, Close, Finish, and Reset Write Pointer operations, apply the
2319 operation to all zones on the drive.
2329 .Bl -tag -width 8n
2352 .It reset
2357 non-sequentially.
2363 .Bl -tag -width 7n
2371 last logical block on the drive), and the value of the
2376 field describes whether the zones on the drive are all identical, all
2389 This only works on
2391 protocol drives, and will not work on
2394 It will work on
2401 It may be helpful to read the ATA Command Set - 4 (ACS-4) description of
2406 .Bl -tag -width 6n
2409 .Bl -tag -width 7n
2412 .Bl -tag -width 6n
2425 .Bl -tag -width 7n
2446 .Bl -tag -width 8n
2465 Drives may or may not support sub-second timer values.
2476 .Bl -tag -width 7n
2505 .Bl -tag -width 6n
2518 .Bl -tag -width 3n
2549 .Bl -tag -width 6n
2555 .Bl -tag -width 9n
2566 .Bl -tag -width 6n
2576 .Bl -tag -width 9n
2592 .Bl -tag -width 10n
2596 An SATA device attached behind a SAS controller via SCSI-ATA Translation Layer (SATL)
2612 (typically heads for hard drives) or setting capacity point (typically used on
2626 data on that storage drive.
2632 The data on the drive is inaccessible until one of these commands complete.
2640 can monitor an in-progress depop operation.
2641 .Bl -tag -width 6n
2678 .Bl -tag -width /usr/share/misc/scsi_modes -compact
2687 .Dl camcontrol eject -n cd -u 1 -v
2701 .Bd -literal -offset indent
2702 camcontrol tur da1 -E -C 4 -t 50 -Q head -v
2707 Specify a retry count of 4, and a timeout of 50 seconds.
2712 Since error recovery is turned on, the
2720 .Bd -literal -offset indent
2721 camcontrol cmd -n cd -u 1 -v -c "3C 00 00 00 00 00 00 00 0e 00" \e
2722 -i 0xe "s1 i3 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1"
2727 and display the first 10 bytes from the cache on cd1.
2730 .Bd -literal -offset indent
2731 camcontrol cmd -n cd -u 1 -v -c "3B 00 00 00 00 00 00 00 0e 00" \e
2732 -o 14 "00 00 00 00 1 2 3 4 5 6 v v v v" 7 8 9 8
2742 .Bd -literal -offset indent
2743 camcontrol modepage da3 -m 1 -e -P 3
2746 Edit mode page 1 (the Read-Write Error Recover page) for da3, and save the
2747 settings on the drive.
2765 .Dl camcontrol tags da5 -N 24
2768 .Bd -literal -offset indent
2769 camcontrol negotiate -n da -u 4 -T disable
2773 .Bd -literal -offset indent
2774 camcontrol negotiate -n da -u 3 -R 20.000 -O 15 -a
2780 .Bd -literal -offset indent
2781 camcontrol smpcmd ses0 -v -r 4 "40 0 00 0" -R 1020 "s9 i1"
2787 .Bd -literal -offset indent
2792 .Bd -literal -offset indent
2793 camcontrol security ada0 -U user -s MyPass
2796 Enable security on device ada0 with the password MyPass
2797 .Bd -literal -offset indent
2798 camcontrol security ada0 -U user -e MyPass
2811 .Bd -literal -offset indent
2817 .Bd -literal -offset indent
2818 camcontrol hpa ada0 -s 10240
2821 Enables HPA on ada0 setting the maximum reported sectors to 10240.
2827 to all data on the device beyond this limit until HPA is disabled by setting
2829 power-on or hardware reset!
2832 use this on a device which has an active filesystem!
2833 .Bd -literal -offset indent
2834 camcontrol persist da0 -v -i read_keys
2841 .Bd -literal -offset indent
2842 camcontrol persist da0 -v -o register -a -K 0x12345678
2846 apply that registration to all ports on da0, and display any errors that
2848 .Bd -literal -offset indent
2849 camcontrol persist da0 -v -o reserve -s lun -k 0x12345678 -T ex_ac
2856 .Bd -literal -offset indent
2857 camcontrol persist da0 -v -i read_full
2860 This will display the full status of all reservations on da0 and print out
2862 .Bd -literal -offset indent
2863 camcontrol persist da0 -v -o release -k 0x12345678 -T ex_ac
2866 This will release a reservation on da0 of the type ex_ac
2870 .Bd -literal -offset indent
2871 camcontrol persist da0 -v -o register -K 0x12345678 -S \e
2872 -I sas,0x1234567812345678 -I sas,0x8765432187654321
2878 .Bd -literal -offset indent
2879 camcontrol persist da0 -v -o register_move -k 0x87654321 \e
2880 -K 0x12345678 -U -p -R 2 -I fcp,0x1234567812345678
2889 The reservation will be moved to relative target port 2 on the target
2892 .Bd -literal -offset indent
2893 camcontrol attrib sa0 -v -i attr_values -p 1
2896 This will read and decode the attribute values from partition 1 on the tape
2900 .Bd -literal -offset indent
2901 camcontrol zone da0 -v -c rz -P summary
2910 .Bd -literal -offset indent
2911 camcontrol zone da0 -v -c rz -o reset
2915 pointer reset from the disk da0, and display any
2920 .Bd -literal -offset indent
2921 camcontrol zone da0 -v -c rwp -l 0x2c80000
2924 This will issue the Reset Write Pointer command to disk da0 for the zone
2930 .Bd -literal -offset indent
2931 camcontrol epc ada0 -c timer -T 60.1 -p Idle_a -e -s
2934 Set the timer for the Idle_a power condition on drive
2938 .Bd -literal -offset indent
2939 camcontrol epc da4 -c goto -p Standby_z -H
2949 .Bd -literal -offset indent
2950 camcontrol epc da2 -c status -P
2966 .Bd -literal -offset indent
2967 camcontrol epc ada0 -c list
2973 .Bd -literal -offset indent
2974 camcontrol timestamp sa0 -s -f "%a, %d %b %Y %T %z" \e
2975 -T "Wed, 26 Oct 2016 21:43:57 -0600"
3020 .Bd -literal -offset indent
3021 camcontrol cmd -n da -u 1 -c "00 00 00 00 00 v" 0x00 -v
3039 arguments before any command-specific arguments.