New to Solaris (Checking/Adding network and harddisk)


 
Thread Tools Search this Thread
Operating Systems Solaris New to Solaris (Checking/Adding network and harddisk)
# 1  
Old 10-17-2015
New to Solaris (Checking/Adding network and harddisk)

Hi all,

As per the topic goes,

q1) how do i check remotely (over ssh) - how many physical network interfaces I really have ? -- if an interface exists before and it got plug out, it must not be show again.

-- i tried dladm show-link and ifconfig -a, but it seems to show a previously existed interface (that is not around anymore -- but i try this on a VM though...)

q2) is there anyway to check how many network cards physically exists and which interfaces are on the individual cards ?

q3) just curious, what does "plumb" really means ? why do we even need it ?

q4) what are the steps that should be done when i add a harddisk into the system ? how do i detect the harddisk without rebooting the system ?

is the steps below correct
a) devfsadm
b) format
c) mkfs
d) mount ?

q5) lastly, can i say that in SPARC system, each partition in a disk = slice while in X86 platform , each partition in a disk is a partition and slices exists INSIDE the partition

Regards,
Noob
# 2  
Old 10-17-2015
Regarding the network part

First of all, whenever you change something hardware wise, run the following:
Quote:
touch /reconfigure
init 6
rm -rf /reconfigure
There are several ways to force Solaris to scan and update it self for new hardware but this is the method I like the most.

Second, using the following command you can see all the Ethernet cards that are physically connected to the computer:
Quote:
dladm show-dev
Third, before you can use the card you need to plumb it, basically it allows the OS to use it and assign an IP to it, once you do that you'll see it when you run ifconfig. You plumb an interface only once, the automatic plumbing job belongs to the file you create per interface:
Quote:
/etc/hostname.e1000g0
/etc/hostname.e1000g1
and so on..
This User Gave Thanks to dennis3 For This Post:
# 3  
Old 10-18-2015
Quote:
Originally Posted by javanoob
As per the topic goes
You should tell what Solaris release you are using, administration tasks changed a lot with Solaris 11. For example creating a "/etc/hostname.e1000g0" file has no effect on Solaris 11.
Quote:
q5) lastly, can i say that in SPARC system, each partition in a disk = slice while in X86 platform , each partition in a disk is a partition and slices exists INSIDE the partition
SPARC systems do not use fdisk partitions so might call disk slices partitions.
x86 systems use fdisk partitions so try to avoid calling slices partitions.
Slices are indeed areas inside the Solaris fdisk partition on x86 while on SPARC, there is no intermediary layer.
EFI (GPT) changed all of that.
ZFS prefer to use whole disks so obsoleted the requirement for multiple partitions/slices.
This User Gave Thanks to jlliagre For This Post:
# 4  
Old 10-18-2015
Quote:
Originally Posted by jlliagre
You should tell what Solaris release you are using, administration tasks changed a lot with Solaris 11. For example creating a "/etc/hostname.e1000g0" file has no effect on Solaris 11.

SPARC systems do not use fdisk partitions so might call disk slices partitions.
x86 systems use fdisk partitions so try to avoid calling slices partitions.
Slices are indeed areas inside the Solaris fdisk partition on x86 while on SPARC, there is no intermediary layer.
EFI (GPT) changed all of that.
ZFS prefer to use whole disks so obsoleted the requirement for multiple partitions/slices.
Hi jlliagre and all,

I am on Solaris 10.

Can I just use devfsadm -Cv to allow detection of the new disks ? I am notallow to reboot the sytem.

Regards,
Noob
# 5  
Old 10-18-2015
Yes, you can use devfsadm for that purpose.
This User Gave Thanks to fpmurphy For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Procedure for adding a new harddisk to a server

how will you add new new HDD to server and explain the HDD installation procedure? (2 Replies)
Discussion started by: gopikumar
2 Replies

2. UNIX for Advanced & Expert Users

need help adding network printer on SVR4

We have a very old and unsupported box. It runs DC/OSx, SVR4. For the past 12 years all printers have been connected via terminal servers and working well. Now those terminal servers are dying and cannot be replaced or repaired. Of course the right solution is to upgrade, but that's not gonna... (10 Replies)
Discussion started by: jbcamel
10 Replies

3. Solaris

Network interface down after adding static route

Please , I have a problem I have add a statis route on Solaris 10, but after this, the network interface of Server was Offline. The system is in cluster mode (3.2) route add -net 10.10.1.128 -netmask 255.255.255.128 10.10.1.51 ------------------- lo0:... (1 Reply)
Discussion started by: Ruggero
1 Replies

4. Solaris

how to install solaris on portable external harddisk

Hi Fnds, I dont have enough space on my Vista based PC and I want solais to be installed on a portable external hard disk. Can anybody tell me how I can install solaris on external harddisk. cheers :), Vinodky (1 Reply)
Discussion started by: vinodky
1 Replies

5. Windows & DOS: Issues & Discussions

Adding subnet on windows network

Hi All, I have a windows network that I need to improve network speed. Unfortunately, it's running on one subnetwork. So I would like to put multi subnet on it. I don't want to put cisco routing and switching yet. I'm new to it and I would like to put linksys router and unmanaged switch for... (1 Reply)
Discussion started by: itik
1 Replies

6. Shell Programming and Scripting

Network checking while running a script

hi, i am new to this scripting stuff so please help. i need a script that should check network connection while process.bsh is running which connects to a server for some time (e.g. 30 secs to a minute) and I wanted to make sure that network interruption does not happen during this time period... (2 Replies)
Discussion started by: bun $ ny
2 Replies

7. Solaris

solaris 10 errors mount external usb Harddisk zfs on a nas without cdrom

Hi, I try to mount an external USB HD on a solaris 10 without any success. Machine hardware: i86pc OS version: 5.10 Processor type: i386 Hardware: i86pc The HD is a zfs, but I installed this with a Ubuntu 8.10. iostat -En displays this: --> so the system... (0 Replies)
Discussion started by: edubidu
0 Replies

8. UNIX for Dummies Questions & Answers

Adding a Unix Server to a Windows 2000 Network

Hi everyone Firstly I apologise for my total lack of knowledge about UNIX. Its unfortunately something I have never had any exposure to (Until Now). I administer a smallish Windows 2000 network with all the usual bits and pieces that involves, and have been given the task of joining a Unix... (3 Replies)
Discussion started by: maestro
3 Replies

9. UNIX for Dummies Questions & Answers

Adding a network printer

I recently added an HP deskjet printer to our Solaris network. I deleted the old printer which this one is replacing. I did everything in Printer Admin. I could think of. The problem now is that when I go to print something out of Star Office, my new printer is not a valid choice from the drop... (3 Replies)
Discussion started by: awells
3 Replies
Login or Register to Ask a Question