- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: RHEL4.2 redhat fdisk -l shows no output
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
Forums
Discussions
Discussions
Discussions
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
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
09-06-2007 03:46 AM
09-06-2007 03:46 AM
RHEL4.2 redhat fdisk -l shows no output
/proc/partitions file exists also
details below :
fdisk version : fdisk v2.12a
[root@freddy ~]# uname -a
Linux freddy 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686 i686 i386 GNU/Linux
[root@freddy~]# cat /proc/partitions
major minor #blocks name
104 0 71126640 cciss/c0d0
104 1 1534176 cciss/c0d0p1
104 2 13309852 cciss/c0d0p2
104 3 49496265 cciss/c0d0p3
104 4 1 cciss/c0d0p4
104 5 2618563 cciss/c0d0p5
104 6 2618563 cciss/c0d0p6
104 7 1534176 cciss/c0d0p7
104 16 71126640 cciss/c0d1
104 17 35840983 cciss/c0d1p1
we have other identical servers with same OS version and same fdisk ver, which work fine.
any help appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2007 04:18 AM
09-06-2007 04:18 AM
Re: RHEL4.2 redhat fdisk -l shows no output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2007 04:26 AM
09-06-2007 04:26 AM
Re: RHEL4.2 redhat fdisk -l shows no output
Does sfdisk -l show correct?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2007 07:31 PM
09-06-2007 07:31 PM
Re: RHEL4.2 redhat fdisk -l shows no output
sfdisk -l and parted do work, however the information i'm trying to retrive is the Disk capacity, which in my script does fdisk -l |grep Disk, see below:
[root@scooby~]# fdisk -l |grep Disk
Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
Disk /dev/cciss/c0d1: 145.6 GB, 145667358720 bytes
Is there any other way to retrieve the Hard Disk capacities ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2007 08:41 PM
09-06-2007 08:41 PM
Re: RHEL4.2 redhat fdisk -l shows no output
We've shown you the best way.
Other suggestions:
1) Makes sure the bios on the system is up to date.
2) upd2date the system to update 4 or update 5, this looks like an fdisk bug.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 02:54 PM
06-16-2008 02:54 PM
Re: RHEL4.2 redhat fdisk -l shows no output
I get no output from fdisk -l
However, if I do:
# fdisk /dev/ida/c0d0
Then 'm' for help (just to be sure)
Then 'p' for print, the output is exactly as I would expect to see from fdisk -l
Then I think it's 'q' to quit without saving changes.
I hope it helps as a workaround but take care using fdisk. Particularly if it is in a production environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 08:26 AM
06-17-2008 08:26 AM
Re: RHEL4.2 redhat fdisk -l shows no output
whereis fdisk
rpm -ql
rpm -qa | grep fdisk #get the rpm name
rpm -qf fdisk-
See the files and sizes and compare them to a working system
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com