Fev 26, 2001 onl5v4: Solaris 7 cc ドライバのテスト. Solaris7 システムのインストール --- システム環境設定#02 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/Machine/onl5v4/ Solaris7/system-install2.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). SPARC CPU-5V、Solaris7 を入手した。 (B). FORCE,CPU-5V(microSPARC-II)、に Solaris 7 のシステムを インストールした。 (2). ここでやるべきこと /etc の下の各設定、および /export/home の作成をやる。 (3). /etc の下の各設定 マウント情報をチェック onl5v4 console login: root Password: Feb 23 10:20:41 onl5v4 login: ROOT LOGIN /dev/console Last login: Thu Feb 22 10:21:26 on console Sun Microsystems Inc. SunOS 5.7 Generic October 1998 # df -k Filesystem kbytes used avail capacity Mounted on /proc 0 0 0 0% /proc /dev/dsk/c0t3d0s0 100930 29098 61739 33% / /dev/dsk/c0t3d0s6 930582 610049 264699 70% /usr fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s1 28957 5847 20215 23% /var /dev/dsk/c0t3d0s7 2970444 22 2911014 1% /export/home swap 96392 8 96384 1% /tmp # (3-1). ルートの環境設定 # csh onl5v4# source /.cshrc /.cshrc: No such file or directory onl5v4# ls -l /etc/skel total 6 -rw-r--r-- 1 root sys 124 Feb 21 16:38 local.cshrc -rw-r--r-- 1 root sys 581 Feb 21 16:39 local.login -rw-r--r-- 1 root sys 562 Feb 21 16:39 local.profile onl5v4# ls -l /.??* -rw------- 1 root root 1032 Feb 21 17:52 /.cpr_config onl5v4# cp /etc/skel/local.cshrc /.cshrc onl5v4# cp /etc/skel/local.login /.login onl5v4# cp /etc/skel/local.profile /.profile onl5v4# ls -l /.??* -rw------- 1 root root 1032 Feb 21 17:52 /.cpr_config -rw-r--r-- 1 root other 124 Feb 23 10:27 /.cshrc -rw-r--r-- 1 root other 581 Feb 23 10:27 /.login -rw-r--r-- 1 root other 562 Feb 23 10:27 /.profile onl5v4# source /.login Starting OpenWindows in 5 seconds (type Control-C to interrupt)^Conl5v4# onl5v4# source /.cshrc onl5v4# (3-2). /etc/auto_kekfs の設定 onl5v4# pwd /etc onl5v4# ls -l au* -rw-r--r-- 1 root bin 50 Feb 21 16:46 auto_home -rw-r--r-- 1 root bin 113 Feb 21 16:46 auto_master lrwxrwxrwx 1 root root 16 Feb 21 16:38 autopush -> ../sbin/autopu sh onl5v4# mv auto_master auto_master.org onl5v4# cp auto_master.org auto_master onl5v4# ls -l auto* -rw-r--r-- 1 root bin 50 Feb 21 16:46 auto_home -rw-r--r-- 1 root other 113 Feb 23 10:49 auto_master -rw-r--r-- 1 root bin 113 Feb 21 16:46 auto_master.org lrwxrwxrwx 1 root root 16 Feb 21 16:38 autopush -> ../sbin/autopu sh onl5v4# chgrp bin auto_master onl5v4# ls -l auto* -rw-r--r-- 1 root bin 50 Feb 21 16:46 auto_home -rw-r--r-- 1 root bin 113 Feb 23 10:49 auto_master -rw-r--r-- 1 root bin 113 Feb 21 16:46 auto_master.org lrwxrwxrwx 1 root root 16 Feb 21 16:38 autopush -> ../sbin/autopu sh onl5v4# setenv TERM vt100 onl5v4# vi auto_master # Master map for automounter # +auto_master /net -hosts -nosuid,nobrowse /home auto_home -nobrowse /xfn -xfn /kekfs /etc/auto_kekfs ~ ~ ~ ~ "auto_master" 7 lines, 145 characters onl5v4# onl5v4# vi auto_kekfs #Auto.kekfs for KEK Workstation support File server mount kek -ro,intr,suid fs:/public/sun/Solaris2 ~ ~ ~ "auto_kekfs" [New file] 2 lines, 114 characters onl5v4# onl5v4# ls -l auto* -rw-r--r-- 1 root bin 50 Feb 21 16:46 auto_home -rw-r--r-- 1 root other 114 Feb 23 10:57 auto_kekfs -rw-r--r-- 1 root bin 145 Feb 23 10:55 auto_master -rw-r--r-- 1 root bin 113 Feb 21 16:46 auto_master.org lrwxrwxrwx 1 root root 16 Feb 21 16:38 autopush -> ../sbin/autopu sh onl5v4# chgrp bin auto_kekfs onl5v4# ls -l auto* -rw-r--r-- 1 root bin 50 Feb 21 16:46 auto_home -rw-r--r-- 1 root bin 114 Feb 23 10:57 auto_kekfs -rw-r--r-- 1 root bin 145 Feb 23 10:55 auto_master -rw-r--r-- 1 root bin 113 Feb 21 16:46 auto_master.org lrwxrwxrwx 1 root root 16 Feb 21 16:38 autopush -> ../sbin/autopu sh onl5v4# (3-3). /etc/defaultdomain の設定 onl5v4# pwd /etc onl5v4# ls -l defaultdomain defaultdomain: No such file or directory onl5v4# vi defaultdomain kek.jp ~ ~ ~ "defaultdomain" [New file] 1 line, 7 characters onl5v4# ls -l defaultdomain -rw-r--r-- 1 root other 7 Feb 23 11:03 defaultdomain onl5v4# chgrp sys defaultdomain onl5v4# ls -l defaultdomain -rw-r--r-- 1 root sys 7 Feb 23 11:03 defaultdomain onl5v4# (3-4). /etc/defaultrouter の設定 onl5v4# pwd /etc onl5v4# ls -l defaultr* No match onl5v4# vi defaultrouter ICCFG1 ~ ~ ~ "defaultrouter" [New file] 1 line, 7 characters onl5v4# ls -l defaultrouter -rw-r--r-- 1 root other 7 Feb 23 11:13 defaultrouter onl5v4# chgrp sys defaultrouter onl5v4# ls -l defaultrouter -rw-r--r-- 1 root sys 7 Feb 23 11:13 defaultrouter onl5v4# (3-5). /etc/group の設定 onl5v4# ls -l group* -rw-r--r-- 1 root sys 294 Feb 22 10:27 group onl5v4# mv group group.org onl5v4# cp group.org group onl5v4# ls -l group* -rw-r--r-- 1 root other 294 Feb 23 11:31 group -rw-r--r-- 1 root sys 294 Feb 22 10:27 group.org onl5v4# chgrp sys group onl5v4# ls -l group* -rw-r--r-- 1 root sys 294 Feb 23 11:31 group -rw-r--r-- 1 root sys 294 Feb 22 10:27 group.org onl5v4# vi group root::0:root,inoue,keibun,kodama,yasu,igarashi,nakayoshi,fujita other::1: bin::2:root,bin,daemon sys::3:root,bin,sys,adm,inoue adm::4:root,adm,daemon uucp::5:root,uucp mail::6:root tty::7:root,tty,adm lp::8:root,lp,adm nuucp::9:root,nuucp staff::10: daemon::12:root,daemon sysadmin::14: user::20: kek::100: nobody::60001: noaccess::60002: nogroup::65534: ~ ~ ~ "group" 18 lines, 355 characters onl5v4# (3-6). /etc/nsswitch.conf の設定 onl5v4# ls -l nss* -rw-r--r-- 1 root sys 835 Feb 21 17:35 nsswitch.conf -rw-r--r-- 1 root sys 835 Mar 11 1999 nsswitch.dns -rw-r--r-- 1 root sys 686 Sep 1 1998 nsswitch.files -rw-r--r-- 1 root sys 915 Sep 1 1998 nsswitch.nis -rw-r--r-- 1 root sys 1184 Sep 1 1998 nsswitch.nisplus onl5v4# mv nsswitch.conf nsswitch.conf.org onl5v4# cp nsswitch.conf.org nsswitch.conf onl5v4# ls -l nsswitch.conf* -rw-r--r-- 1 root other 835 Feb 23 14:46 nsswitch.conf -rw-r--r-- 1 root sys 835 Feb 21 17:35 nsswitch.conf.org onl5v4# chgrp sys nsswitch.conf onl5v4# ls -l nsswitch.conf* -rw-r--r-- 1 root sys 835 Feb 23 14:46 nsswitch.conf -rw-r--r-- 1 root sys 835 Feb 21 17:35 nsswitch.conf.org onl5v4# vi nsswitch.conf # # /etc/nsswitch.dns: # # An example file that could be copied over to /etc/nsswitch.conf; it uses # DNS for hosts lookups, otherwise it does not use any other naming service. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. passwd: files group: files # You must also set up the /etc/resolv.conf file for DNS name # server lookup. See resolv.conf(4). hosts: files dns networks: files protocols: files rpc: files ethers: files netmasks: files bootparams: files publickey: files # At present there isn't a 'files' backend for netgroup; the system will # figure it out pretty quickly, and won't use netgroups at all. netgroup: files automount: files aliases: files services: files sendmailvars: files onl5v4# Solaris7 では最初から hostsファイルは dns も参照する設定になっていた。 (3-7). resolv.conf の設定 onl5v4# pwd /etc onl5v4# ls -l resolv.conf* -rw-r--r-- 1 root root 84 Feb 21 17:35 resolv.conf onl5v4# cat resolv.conf domain kek.jp nameserver 130.87.152.2 nameserver 130.87.34.6 nameserver 130.87.34.2 onl5v4# (3-8). /etc/hosts の設定 onl5v4# pwd /etc/inet onl5v4# ls -l hosts* -r--r--r-- 1 root sys 76 Feb 21 17:35 hosts onl5v4# mv hosts hosts.org onl5v4# ftp ftp.kek.jp Connected to is2.kek.jp. 220 is2.kek.jp FTP server (Version wu-2.4(9) Thu Mar 27 01:00:50 JST 1997) ready . Name (ftp.kek.jp:root): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: 230- 230-*** KEK COMPUTING CENTER ANONYMOUS FTP SERVICE *** 230- 230- This service is experimental. All transfers are logged. 230- Send comments to ftp-admin@is2.kek.jp. 230- 230- Local time (JST): Fri Feb 23 15:00:37 2001 230- 230- There are some extensions to this FTP server such that if the 230- user specifies a filename (when using a RETRIEVE command) such that: 230- 230- True Filename Specified Filename Action 230- ------------- ------------------ ----------------------------------- 230- .Z Decompress file before transmitting 230- .gz Gunzip file before transmitting 230- .Z Compress before 230- transmitting 230- .gz gzip before transmitting 230- .tar Tar before transmitting 230- .tar.Z Tar and compress before 230- transmitting 230- .tar.gz Tar and gzip before 230- transmitting 230--- 230- The access to the /cern directory is restricted. 230- 230 Guest login ok, access restrictions apply. ftp> cd kek/netinfo 250-This directory holds up-to-date network-related tables for KEK internal 250-use only. 250- 250 CWD command successful. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. total 533 -rw-r--r-- 1 0 30 82 Feb 17 1994 .message -rw-r----- 1 0 30 531728 Feb 23 14:17 hosts drwxr-xr-x 2 0 30 8192 Oct 18 1994 mail-example -rw-r----- 1 0 30 3096 Feb 17 1994 networks 226 Transfer complete. 268 bytes received in 0.03 seconds (8.83 Kbytes/s) ftp> get hosts 200 PORT command successful. 150 Opening ASCII mode data connection for hosts (531728 bytes). 226 Transfer complete. local: hosts remote: hosts 541347 bytes received in 0.72 seconds (739.23 Kbytes/s) ftp> quit 221 Goodbye. onl5v4# ls -l hosts* -rw-r--r-- 1 root other 531728 Feb 23 14:56 hosts -r--r--r-- 1 root sys 76 Feb 21 17:35 hosts.org onl5v4# chgrp sys hosts onl5v4# chmod u-w hosts onl5v4# ls -l hosts* -r--r--r-- 1 root sys 531728 Feb 23 14:56 hosts -r--r--r-- 1 root sys 76 Feb 21 17:35 hosts.org onl5v4# (3-9). /etc/networks の設定 onl5v4# pwd /etc/inet onl5v4# ls -l networks* -r--r--r-- 1 root sys 372 Feb 21 16:38 networks onl5v4# mv networks networks.org onl5v4# cp networks.org networks onl5v4# ls -l networks* -r--r--r-- 1 root other 372 Feb 23 15:00 networks -r--r--r-- 1 root sys 372 Feb 21 16:38 networks.org onl5v4# chgrp sys networks onl5v4# chmod u+w networks onl5v4# ls -l networks* -rw-r--r-- 1 root sys 372 Feb 23 15:00 networks -r--r--r-- 1 root sys 372 Feb 21 16:38 networks.org onl5v4# vi networks #ident "@(#)networks 1.4 92/07/14 SMI" /* SVr4.0 1.1 */ # # The networks file associates Internet Protocol (IP) network numbers # with network names. The format of this file is: # # network-name network-number nicnames . . . # # # The loopback network is used only for intra-machine communication # loopback 127 # # Internet networks # arpanet 10 arpa # Historical FG-cluster-1 130.87.152 ~ ~ ~ ~ "networks" 18 lines, 399 characters onl5v4# ls -l networks* -rw-r--r-- 1 root sys 399 Feb 23 15:02 networks -r--r--r-- 1 root sys 372 Feb 21 16:38 networks.org onl5v4# chmod u-w networks onl5v4# ls -l networks* -r--r--r-- 1 root sys 399 Feb 23 15:02 networks -r--r--r-- 1 root sys 372 Feb 21 16:38 networks.org onl5v4# (3-10). /etc/passwd の設定 ここで、onl50t、Solaris2.6 のシステムディスクから passwdファイルを入手 するために onl50t、Solaris2.6 のシステムディスクとonl50t、Solaris7 の システムディスクを同一SCSIケーブル上につないで Solaris7 のシステムを 立ち上げる。 onl5v4# /usr/sbin/shutdown -i0 -g0 Shutdown started. Fri Feb 23 15:06:00 JST 2001 Do you want to continue? (y or n): y Changing to init state 0 - please wait Broadcast Message from root (console) on onl5v4 Fri Feb 23 15:06:02... THE SYSTEM onl5v4 IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: onl5v4: RPC: Program not registered onl5v4# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. syslogd: going down on signal 15 The system is down. INIT: failed write of utmpx entry:"s0" INIT: failed write of utmpx entry:"fw" syncing file systems... done Program terminated Type help for more information ok ok ok @ppscreen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-5V, No Keyboard ROM Rev. 2.15.3, 48 MB memory installed, Serial #9149788. Ethernet address 0:80:42:b:2d:5c, Host ID: 808b9d5c. Type help for more information ok boot -r Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: - r SunOS Release 5.7 Version Generic_106541-06 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1999, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: onl5v4 Configuring the /devices directory Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s7: is clean. NIS domainname is kek.jp starting rpc services: rpcbind keyserv done. Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway onl5v4 syslog service starting. Print services started. volume management starting. The system is ready. onl5v4 console login: onl5v4 console login: root Password: Feb 23 15:28:52 onl5v4 login: ROOT LOGIN /dev/console Last login: Fri Feb 23 15:22:25 on console Sun Microsystems Inc. SunOS 5.7 Generic October 1998 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# # ls -l total 92 lrwxrwxrwx 1 root root 9 Feb 21 16:38 bin -> ./usr/bin drwxr-xr-x 2 root nobody 512 Feb 21 17:53 cdrom drwxrwxr-x 18 root sys 3584 Feb 23 15:28 dev drwxrwxr-x 5 root sys 512 Feb 21 17:35 devices drwxr-xr-x 32 root sys 3584 Feb 23 15:28 etc drwxrwxr-x 3 root sys 512 Feb 21 16:33 export dr-xr-xr-x 1 root root 1 Feb 23 15:28 home dr-xr-xr-x 1 root root 1 Feb 23 15:28 kekfs drwxr-xr-x 9 root sys 512 Feb 21 16:38 kernel lrwxrwxrwx 1 root root 9 Feb 21 16:38 lib -> ./usr/lib drwx------ 2 root root 8192 Feb 21 16:33 lost+found drwxrwxr-x 2 root sys 512 Feb 21 16:38 mnt dr-xr-xr-x 1 root root 1 Feb 23 15:28 net drwxrwxr-x 6 root sys 512 Feb 21 17:25 opt drwxr-xr-x 4 root sys 1024 Feb 21 16:40 platform dr-xr-xr-x 29 root root 11968 Feb 23 15:29 proc drwxrwxr-x 2 root sys 512 Feb 21 16:45 sbin drwxrwxrwt 6 sys sys 275 Feb 23 15:28 tmp drwxrwxr-x 31 root sys 1024 Feb 21 17:24 usr drwxr-xr-x 25 root sys 512 Feb 21 17:52 var dr-xr-xr-x 6 root root 512 Feb 23 15:28 vol dr-xr-xr-x 1 root root 1 Feb 23 15:28 xfn # df -k Filesystem kbytes used avail capacity Mounted on /proc 0 0 0 0% /proc /dev/dsk/c0t3d0s0 100930 29688 61149 33% / /dev/dsk/c0t3d0s6 930582 610049 264699 70% /usr fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s1 28957 5899 20163 23% /var /dev/dsk/c0t3d0s7 2970444 10 2911026 1% /export/home swap 98188 8 98180 1% /tmp # mount /dev/dsk/c0t1d0s0 /mnt # df -k Filesystem kbytes used avail capacity Mounted on /proc 0 0 0 0% /proc /dev/dsk/c0t3d0s0 100930 29688 61149 33% / /dev/dsk/c0t3d0s6 930582 610049 264699 70% /usr fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s1 28957 5899 20163 23% /var /dev/dsk/c0t3d0s7 2970444 10 2911026 1% /export/home swap 97976 8 97968 1% /tmp /dev/dsk/c0t1d0s0 65767 22809 36382 39% /mnt # onl5v4# pwd /etc onl5v4# ls -l pass* -rw-r--r-- 1 root sys 414 Feb 23 14:36 passwd onl5v4# ls -l /mnt/etc/pass* -rw-r--r-- 1 root sys 928 Jul 7 1998 /mnt/etc/passwd -rw-r--r-- 1 root sys 445 Apr 28 1998 /mnt/etc/passwd.org onl5v4# mv passwd passwd.org onl5v4# cp /mnt/etc/passwd . onl5v4# ls -l pass* -rw-r--r-- 1 root other 928 Feb 23 15:34 passwd -rw-r--r-- 1 root sys 414 Feb 23 14:36 passwd.org onl5v4# chgrp sys passwd onl5v4# ls -l pass* -rw-r--r-- 1 root sys 928 Feb 23 15:34 passwd -rw-r--r-- 1 root sys 414 Feb 23 14:36 passwd.org onl5v4# (3-11). /etc/shadow の設定 onl5v4# pwd /etc onl5v4# ls -l sha* -r-------- 1 root root 246 Feb 23 14:36 shadow onl5v4# mv shadow shadow.org onl5v4# cp /mnt/etc/shadow shadow onl5v4# ls -l sha* -r-------- 1 root other 488 Feb 23 15:46 shadow -r-------- 1 root root 246 Feb 23 14:36 shadow.org onl5v4# chgrp root shadow onl5v4# ls -l sha* -r-------- 1 root root 488 Feb 23 15:46 shadow -r-------- 1 root root 246 Feb 23 14:36 shadow.org onl5v4# vi shadow ~ ~ ~ onl5v4# onl5v4# ls -l hosts lrwxrwxrwx 1 root root 12 Feb 21 16:38 hosts -> ./inet/hosts onl5v4# ここでシステムをリブートする。 onl5v4# /usr/sbin/shutdown -i0 -g0 Shutdown started. Fri Feb 23 15:51:56 JST 2001 Do you want to continue? (y or n): y Changing to init state 0 - please wait Broadcast Message from root (console) on onl5v4 Fri Feb 23 15:51:58... THE SYSTEM onl5v4 IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: onl5v4: RPC: Program not registered onl5v4# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. syslogd: going down on signal 15 The system is down. INIT: failed write of utmpx entry:"s0" INIT: failed write of utmpx entry:"fw" syncing file systems... done Program terminated ok ok ok boot -r Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-5V, No Keyboard ROM Rev. 2.15.3, 48 MB memory installed, Serial #9149788. Ethernet address 0:80:42:b:2d:5c, Host ID: 808b9d5c. Rebooting with command: -r Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: - r SunOS Release 5.7 Version Generic_106541-06 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1999, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: onl5v4 Configuring the /devices directory Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s7: is clean. NIS domainname is kek.jp starting rpc services: rpcbind keyserv done. Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway onl5v4 syslog service starting. Print services started. volume management starting. The system is ready. onl5v4 console login: onl5v4 console login: root Password: Feb 23 15:56:17 onl5v4 login: ROOT LOGIN /dev/console Last login: Fri Feb 23 15:28:52 on console Sun Microsystems Inc. SunOS 5.7 Generic October 1998 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# ok. 正常に立ち上がった。 (4). ユーザ登録をする onl5v4# pwd /export/home onl5v4# ls -l total 16 drwx------ 2 root root 8192 Feb 21 16:33 lost+found onl5v4# mkdir onl5v4 onl5v4# ls -l total 18 drwx------ 2 root root 8192 Feb 21 16:33 lost+found drwxr-xr-x 2 root other 512 Feb 23 15:58 onl5v4 onl5v4# cd onl5v4 onl5v4# mkdir inoue onl5v4# chown inoue:kek inoue onl5v4# ls -l total 2 drwxr-xr-x 2 inoue kek 512 Feb 23 15:59 inoue onl5v4# vipw ~ ~ "/etc/ptmp" 20 lines, 928 characters You have modified the password file. Press 'e' to edit the shadow file for consistency, 'q' to quit: e ~ ~ onl50t# onlsun1[53]% telnet onl5v4 Trying 130.87.153.49... Connected to onl5v4. Escape character is '^]'. SunOS 5.7 login: inoue Password: Last login: Fri Feb 23 16:05:09 from onlsun1 Sun Microsystems Inc. SunOS 5.7 Generic October 1998 onl5v4% ls -l total 0 onl5v4% pwd /export/home/onl5v4/inoue onl5v4% ok. 正常にログインできた。 (5). ネットワークの設定を確認 ネットワークの設定を確認する。 onl5v4# ifconfig -a lo0: flags=849 mtu 8232 inet 127.0.0.1 netmask ff000000 le0: flags=863 mtu 1500 inet 130.87.153.49 netmask fffffc00 broadcast 130.87.155.255 ether 0:80:42:b:2d:5c onl5v4# netstat -rn Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 130.87.152.0 130.87.153.49 U 3 137 le0 224.0.0.0 130.87.153.49 U 3 0 le0 default 130.87.152.1 UG 0 1677 127.0.0.1 127.0.0.1 UH 0 3902 lo0 onl5v4# netstat -r Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 130.87.152.0 onl5v4 U 3 137 le0 BASE-ADDRESS.MCAST.NET onl5v4 U 3 0 le0 default ICCFG1 UG 0 1677 localhost localhost UH 0 3902 lo0 onl5v4# netstat -i Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue lo0 8232 loopback localhost 3963 0 3963 0 0 0 le0 1500 onl5v4 onl5v4 317576 0 5793 0 1 0 onl5v4# ok. 正しく設定できている。 (6). /kek シンボリックリンクを作る (6-1). / ディレクトリに /kek のシンボリックリンクを作る onl5v4# pwd / onl5v4# ls -l total 92 lrwxrwxrwx 1 root root 9 Feb 21 16:38 bin -> ./usr/bin drwxr-xr-x 2 root nobody 512 Feb 21 17:53 cdrom drwxrwxr-x 18 root sys 3584 Feb 23 15:54 dev drwxrwxr-x 5 root sys 512 Feb 21 17:35 devices drwxr-xr-x 32 root sys 3584 Feb 23 16:07 etc drwxrwxr-x 3 root sys 512 Feb 21 16:33 export dr-xr-xr-x 1 root root 1 Feb 23 15:54 home dr-xr-xr-x 1 root root 1 Feb 23 15:54 kekfs drwxr-xr-x 9 root sys 512 Feb 21 16:38 kernel lrwxrwxrwx 1 root root 9 Feb 21 16:38 lib -> ./usr/lib drwx------ 2 root root 8192 Feb 21 16:33 lost+found drwxr-xr-x 4 root root 512 Apr 30 1998 mnt dr-xr-xr-x 1 root root 1 Feb 26 10:26 net drwxrwxr-x 6 root sys 512 Feb 21 17:25 opt drwxr-xr-x 4 root sys 1024 Feb 21 16:40 platform dr-xr-xr-x 36 root root 11968 Feb 26 10:35 proc drwxrwxr-x 2 root sys 512 Feb 21 16:45 sbin drwxrwxrwt 6 sys sys 275 Feb 26 10:22 tmp drwxrwxr-x 31 root sys 1024 Feb 21 17:24 usr drwxr-xr-x 25 root sys 512 Feb 21 17:52 var dr-xr-xr-x 6 root root 512 Feb 23 15:54 vol dr-xr-xr-x 1 root root 1 Feb 23 15:54 xfn onl5v4# ln -s /kekfs/kek kek onl5v4# ls -l total 94 lrwxrwxrwx 1 root root 9 Feb 21 16:38 bin -> ./usr/bin drwxr-xr-x 2 root nobody 512 Feb 21 17:53 cdrom drwxrwxr-x 18 root sys 3584 Feb 23 15:54 dev drwxrwxr-x 5 root sys 512 Feb 21 17:35 devices drwxr-xr-x 32 root sys 3584 Feb 23 16:07 etc drwxrwxr-x 3 root sys 512 Feb 21 16:33 export dr-xr-xr-x 1 root root 1 Feb 23 15:54 home lrwxrwxrwx 1 root other 10 Feb 26 10:37 kek -> /kekfs/kek dr-xr-xr-x 1 root root 1 Feb 23 15:54 kekfs drwxr-xr-x 9 root sys 512 Feb 21 16:38 kernel lrwxrwxrwx 1 root root 9 Feb 21 16:38 lib -> ./usr/lib drwx------ 2 root root 8192 Feb 21 16:33 lost+found drwxr-xr-x 4 root root 512 Apr 30 1998 mnt dr-xr-xr-x 1 root root 1 Feb 26 10:26 net drwxrwxr-x 6 root sys 512 Feb 21 17:25 opt drwxr-xr-x 4 root sys 1024 Feb 21 16:40 platform dr-xr-xr-x 36 root root 11968 Feb 26 10:37 proc drwxrwxr-x 2 root sys 512 Feb 21 16:45 sbin drwxrwxrwt 6 sys sys 275 Feb 26 10:22 tmp drwxrwxr-x 31 root sys 1024 Feb 21 17:24 usr drwxr-xr-x 25 root sys 512 Feb 21 17:52 var dr-xr-xr-x 6 root root 512 Feb 23 15:54 vol dr-xr-xr-x 1 root root 1 Feb 23 15:54 xfn onl5v4# /kek ディレクトリーに正しくマウントできたかどうかチェック。 onl5v4# ls -lL /kek total 6 drwxr-xr-x 23 root sys 1024 Apr 1 1995 SUNWspro drwxr-xr-x 10 10101 10101 512 Jun 3 1997 cern drwxr-xr-x 6 root other 512 Oct 26 1999 compilers drwxr-xr-x 34 10101 10101 1024 Dec 8 1999 local onl5v4# ok. うまくマウントできた。 これでシステム設定は完了。 次に VMEドライバのインストールを行う。 ---xxxx(ここまでやった。継続中) --- (6). セクション (6-1). サブセクション (6-1-1). サブサブセクション