- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- fdisk on Red Hat A.S. 3.0
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
05-27-2004 09:33 AM
05-27-2004 09:33 AM
I have installed Redhat A.S. 3.0. i want to display the table partitions using fdisk but this dont retun nothing. There are other form to display that information on A.S. 3.0. Or how can i resolv this isue.
Thanks for ur help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 11:56 AM
05-27-2004 11:56 AM
Re: fdisk on Red Hat A.S. 3.0
If your hard-drive is something other than that, use that device name.
To find out what it's device name is, use 'mount', and strip off the trailing number from one of the listed device nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2004 04:43 AM
05-28-2004 04:43 AM
Re: fdisk on Red Hat A.S. 3.0
[root@salato-apl12 root]# sfdisk -l /dev/cciss/c0d0p
/dev/cciss/c0d0p: No such file or directory
sfdisk: cannot open /dev/cciss/c0d0p for reading
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2004 11:15 AM
05-30-2004 11:15 AM
Re: fdisk on Red Hat A.S. 3.0
Also, please show us the output of the command 'mount'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2004 08:48 PM
05-30-2004 08:48 PM
Re: fdisk on Red Hat A.S. 3.0
a valid device is
/dec/cciss/c0d0
or
/dev/cciss/c0d0p1
check thru
ls /dev/cciss/cXdYpZ
Peace, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 03:46 AM
05-31-2004 03:46 AM
Re: fdisk on Red Hat A.S. 3.0
[root@salato-apl12 root]# mount
/dev/cciss/c0d0p2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/cciss/c0d0p1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/cciss/c0d0p10 on /home type ext3 (rw)
/dev/cciss/c0d0p5 on /opt type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/cciss/c0d0p9 on /tmp type ext3 (rw)
/dev/cciss/c0d0p3 on /u01/app/ias9ir2 type ext3 (rw)
/dev/cciss/c0d0p7 on /usr type ext3 (rw)
/dev/cciss/c0d0p8 on /usr/local type ext3 (rw)
/dev/cciss/c0d0p6 on /var type ext3 (rw)
####################
[root@salato-apl12 root]# fdisk -l /dev/cciss/c0d0p9
Disk /dev/cciss/c0d0p9: 5243 MB, 5243273216 bytes
255 heads, 32 sectors/track, 1254 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Disk /dev/cciss/c0d0p9 doesn't contain a valid partition table
########################3
I would like to use my free space on my disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 11:12 AM
05-31-2004 11:12 AM
SolutionThe actual container (logical disk) is the device node:
/dev/cciss/c0d0
So you want to use:
fdisk -l /dev/cciss/c0d0
The 'p[0-9]' is the partition number of the disk 'd0' on controller 0 ('c0').
It does all make sense ;) A simple 'ls -l /dev/cciss | more' will show all of the previously created device nodes. Browsing through them should make sense now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 07:03 PM
05-31-2004 07:03 PM
Re: fdisk on Red Hat A.S. 3.0
parted
instead of fdisk
Peace, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 03:29 AM
06-01-2004 03:29 AM
Re: fdisk on Red Hat A.S. 3.0
i use fdisk -l /dev/cciss/c0d0 this is the output. How can i know what is my free space? thanks!
[root@salato-apl12 root]# fdisk -l /dev/cciss/c0d0
Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 32 sectors/track, 17433 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 502 2048144 83 Linux
/dev/cciss/c0d0p2 503 2259 7168560 83 Linux
/dev/cciss/c0d0p3 2260 7279 20481600 83 Linux
/dev/cciss/c0d0p4 7280 17433 41428320 f Win95 Ext'd (LBA)
/dev/cciss/c0d0p5 7280 9036 7168544 83 Linux
/dev/cciss/c0d0p6 9037 10793 7168544 83 Linux
/dev/cciss/c0d0p7 10794 12550 7168544 83 Linux
/dev/cciss/c0d0p8 12551 13805 5120384 83 Linux
/dev/cciss/c0d0p9 13806 15060 5120384 83 Linux
/dev/cciss/c0d0p10 15061 16315 5120384 83 Linux
/dev/cciss/c0d0p11 16316 16829 2097104 82 Linux swap
You have new mail in /var/spool/mail/root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 07:43 AM
06-01-2004 07:43 AM
Re: fdisk on Red Hat A.S. 3.0
-s partition
The size of the partition (in blocks) is printed on the standard output.
to save your caculation, so, it's
fdisk -s /dev/cciss/c0d0p1
fdisk -s /dev/cciss/c0d0p2
..........
fdisk -s /dev/cciss/c0d0p11
Regards !
YJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 07:54 AM
06-01-2004 07:54 AM