Sponsored Content
Full Discussion: how many disks do I have?
Top Forums UNIX for Dummies Questions & Answers how many disks do I have? Post 9684 by guest100 on Thursday 1st of November 2001 06:15:44 AM
Old 11-01-2001
You can also try

<pre>

df -k

</pre>

this will show you the disks and their partitions.
Do a little bit of a research
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Disks on AIX

Hello I've been working on AIX 5.3 ML3 on IBM pSeries520. That server has 6 HDD drives in 3 volume groups (1+mirror in each group). I must check which phisical disk is which disk in the system. For ex. I want to know that disk in 4th slot in the machine is marked as hdisk5 on AIX. Does anybody... (2 Replies)
Discussion started by: piooooter
2 Replies

2. AIX

SCSI Disks

Hi Is it possible to install in p5 and pSeries SCSI Disks from SUN on DELL? Will they work? Regards, Pit (0 Replies)
Discussion started by: piooooter
0 Replies

3. Solaris

New Array of disks

I was just curious if anyone has a good tutorial or some info about how I can create and add an array of disks to solaris 8 (11 Replies)
Discussion started by: BRaider
11 Replies

4. Solaris

What do you use to wipe your disks?

What are y'all using to wipe your solaris disks? I am being question by IT Security, what I am using to wipe disk. Is anyone using a 3rd party utility? I have used the format utility in solaris previously. But they are looking for something commercial that I can use. Anyone have... (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

5. AIX

disks broke?

hay I'm new in the AIX-environment. Right now i'm testing some stuff out. But i can't test the LVM-part which is (to me) very important. I have 2 disks in my testmachine but it seems only 1 is working wel. I'll show you the output below of the disks... hdisk0 = in good condition hdisk2 =... (8 Replies)
Discussion started by: kvanelshocht
8 Replies

6. Solaris

disks in solaris

whats the command to find name of all disks. Is it iostat -En ? (1 Reply)
Discussion started by: vikashtulsiyan
1 Replies

7. Solaris

Re-using disks

I would like to know if I can move the disks from a V240 chassis into a V440 chassis to use the increased resources (CPU & Memory) to boost performance. I know you can move disks between V210/240 chassis's, but I'm not sure if this would work between 240s & 440s. Any help would be much appreciated. (4 Replies)
Discussion started by: Chains
4 Replies

8. Solaris

host cannot see FC disks

Have a V440 server which we need to connect up to a SE6140. Did the zoning on the 3900 brocade silkworm and did mapping from the array to the host manually host initiator did not autodetect the wwn and had to key in manually. probe-scsi-all cannot show the fc disks. What is the problem here? (7 Replies)
Discussion started by: incredible
7 Replies

9. Filesystems, Disks and Memory

FC related disks

