Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 225

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 224
Chapter 13. Miscellaneous tasks 205
Setting device 0.0.0103 online
Done
3. View the available disks again with the lsdasd command:
# lsdasd
Bus-ID Status Name Device Type BlkSz Size Blocks
==============================================================================
0.0.0100 active dasda 94:0 ECKD 4096 2347MB 600840
0.0.0101 active dasdb 94:4 ECKD 4096 2347MB 600840
0.0.0300 active dasdc 94:8 FBA 512 256MB 524288
0.0.0301 active dasdd 94:12 FBA 512 512MB 1048576
0.0.0102 active dasde 94:16 ECKD 4096 1173MB 300420
0.0.0103 active dasdf 94:20 ECKD 4096 1173MB 300420
4. Format the disks with the dasdfmt command and create one partition on each with the
fdasd -a command. The disks can be formatted in parallel by using a for loop and
putting them in the background. However, before running fdasd, you have to wait until
they are done formatting:
# for i in 0.0.0102 0.0.0103
> do
> dasdfmt -b 4096 -y -f /dev/disk/by-path/ccw-$i &
> done
[1] 1637
[2] 1638
... wait for the two jobs to finish
...
Finished formatting the device.
Finished formatting the device.
Rereading the partition table... ok
Rereading the partition table... ok
[1]- Done dasdfmt -b 4096 -y -f /dev/disk/by-path/ccw-$i
[2]+ Done dasdfmt -b 4096 -y -f /dev/disk/by-path/ccw-$i
# fdasd -a /dev/disk/by-path/ccw-0.0.0102
reading volume label ..: VOL1
reading vtoc ..........: ok
auto-creating one partition for the whole disk...
writing volume label...
writing VTOC...
rereading partition table...
# fdasd -a /dev/disk/by-path/ccw-0.0.0103
reading volume label ..: VOL1
reading vtoc ..........: ok
auto-creating one partition for the whole disk...
writing volume label...
writing VTOC...
rereading partition table...
5. Make a backup of /etc/dasd.conf and add minidisks 102 and 103 to it:
# cd /etc
# cp dasd.conf dasd.conf.orig
# vi dasd.conf
0.0.0301 use_diag=0 readonly=0 erplog=0 failfast=0
0.0.0300 use_diag=0 readonly=0 erplog=0 failfast=0
Vedere la pagina 224
1 2 ... 220 221 222 223 224 225 226 227 228 229 230 ... 295 296

Commenti su questo manuale

Nessun commento