Sep
17
Mounting a CD-ROM Manually:
- Log on as user root.
- Create a mount point for CD-ROM with the command:
mkdir <CD-mountdir>
(usually <CD-mountdir> is /sapcd).
3. Make sure that the driver is part of the kernel (skip this step if the CD drive is already working):
grep cdfs /stand/system
If the driver is not configured, you have to add the string cdfs to the file /stand/system and rebuild the kernel. Reboot the system after rebuilding the kernel.
4. Mount the CD-ROM with the command:
mount -r -F cdfs /dev/dsk/<diskdevice> <CD-mountdir>
<diskdevice> is c0t4d0, a CD drive with hardware address 4.
Mounting a CD-ROM Using SAM:
1. Enter the command
/usr/sbin/sam
2. Select:
Disks and Filesystems → Disk Devices → Actions → Mount
3. Enter the mount directory
<CD-mountdir>
(for example, <CD-mountdir> is /sapcd).
4. Perform task.
5. Exit SAM.
Tags: cd, cd-rom, drive, dvd, hp-ux, mounting
Sep
17
# mount -v cdrfs -o ro /dev/cd0 /mnt
Tags: aix, cd, dvd, mount
Jul
09
Solaris Useful commands at OK prompt. |
Dignostics: |
boot |
General |
banner
this command shows the following systems hardware informatiion : Model,architecture, processor,keyboard, openboot version, Serial no. ethernet address & host id.
test floppy - test floppy disk drive test net - test network loopbacks test scsi - test scsi interface test-all test for all devices with selftest
method
watch-clock
Show ticks of real-time clock
watch-net
Monitor network broadcast packets
watch-net-all
Monitor broadcast packets on all net interfaces
probe-scsi
Show attached SCSI devices
probe-scsi-all
Show attached SCSI devices for all host adapters- internal & external.
|
boot - boot kernel from default device. Factory default is to boot from DISK if present, otherwise from NET.
boot net - boot kernel from network boot cdrom - boot kernel from CD-ROM boot disk1:h - boot from disk1 partition h boot tape - boot default file from tape boot disk myunix -as - boot myunix from disk with flags "-as"
DEVALIAS
ok>show-devs
ok cd /pci@1f,4000/scsi@3
ok .properties
ok
ls
f00809d8 tape
f007ecdc disk
ok
.speed
CPU Speed :200.00MHz
UPA Speed :100.00MHz
PCI Bus A :66Mhz
PCI Bus B :33Mhz
|
printenv Display all variables and current values.
setenv <variable> Set variable to the given value.
set-default
<variable>
Reset the value of variable to the factory default.
set-defaults
Reset variable values to the factory defaults.
|
Key Sequences
These commands are disabled if the PROM security is on. Also, if your system has full security enabled, you cannot apply any of the suggested commands unless you have the password to get to the ok prompt.
Stop - Bypass POST. This command does not depend on security-mode. (Note: some systems bypass POST as a default; in such cases, use Stop-D to start POST.)
Stop-A
Abort.
Stop-D - Enter diagnostic mode (set diag-switch? to true).
Stop-F - Enter
"urn:schemas-microsoft-com:office:smarttags" />
w:st="on">Forth on TTYA instead of probing. Use exit to continue with the initialization sequence. Useful if hardware is broken.
Stop-N Reset NVRAM contents to default values.
|
Start an OpenBoot Diagnostics
<STOP A>
OK setenv diag-switch? true
OK setenv auto-boot? false
OK reset-all
OK test-all or obdiag
Configure Graphics Console (e.g. Sun XVR-100 Graphics Accelerator) instead of serial TTYA
OK show-displays
Select the graphics accelerator, e.g. b
OK nvalias mydev <CTRL-Y>
OK setenv output-device mydev
OK setenv use-nvramrc? true
OK reset-all
Tags: a, banner, boot, boot cdrom, boot disk, boot net, boot tape, cd, commands, diag, disk, myunix, nvalias, ok, ok prompt, printenv, probe-scsi, probe-scsi-all, prompt, properties, set-default, setenv, show-devs, solaris, speed, stop, switch, test floppy, test net, useful, watch-clock, watch-net, watch-net-all
Recent comments