Information about installing a new 3x9 GB disk rack on chippewa: ================================================================ ==> done on Jul 8, 98 (T.Gaeng) - check SCSII unit # for current devices with "hinv" > chippewa:/(2)#hinv > Video: MVP unit 0 version 1.4 > AV: AV1 Card version 1, O2Cam type 1 version 0 connected. > FLASH PROM version 4.3 > On-board serial ports: 2 > On-board EPP/ECP parallel port > 1 195 MHZ IP32 Processor > FPU: MIPS R10010 Floating Point Chip Revision: 0.0 > CPU: MIPS R10000 Processor Chip Revision: 2.7 > Data cache size: 32 Kbytes > Instruction cache size: 32 Kbytes > Secondary unified instruction/data cache size: 1 Mbyte on Processor 0 > Main memory size: 256 Mbytes > Iris Audio Processor: version A3 revision 0 > Integral Ethernet: ec0, version 1 > Tape drive: unit 3 on SCSI controller 1: DAT > Disk drive: unit 1 on SCSI controller 1 > CDROM: unit 4 on SCSI controller 0 > Disk drive: unit 2 on SCSI controller 0 > CRM graphics installed > Integral SCSI controller 1: Version ADAPTEC 7880 > Integral SCSI controller 0: Version ADAPTEC 7880 > Vice: TRE - check current local disk space usage with "df -lk" > chippewa:/(4)#df -lk > Filesystem Type kbytes use avail %use Mounted on > /dev/root xfs 4253360 2414840 1838520 57 / > /dev/dsk/dks1d1s7 xfs 8255680 7432264 823416 91 /disk1 - check local mount table: > chippewa:/(7)#more /etc/mtab > /dev/root / xfs rw,raw=/dev/rroot 0 0 > /proc /proc proc rw 0 0 > /dev/fd /dev/fd fd rw 0 0 > /dev/dsk/dks1d1s7 /disk1 xfs rw 0 0 > ... - add following entries in /etc/fstab: > /dev/dsk/dks1d5s7 /disk5 xfs rw 0 0 > /dev/dsk/dks1d6s7 /disk6 xfs rw 0 0 > /dev/dsk/dks1d7s7 /disk7 xfs rw 0 0 > /dev/dsk/dks1d5s1 swap swap pri=0 0 0 > /dev/dsk/dks1d6s1 swap swap pri=0 0 0 > /dev/dsk/dks1d7s1 swap swap pri=0 0 0 - turn off power on computer and all devices (disks, DATS,...) => IMPORTANT: disks might get damaged if not "hot swap-able" (D.S.) - take out the terminator on the last device (external disk (=disk1) of the SCSI chain - connect new hard disks to disk1 via SCSI cable => watch out that all cable (internal+external) are < 3m (D.S.) - connect new DAT drive to SCSI chain + put terminator on DAT (=> see also "DAT-install.infos" for DAT dirve setup) - set unique unit numbers for each device (on 3x9GB disk rack change the wheel for each disk) - turn power on (disks first to spin up) => found out that UPS can't handle all new devices. Changed power supplies so that monitor and DAT drive are not on UPS. - new disks are not mounted at boot-time => advice from Chris Heck: use "fx -x" to re-partition the disks - "fx" session on chippewa: => read man page for ´fx' for details => do this for each disk (new disks = disk5, disk6, disk7) > chippewa:/(13)#fx -x > fx version 6.3, Nov 26, 1996 > fx: "device-name" = (dksc) #controller types dksc = SCSI drive > fx: ctlr# = (0) 1 #Controller number (1=external,0=communication) > fx: drive# = (1) 6 #disk drive# = SCSI ID > fx: lun# = (0) > ...opening dksc(1,6,0) > > fx: partitions in use detected on device > fx: devname seq start end owner cause > fx: /dev/rdsk/dks1d6s1 1 9108 327887 swap already in use > > fx: Warning: this disk appears to have mounted filesystems. > Don't do anything destructive, unless you are sure > nothing is really mounted on this disk. > > ...controller test...OK > Scsi drive type == MICROP 3391SS > > ----- please choose one (? for help, .. to quit this menu)----- > [exi]t [d]ebug/ [l]abel/ [a]uto > [b]adblock/ [exe]rcise/ [r]epartition/ [f]ormat > > fx> r > > ----- partitions----- > part type cyls blocks Megabytes (base+size) > 1: raw 2 + 70 9108 + 318780 4 + 156 > 7: xfs 72 + 3832 327888 + 17450928 160 + 8521 > 8: volhdr 0 + 2 0 + 9108 0 + 4 > 10: volume 0 + 3904 0 + 17778816 0 + 8681 > > capacity is 17780058 blocks > > ----- please choose one (? for help, .. to quit this menu)----- > [ro]otdrive [o]ptiondrive [e]xpert > [u]srrootdrive [re]size > > fx/repartition> o > > fx/repartition/optiondrive: type of data partition = (xfs) > fx/repartition/optiondrive: create usr log partition? = (yes) no > Warning: you will need to re-install all software and restore user data > from backups after changing the partition layout. Changing partitions > will cause all data on the drive to be lost. Be sure you have the drive > backed up if it contains any user data. Continue? yes > > ----- partitions----- > part type cyls blocks Megabytes (base+size) > 7: xfs 2 + 3902 9108 + 17769708 4 + 8677 > 8: volhdr 0 + 2 0 + 9108 0 + 4 > 10: volume 0 + 3904 0 + 17778816 0 + 8681 > > capacity is 17780058 blocks > > ----- please choose one (? for help, .. to quit this menu)----- > [ro]otdrive [o]ptiondrive [e]xpert > [u]srrootdrive [re]size > fx/repartition> .. > > ----- please choose one (? for help, .. to quit this menu)----- > [exi]t [d]ebug/ [l]abel/ [a]uto > [b]adblock/ [exe]rcise/ [r]epartition/ [f]ormat > > fx> exit - create filesystem on disk: > chippewa:/(14)#mkfs /dev/dsk/dks1d6s7 > meta-data=/dev/dsk/dks1d6s7 isize=256 agcount=9, agsize=246802 blks > data = bsize=4096 blocks=2221213, imaxpct=25 > log =internal log bsize=4096 blocks=1000 > realtime =none extsz=65536 blocks=0, rtextents=0 - make mount point: > chippewa:/(16)#mkdir /disk6 - mount new disk > chippewa:/(17)#mount /disk6 - make disks accessbile: >chippewa:/(18)#chmod 775 /disk* - check new disk usage: > chippewa:/(18)#df -l > Filesystem Type kbytes use avail %use Mounted on > /dev/root xfs 4253360 2415340 1838020 57 / > /dev/dsk/dks1d1s7 xfs 8255680 7432736 822944 91 /disk1 > /dev/dsk/dks1d5s7 xfs 8880636 160 8880476 1 /disk5 > /dev/dsk/dks1d6s7 xfs 8880852 160 8880692 1 /disk6 > /dev/dsk/dks1d7s7 xfs 8880636 160 8880476 1 /disk7 - check disk specs from hinv: > chippewa:/disk5/Patches(39)#hinv > Video: MVP unit 0 version 1.4 > AV: AV1 Card version 1, O2Cam type 1 version 0 connected. > FLASH PROM version 4.3 > On-board serial ports: 2 > On-board EPP/ECP parallel port > 1 195 MHZ IP32 Processor > FPU: MIPS R10010 Floating Point Chip Revision: 0.0 > CPU: MIPS R10000 Processor Chip Revision: 2.7 > Data cache size: 32 Kbytes > Instruction cache size: 32 Kbytes > Secondary unified instruction/data cache size: 1 Mbyte on Processor 0 > Main memory size: 256 Mbytes > Iris Audio Processor: version A3 revision 0 > Integral Ethernet: ec0, version 1 > Disk drive: unit 7 on SCSI controller 1 > Disk drive: unit 6 on SCSI controller 1 > Disk drive: unit 5 on SCSI controller 1 > Tape drive: unit 3 on SCSI controller 1: DAT > Disk drive: unit 1 on SCSI controller 1 > CDROM: unit 4 on SCSI controller 0 > Disk drive: unit 2 on SCSI controller 0 > CRM graphics installed > Integral SCSI controller 1: Version ADAPTEC 7880 > Integral SCSI controller 0: Version ADAPTEC 7880 > Vice: TRE - put shared disk infos in /etc/exports: > chippewa:/(44)#vi /etc/exports > # NFS exported filesystem database (see exports(4) for more information). > # > # Entries in this file consist of lines containing the following fields: > # > # filesystem [ options ] [ netgroup ] [ hostname ] ... > # > # Filesystem must be left-justified and may name any directory within a > # local filesystem. A backslash (\) at the end of a line permits splitting > # long lines into shorter ones. Netgroup(4) and hostname refer > # to machines or collections of machines to which filesystem is exported. > # > #/disk1 -root=cherokee,rw,nohide cherokee cheyenne apache sunshower wolfson comanche > #/disk1 -root=cherokee,rw,nohide cherokee:cheyenne:apache:sunshower:wolfson:comanche > #/disk1 -rw,access=mdisas:cherokee:cheyenne:apache:sunshower:comanche:wolfson > /disk7 -rw,access=mdisas:cheyenne:chippewa:apache:sunshower:comanche:wolfson > /disk5 -rw,access=mdisas:cheyenne:chippewa:apache:sunshower:comanche:wolfson > /disk6 -rw,access=mdisas:cheyenne:chippewa:apache:sunshower:comanche:wolfson > /disk1 -root=cherokee,rw,access=mdisas:cherokee:cheyenne:apache:sunshower:comanche:wolfson > / -rw,access=mdisas:cherokee:cheyenne:apache:sunshower:comanche:wolfson - activate autofs with this file via: > chippewa:/(44)#exportfs -av > exported /disk7 > exported /disk5 > exported /disk6 > re-exported /disk1 > re-exported / - reboot to test if everything works afer reboot too --- CHIPPEWA, Aug-17-1998 ----------------------------------------------------------- Steps to create swap partition of disk7: ======================================== => WARNING: this will destroy all data on disk7 - use 'fx -x' to re-partition the disk: ===> typo on disk ID wiped out user disk (=disk1) ===> restored user disk with data from last backup