IBM Switch 9077 User Manual

Page 95

Advertising
background image

Installation and Configuration

77

3. Edit the file /etc/rc.boot and see if the line

mount /dev/wd3a /var/log

is

present; if not, add this line at the end of the file.

4. Edit the file /etc/fstab and add this line as shown in the following excerpt:

/dev/wd3a /var/log ufs rw 0 2 # PCMCIA slot A

prompt> sh
#
# cd /
# iflash -A
May 29 15:54:18 grf16 kernel: wd2: no disk label
# mountf -A -w -m /mnt
Device /dev/wd3a mounted on /mnt
# mkdir /mnt/crash
# mkdir /mnt/portcards
# cd /var
# mv crash crash.orig
# mv portcards portcards.orig
# ln -s /var/log/portcards /var/portcards
# ln -s /var/log/crash /var/crash
# grsite --perm portcards crash
Device /dev/wd0a mounted on /flash.
Device /dev/wd0a unmounted.
#

# cd /var/log
# pax -rw -pe -v . /mnt
/mnt/.
/mnt/./cron
/mnt/./daemon.log
/mnt/./lastlog
/mnt/./maillog
/mnt/./messages
/mnt/./secure
/mnt/./wtmp
/mnt/./grclean.log
/mnt/./mibmgrd.log
/mnt/./cli.log
# umountf -A
Device /dev/wd3a unmounted.
#

## Each line is of the form:
## device mount_point type flags dump fsck_pass
/dev/rd0a / ufs rw 0 0
/dev/wd3a /var/log ufs rw 0 2 # PCMCIA slot A

Advertising