2. mt -f /dev/rmt/0 rewind 回卷磁带(把磁带头转到前部分)
3. mt -f /dev/rmt/0 status 查看磁带的status
df -k 查看系统文件系统对应的devices名称及确认系统分区情况。
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 25201968 19622692 5327257 69% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
swap 5431184 176 5431008 1% /var/run
swap 5431352 344 5431008 1% /tmp
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 25201968 19622692 5327257 69% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
swap 5431184 176 5431008 1% /var/run
/dev/dsk/c0t0d0s1 5431352 344 5431008 1% /tmp
/dev/dsk/c1t0d0s1 888888 888 88888888 1% /app
4. ufsdump 0uf /dev/rmt/0cn /dev/md/rdsk/d10 备份系统分区
5. mt -f /dev/rmt/0 rewind
mt -f /dev/rmt/0 offline
查看方法