- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux RH 3 Disk Information
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 02:05 AM
тАО07-21-2005 02:05 AM
Does anybody know, Which command(s) can I use to see every disk in linux system?
I need some command that give me information like "ioscan command".
* Using line commands, not graphical interface, and not dmseg command, please.
df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p7 40313964 4380656 33885424 12% /
/dev/cciss/c0d0p6 50394964 38184760 9650248 80% /APP
/dev/cciss/c0d0p2 125988632 114292388 5296352 96% /APPDATA
/dev/cciss/c0d0p8 30233896 9022716 19675368 32% /ODP
/dev/cciss/c0d0p3 115907564 32828 109986916 1% /ODPDATA
/dev/cciss/c0d0p5 50394964 30448484 17386524 64% /STAGE
/dev/cciss/c0d0p1 101089 14944 80926 16% /boot
** I need to know, how many disk do I have and the size of each one?
Thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 02:30 AM
тАО07-21-2005 02:30 AM
Re: Linux RH 3 Disk Information
It parses through the /proc area and displays the stats relevant to your system
Check out the following URL
http://ezix.sourceforge.net/software/lshw.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 02:38 AM
тАО07-21-2005 02:38 AM
Re: Linux RH 3 Disk Information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 03:27 AM
тАО07-21-2005 03:27 AM
Re: Linux RH 3 Disk Information
Below, it is part of output from installation script:
+ cp -pr README COPYING docs/TODO docs/Changelog docs/lshw.xsd /var/tmp/lshw-B.02.05.01-1-root/usr/share/doc/lshw-B.02.05.01
+ exit 0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libstdc++.so.5 libstdc++.so.5(CXXABI_1.2) libstdc++.so.5(GLIBCPP_3.2) libstdc++.so.5(GLIBCPP_3.2.2)
Processing files: lshw-debuginfo-B.02.05.01-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/lshw-B.02.05.01-1-root
Wrote: /usr/src/redhat/SRPMS/lshw-B.02.05.01-1.src.rpm
Wrote: /usr/src/redhat/RPMS/i386/lshw-B.02.05.01-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/lshw-debuginfo-B.02.05.01-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23293
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd lshw-B.02.05.01
+ /bin/rm -rf /var/tmp/lshw-B.02.05.01-1-root
+ exit 0
[root@dmodp util]# lshw
-bash: lshw: command not found
[root@dmodp util]# find ./ -name lshw
./lshw-B.02.05.01/src/lshw
[root@dmodp util]# cd \
>
[root@dmodp root]# cd /
[root@dmodp /]# find ./ -name lshw
./APP/util/lshw-B.02.05.01/src/lshw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 03:32 AM
тАО07-21-2005 03:32 AM
Re: Linux RH 3 Disk Information
Because I'm newbie in Linux, I wonder:
What do linux people do to see disk information whithout graphical tool???
Any help is appreciated...!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 03:38 AM
тАО07-21-2005 03:38 AM
Re: Linux RH 3 Disk Information
If I can reassign points, you have 10pts now.
Thanks a lot..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 03:42 AM
тАО07-21-2005 03:42 AM
SolutionDoing the 'lshw' will get you a longer output.
Doing 'lshw -html' will get yopu a html output that you can view in your browser.
Using the 'lshw -short' option, it shows you have disk(s) but will noit show size. Using the long or html option will display the info for you.
There will be a stanza of output for each disk that is discovered. This includes the html output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2005 01:37 PM
тАО07-22-2005 01:37 PM
Re: Linux RH 3 Disk Information
Would you necessarily install a utility on a production host if you can get away with just using the native OS commands?
My 2 cents worth...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 05:21 AM
тАО07-23-2005 05:21 AM