Crucial Paradigm

Call us now 1300 884 839

Member Login
Australia USA

Location: Australia

Crucial Paradigm Australia Official Blog

RSS Feed

solaris

How to mount a CD/DVD drive in Solaris?

February 19, 2010

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.


No Comments

How to find your IP address on Solaris

February 17, 2010

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


No Comments

How to enable root access via SSH in Solaris

February 17, 2010

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.


No Comments

How to restart SSH in Solaris

February 17, 2010

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


No Comments

How to test the speed on my ZFS array – Solaris

February 16, 2010

Want to test the write speeds on your ZFS array?

An easy way to do this is:

time (mkfile 100g /tank/foo)

You will get an output looking something like this:

real    5m01.332s
user    0m0.335s
sys     0m37.958s

To calculate how many MBytes per second the write was, you can use the following formula:

number of MB (102400)/number of minutes (5)/60  = MB/s (in this case it would be 341.34 MB/s)


(2) Comments

How to configure RAID 10 using ZFS

February 16, 2010

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


No Comments

Which version of Solaris am I running?

February 16, 2010

If you are trying to find which version of Solaris you are running, you can run the following command:

cat /etc/release


No Comments

How to list all drives installed in Solaris/OpenSolaris

November 24, 2009

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


(1) Comment

Copyright 2003-2012 © Crucial Paradigm Pty Ltd, All Rights Reserved