Q: – What is the command to do an interactive boot from the ok prompt?
After Power on, press, STOP+A at the ok prompt type, ok>boot –a
Q: – How can u check parameters in ok boot prompt?
Q: – How to Formating a disk in solaris?
add the disk , run devfsadm command
then format command > select disk , enter the required details for formating
create a new partition table using the format command.
then create a new file system on it using
mount /dev/dsk/c0t0d0s0 /mnt
then put its entry in /etc/vfstab
Q: – How do we know how many LAN cards we have in server?
Just Type in the following command at prompt#ifconfig -a.That shall give the LAN Cards as well as total Physical and Logical IP Addresses dmesg – It displays all configured items on systems.
Q: – Which command display diagnostics in ok boot prompt?
– Diagnostic Test Commands
1) watch-net % To check network connections
2) test net % To test network conection
3) probe-scsi % To find the devices attached to SCSI BUS.
Q: – What is the difference between /dev/dsk and /dev/rdsk ?
In Solaris whenever we create a new slice using format command a raw physical slice or a Raw Device will be created which is addressed as /dev/rdsk/c#d#s# where # is the number for slice.
After formatting it with newfs command the slice will be addressed as /dev/dsk/c#d#s# which can now be used for mounting.
eg. newfs /dev/rdsk/c0d0s4
mount /dev/dsk/c0d0s4 /oracle
After mounting /dev/dsk/c#d#s# is called as Block Device
/dev actually contains logical device names which are links (Shortcuts in windows terminology) to actual physical devices in /devices directory.
Submitted By:-Jack Email-ID: – email@example.com