kapot
asked on
Adding a SCSI disk
Hi,
Anyone can show me a step-by-step procedure to add a new SCSI disk into a Sun Solaris system?
So, imagine a working Sun Solaris system and I bought a new SCSI disk (from Sun).
I put the disk inside.
Now what?
Please describe the steps in much detail.
The disk should be mounted in /backup
The goal is to use the disk and write a small text file in it.
Thanks
Anyone can show me a step-by-step procedure to add a new SCSI disk into a Sun Solaris system?
So, imagine a working Sun Solaris system and I bought a new SCSI disk (from Sun).
I put the disk inside.
Now what?
Please describe the steps in much detail.
The disk should be mounted in /backup
The goal is to use the disk and write a small text file in it.
Thanks
ASKER
Hi yuzh,
How did you get the "s7" from the /c0t1d0s7 ?
When I run format, it displays only something like /c0t1d0
How did you get the "s7" from the /c0t1d0s7 ?
When I run format, it displays only something like /c0t1d0
Hi,
The device name foe the disk is c0t1d0 (controller 0 target 1 disk 0).
Each disk can have up to 8 partitions / slices from 0 to 7.
When you want to refer to partition 7 / slice 7 device name to create a file system / mount it then you use c0t1d0s7
The device name foe the disk is c0t1d0 (controller 0 target 1 disk 0).
Each disk can have up to 8 partitions / slices from 0 to 7.
When you want to refer to partition 7 / slice 7 device name to create a file system / mount it then you use c0t1d0s7
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
( <Stop> A, to get to OBP), type in:
probe-scsi
to make sure the box can see the new hard disk, then perform a reconfigure boot, by typing in:
boot -rv
when the system fully boot up, login as root (or login as a user then su as root), then:
1. run format -> partition the new disk
2. creat a new file systems on the hard disk :
eg:
newfs /dev/rdsk/c0t1d0s7
3. create the mount point for the hard disk:
mkdir /backup
4. edit /etc/vfstab
/dev/dsk/c0t1d0s7 /dev/rdsk/c0t1d0s7 /backup ufs 2 yes -
5. mount the hard disk:
mount /backup
Note: please replace c0t1d0s7 with your real disk partion name.