By default Solaris installs the /export and /export/home filesystems in the root zfs pool, if you picked ZFS and not UFS as the filesystem. I wanted to relocate /export and /export/home to a larger ZFS pool other than the root…
How to rebuild a Solaris 10 server using the ZFS Root Pool Snapshots
Solaris 10 has provides the ability to recover from a disk drive failure using ZFS root pool snapshots. The snapshot can also be used to quickly rebuild a new server in the event of a disaster. Snapshot is different from…
Changing the default boot device on a Sparc server
You can display and change the default boot device on a SUN Sparc server from the eeprom console. List the bootable devices with the devalias command, ok devalias cdrom /pci@0,600000/pci@0/pci@0/scsi@0/disk@4,0:f net /pci@0,600000/pci@0/pci@1/pci@0/network@4 disk /pci@0,600000/pci@0/pci@0/scsi@0/disk@0 name aliases List the current boot…
How to list the status of swap in Solaris
List the status of all swap areas. # swap -l swapfile dev swaplo blocks free dev/dsk/c0t0d0s1 32,9 16 8425712 8425712 The output has five columns: path The path name for the swap area. dev The major/minor device number in decimal…
How to change the IP address in Solaris 10
Here is a list of files that you need to edit when changing the IP address of an interface in Solaris 10. /etc/hosts /etc/hostname.interface-name /etc/nodename /etc/defaultrouter /etc/resolv.conf /etc/netmasks Add the ip address and server name to the host file. vi…
How to configure Samba on Solaris 10
If you need to find the version of Samba installed on the Solaris 10 server use the command smbstatus. # /usr/sfw/bin/smbstatus Samba version 3.0.35 PID Username Group Machine ——————————————————————- 1962 andrew users mypc (162.10.21.100) Service pid machine Connected at ——————————————————-…