Vous êtes sur la page 1sur 1

AIX Tape Configuration

• AIX detects the Drive itself !


• Check which Adapter is used ->lsdev –C
• Run Configuration Manager ->cfgmgr –l (YOUR Adapter) -v

Tape driver configuration Utility smit tape


Remove existing tape devices rm /dev/rmt* or use smitty
Dynamically reconfigure tapes cfgmgr –l (YOUR Adapter) -v
Show Adapter Settings lsattr –l (YOUR Adapter) -EH
Display currently defined tape drives lsdev -Cctape
Display attributes of drive /dev/rmt0 mt –f /dev/rmt0 status
Rewind and offload drive /dev/rmt/0 mt –f /dev/rmt0 offline

• Time sending 1Gb of 256k blocks of zeros to tape drive


o /dev/rmt/0 timex dd if=/dev/zero of=/dev/rmt0
o bs=256k count=4096 (all one line)

• Display if tape is loaded on drives 0 mt –f /dev/rmt0 rewind <ENTER> then echo $?


ENTER>
o If Returncode is 0 a Tape is loaded
o If Returncode is 1 no Tape is loaded

AIX Disk Configuration


Disk driver configuration Utility smit disk
Add a Volumegroup smit vg
Create new filesystems smit fs
Create a mount point mkdir /disk1
Mount filesystems mount /dev/hd0/? /disk1
Show mounted Filesystems lsfs
Backup Volumegroups smit vgbackup
Install packages smitty install_latest
Upgrade a package installp -a
Create an installation server for network installation nimconfig
Set up a client for network installation nim -o bos_inst

Vous aimerez peut-être aussi