+ Reply to Thread
Results 1 to 6 of 6

How do I list all my drives in Solaris 10?

  1. How do I list all my drives in Solaris 10?

    Hello.

    Normally in Linux one can do a "fdisk -l" to see what disks they have
    in their system and what the system calls them (e.g. c0d01) so one can
    mount them. If I don't know what the disk is called how can I mount
    them? Not all my disks are in /etc/vfstab. What is the command in
    Solaris?

    Also, how does one list devices that they have but are not
    configured? I have an ethernet card I'd like to configure but I have
    no clue what solaris 10 is calling it so I cannot do an ifconfig.

    I've also wondered why seemingly Solaris 10 lacks a "sysctl" command
    one finds in OS X, Linux and the BSDs. What is the Solaris 10 sysctl
    command?


    Regards,
    karen

    P.S. Has there been any discussion about porting OpenBSD's
    "pf" (packet filter) to Solaris?


  2. Re: How do I list all my drives in Solaris 10?

    Karen Hill wrote:
    > Hello.
    >
    > Normally in Linux one can do a "fdisk -l" to see what disks they have
    > in their system and what the system calls them (e.g. c0d01) so one can
    > mount them. If I don't know what the disk is called how can I mount
    > them? Not all my disks are in /etc/vfstab. What is the command in
    > Solaris?


    format

    >
    > Also, how does one list devices that they have but are not
    > configured? I have an ethernet card I'd like to configure but I have
    > no clue what solaris 10 is calling it so I cannot do an ifconfig.


    prtdiag
    prtconf -v

    To see all possible network interfaces try

    ifconfig -a plumb

    then

    ifconfig -a

    (this assumes that you have suitable drivers installed.)

    >
    > I've also wondered why seemingly Solaris 10 lacks a "sysctl" command
    > one finds in OS X, Linux and the BSDs. What is the Solaris 10 sysctl
    > command?


    Depends what you want to do.

    > P.S. Has there been any discussion about porting OpenBSD's
    > "pf" (packet filter) to Solaris?


    ipfilter is there to use.

    --
    Geoff Lane, Airstrip One

    Today's Excuse: Your mail is being routed through Germany ... and they're
    censoring us.

  3. Re: How do I list all my drives in Solaris 10?

    Karen Hill wrote:
    > Hello.
    >
    > Normally in Linux one can do a "fdisk -l" to see what disks they have
    > in their system and what the system calls them (e.g. c0d01) so one can
    > mount them. If I don't know what the disk is called how can I mount
    > them? Not all my disks are in /etc/vfstab. What is the command in
    > Solaris?
    >
    > Also, how does one list devices that they have but are not
    > configured? I have an ethernet card I'd like to configure but I have
    > no clue what solaris 10 is calling it so I cannot do an ifconfig.
    >
    > I've also wondered why seemingly Solaris 10 lacks a "sysctl" command
    > one finds in OS X, Linux and the BSDs. What is the Solaris 10 sysctl
    > command?
    >
    >
    > Regards,
    > karen
    >
    > P.S. Has there been any discussion about porting OpenBSD's
    > "pf" (packet filter) to Solaris?
    >

    Try
    # iostat -xnp

    This command dumps the disk statistic, but it also gives you the disk
    name at the same time.

    HTH

  4. Re: How do I list all my drives in Solaris 10?

    Karen Hill wrote:
    > Hello.


    You are again making the mistake to believe that Solaris is some kind of
    Linux distro. It's not, it's UNIX.

  5. Re: How do I list all my drives in Solaris 10?

    On Tue, 24 Apr 2007 12:35:16 -0700, Karen Hill wrote:

    > Normally in Linux one can do a "fdisk -l" to see what disks they have
    > in their system and what the system calls them (e.g. c0d01) so one can
    > mount them. If I don't know what the disk is called how can I mount
    > them? Not all my disks are in /etc/vfstab. What is the command in
    > Solaris?


    First you need to generate the alias names for the drives. devfsadm(1M)

    Then you can format(1M), label and partition them.

    > Also, how does one list devices that they have but are not
    > configured? I have an ethernet card I'd like to configure but I have
    > no clue what solaris 10 is calling it so I cannot do an ifconfig.


    Again the device alias must be created, devfsadm(1M). Then execute
    sys-unconfig(1M) to configure the ethernet controllers.

    > I've also wondered why seemingly Solaris 10 lacks a "sysctl" command
    > one finds in OS X, Linux and the BSDs. What is the Solaris 10 sysctl
    > command?


    As Thommy has clearly pointed out, Solaris ain't Linux. See system(4).


  6. Re: How do I list all my drives in Solaris 10?

    On Apr 24, 9:35 pm, Karen Hill wrote:
    > Hello.
    >
    > Normally in Linux one can do a "fdisk -l" to see what disks they have
    > in their system and what the system calls them (e.g. c0d01) so one can
    > mount them. If I don't know what the disk is called how can I mount
    > them? Not all my disks are in /etc/vfstab. What is the command in
    > Solaris?
    >
    > Also, how does one list devices that they have but are not
    > configured? I have an ethernet card I'd like to configure but I have
    > no clue what solaris 10 is calling it so I cannot do an ifconfig.
    >
    > I've also wondered why seemingly Solaris 10 lacks a "sysctl" command
    > one finds in OS X, Linux and the BSDs. What is the Solaris 10 sysctl
    > command?
    >
    > Regards,karen
    >
    > P.S. Has there been any discussion about porting OpenBSD's
    > "pf" (packet filter) to Solaris?


    http://bhami.com/rosetta.html




+ Reply to Thread