table of contents
DASDFMT(8) | System Manager's Manual | DASDFMT(8) |
NAME¶
dasdfmt - formatting of DASD (ECKD) disk drives.SYNOPSIS¶
dasdfmt [-h] [-t] [-v] [-y] [-p] [-P] [-m step][-b blksize] [-l volser] [-d layout]
[-L] [-V] [-F] [-k] {-n devno | -f node} device
DESCRIPTION¶
dasdfmt formats a DASD (ECKD) disk drive to prepare it for usage with Linux for S/390. The device is the node of the device (e.g. '/dev/dasda'). Any device node created by udev for kernel 2.6 can be used (e.g. '/dev/dasd/0.0.b100/disc').OPTIONS¶
- -h or --help
- Print usage and exit.
- -t or --test
- Disables any modification of the disk drive.
- -v
- Increases verbosity.
- -y
- Start formatting without further user-confirmation.
- --norecordzero
- Remove permission for subsystem to format write record
zero.
- -L or --no_label
- Omit the writing of a disk label after formatting.
- -V or --version
- Print version number and exit.
- -F or --force
- Formats the device without checking, if the device is in
use.
- -d layout or --disk_layout=layout
- Formats the device with compatible disk layout or linux
disk layout. layout is either cdl for the compatible disk
layout (default) or ldl for the linux disk layout.
- -p or --progressbar
- Print a progress bar while formatting. Do not use this
option if you are using a 3270 console, running in background or
redirecting the output to a file.
- -P or --percentage
- Print one line for each formatted cylinder showing the
number of the cylinder and percentage of formatting process. Intended to
be used by higher level interfaces.
- -m step or --hashmarks=step
- Print a hashmark every step cylinders. The value
step has to be within range [1,1000], otherwise it will be set to
the default, which is 10.
- -b blksize or --blocksize=blksize
- Specify blocksize to be used. blksize must be a
positive integer and always be a power of two. The recommended blocksize
is 4096 bytes.
- -l volser or --label=volser
- Specify the volume serial number or volume identifier to be
written to disk after formatting. If no label is specified, a sensible
default is used. volser is interpreted as ASCII string and is
automatically converted to uppercase and then to EBCDIC.
- -k or --keep_volser
- Keeps the Volume Serial Number, when writing the Volume
Label. This is useful, if the Serial Number has been written with a VM
Tool and should not be overwritten.
- -n devno or --devno=devno
- Specify the device using the device number devno.
This device number is a 4 character hexadecimal number WITHOUT prefixes.
Leading zeros could be omitted.
- -f node or --device=node
- Specify the device using the device node. node is
the complete path to the device.
/dev/dasdx
where x is one or more lowercase letter(s).
/dev/dasd/xxxx/device
where xxxx is the four-letter device number.
with devfs:
-f /dev/dasd/0900/device or
--device=/dev/dasd/0900/device
without devfs:
-f /dev/dasda or
--device=/dev/dasda
SEE ALSO¶
fdasd(8)Apr 2006 | s390-tools |