FDASD(8) | System Manager's Manual | FDASD(8) |
fdasd - partitioning tool.
interactive mode:
fdasd [-s] [-r] [-C] device
command line mode:
fdasd [-s] [-r] [-C] {-a[-k|-l volser]|-i|-p|-c
conf_file} [-f [type,blocksize]] device
help:
fdasd {-h|-v}
fdasd writes a partition table to a cdl (compatible disk layout) formatted DASD, in the form of a VTOC (volume table of contents) for usage with Linux for S/390 or zSeries. If fdasd detects a valid VOL1 volume label, it will use it, otherwise it asks to write a new one.
Attention: Careless use of fdasd can result in loss of data.
Do not use the following reserved volume serial: SCRTCH, PRIVAT, MIGRAT, or Lnnnnn (L with five digit number); These are used as keywords by other operating systems (OS/390).
A volume serial is 1 through 6 alphanumeric characters or one
of the following special characters: $, #, @, %. All other characters
are simply ignored.
Try to avoid using special characters in the volume serial. This may cause
problems accessing a disk by volser. In case you really have to use
special characters, make sure you are using quotes. In addition there is
a special handling for the '$' sign. Please specify it using '\$' if
necessary.
e.g. -l 'a@b\$c#' to get A@B$C#
Omitting this parameter causes fdasd to ask for it in case it is needed.
[<first>,<last>,<type>]
where:
<first> and <last> are numbers that specify the first and the last track of the partition. Instead of a numerical value, you can specify 'first' for the first possible track on the disk and 'last' for the last possible track on disk.
<type> is optional and specifies the partition type. <type> can be one of: native, swap, raid, lvm, or gpfs. If omitted, 'native' is used.
The configuration file of the following example specifies three partitions that use the entire disk:
[first,1000]
[1001,2000,swap]
[2001,last,lvm]
-f
has the same effect as
-f3390,4096 or --force=3390,4096
Valid device types are: 3390, 3380, 9345
Valid block sizes are: 4096, 2048, 1024, 512
You can use the verbose option to get information about the disk geometry that fdasd has computed from device type and block size.
/dev/dasd/xxxx/device
where xxxx is the four-letter devno (device number).
In case your are not using the device file system, please specify:
/dev/dasdx
where x is one or more lowercase letter(s) or any other device node specification configured by udev for kernel 2.6 or higher.
Apr 2006 | s390-tools |