Crucial Paradigm Australia Official Blog
unix
If you are having trouble mounting a CD or DVD in Solaris, you are not alone!
First you need to find the CD/DVD drive. You can do this by using the following command:
iostat -Ee
This will list all your drives, just look for the one which has 0GB storage, or the model number of your CD-ROM drive.
Once you have found that, you need to create the directory to mount the CD-ROM drive, and then mount the CD-DROM drive:
mkdir /cdrom
chmod a+wrx
mount -F hsfs -o ro /dev/dsk/c0t0d0p0 /cdrom
Where c0t0d0p0 is the device ID of your CD-ROM drive.
NOTE: We had an issue where iostat -Ee only listed part of the model number (c0t0d0) and we had to add p0 to the end to get it working. We found this out be browsing /dev/dsk/ and finding all devices with c0t0d0 in them.
If you are Linux user like myself, and you give Solaris a go you will probably be scratching your head how to find out which IPs are assign to which interfaces. The following are 2 methods to do this:
ifconfig -a
netstat -in
This can be done in the same manner it is done on most Unix/Linux systems. Open /etc/ssh/sshd_config (using vi is probably a good start), and replace the line:
PermitRootLogin no
With:
PermitRootLogin yes
Once you have done this, restart ssh.
If you are coming from a Linux background, and having trouble restarting SSHD on Solaris, this is the way it can be done:
#svcadm restart svc:/network/ssh:default
ZFS is a software based file system which allows you to do RAID in software. It is extremely fast and flexible, and has online error detection (unlike hardware RAID cards). This is a great way to run file servers.
To setup RAID 10 in ZFS, you run the following command:
zpool create tank mirror disk1 disk2 mirror disk3 disk4 mirror disk5 disk6
Where disk1, disk2, disk3, disk4, disk5, and disk6s are your hard drives. How to list all drives installed in Solaris/OpenSolaris
If you are trying to find which version of Solaris you are running, you can run the following command:
cat /etc/release
You can use the following command to list all the drives in Solaris or OpenSolaris. This is useful if you are adding new drives, etc via zfs.
iostat -eE
Or
format