Dear Friends, I would like know what are FC related disks and how it will be viewed by generic OSes (Unix, Unix like, Windows & etc.) AFAIK it is viewed by generic OS as SCSI. Can we have FC related disks as internal storage(physically) of general purpose machine (Server / PC /... (1 Reply)
Discussion started by: Tlogine
1 Replies

10. Solaris

How to tell what disks are used for a zpool?

Hello, Does anyone know how I can tell what disk are being not being used by a zpool? For example in Veritas Volume manager, I can run a "vxdisk list" and disks that are marked as "online invalid" are disk that are not used. I'm looking for a similar command in ZFS which will easily show... (5 Replies)
Discussion started by: robertinoau
5 Replies
PARTX(8)						       System Administration							  PARTX(8)

NAME
       partx - tell the kernel about the presence and numbering of on-disk partitions

SYNOPSIS
       partx [-a|-d|-P|-r|-s|-u] [-t type] [-n M:N] [-] disk
       partx [-a|-d|-P|-r|-s|-u] [-t type] partition [disk]

DESCRIPTION
       Given a device or disk-image, partx tries to parse the partition table and list its contents.  It can also tell the kernel to add or remove
       partitions from its bookkeeping.

       The disk argument is optional when a partition argument is provided.  To force scanning a partition as if it were a whole disk (for example
       to list nested subpartitions), use the argument "-" (hyphen-minus).  For example:

	      partx --show - /dev/sda3

       This will see sda3 as a whole-disk rather than as a partition.

       partx  is  not  an fdisk program - adding and removing partitions does not change the disk, it just tells the kernel about the presence and
       numbering of on-disk partitions.

OPTIONS
       -a, --add
	      Add the specified partitions, or read the disk and add all partitions.

       -b, --bytes
	      Print the SIZE column in bytes rather than in human-readable format.

       -d, --delete
	      Delete the specified partitions or all partitions.

       -g, --noheadings
	      Do not print a header line with --show or --raw.

       -l, --list
	      List the partitions.  Note that all numbers are in 512-byte sectors.  This output format is DEPRECATED in favour of --show.  Do  not
	      use it in newly written scripts.

       -n, --nr M:N
	      Specify  the range of partitions.  For backward compatibility also the format M-N is supported.  The range may contain negative num-
	      bers, for example --nr -1:-1 means the last partition, and --nr -2:-1 means the last two partitions.  Supported range specifications
	      are:

		     M	    Specifies just one partition (e.g. --nr 3).

		     M:     Specifies the lower limit only (e.g. --nr 2:).

		     :N     Specifies the upper limit only (e.g. --nr :4).

		     M:N    Specifies the lower and upper limits (e.g. --nr 2:4).

       -o, --output list
	      Define the output columns to use for --show, --pairs and --raw output.  If no output arrangement is specified, then a default set is
	      used.  Use --help to get list of all supported columns.  This option cannot be combined with the --add, --delete, --update or --list
	      options.

       -P, --pairs
	      List the partitions using the KEY="value" format.

       -r, --raw
	      List the partitions using the raw output format.

       -s, --show
	      List  the partitions.  The output columns can be selected and rearranged with the --output option.  All numbers (except SIZE) are in
	      512-byte sectors.

       -t, --type type
	      Specify the partition table type.

       --list-types
	      List supported partition types and exit.

       -u, --update
	      Update the specified partitions.

       -S, --sector-size size
	      Overwrite default sector size.

       -v, --verbose
	      Verbose mode.

       -V, --version
	      Display version information and exit.

       -h, --help
	      Display help text and exit.

EXAMPLES
       partx --show /dev/sdb3
       partx --show --nr 3 /dev/sdb
       partx --show /dev/sdb3 /dev/sdb
	      All three commands list partition 3 of /dev/sdb.

       partx --show - /dev/sdb3
	      Lists all subpartitions on /dev/sdb3 (the device is used as whole-disk).

       partx -o START -g --nr 5 /dev/sdb
	      Prints the start sector of partition 5 on /dev/sdb without header.

       partx -o SECTORS,SIZE /dev/sda5 /dev/sda
	      Lists the length in sectors and human-readable size of partition 5 on /dev/sda.

       partx --add --nr 3:5 /dev/sdd
	      Adds all available partitions from 3 to 5 (inclusive) on /dev/sdd.

       partx -d --nr :-1 /dev/sdd
	      Removes the last partition on /dev/sdd.

SEE ALSO
       addpart(8), delpart(8), fdisk(8), parted(8), partprobe(8)

AUTHORS
       Davidlohr Bueso <dave@gnu.org>
       Karel Zak <kzak@redhat.com>

       The original version was written by Andries E. Brouwer <aeb@cwi.nl>.

ENVIRONMENT
       LIBBLKID_DEBUG=all
	      enables libblkid debug output.

AVAILABILITY
       The partx command is part of the util-linux package and is available  from  Linux  Kernel  Archive  <https://www.kernel.org/pub/linux/utils
       /util-linux/>.

util-linux							   December 2014							  PARTX(8)
All times are GMT -4. The time now is 10:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy