- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Adding new partition - or not
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
10-19-2005 11:50 PM
10-19-2005 11:50 PM
I have created the new partition using "fdisk" (results listed below) but the "mkfs" command refuses to play ball. Anything obvious going opn here?
Share and Enjoy! Ian
[root@dcslnx10 root]# fdisk -l /dev/cciss/c0d0
Disk /dev/cciss/c0d0: 146.8 GB, 146804797440 bytes
255 heads, 63 sectors/track, 17848 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 1415 11261565 83 Linux
/dev/cciss/c0d0p3 1416 1669 2040255 82 Linux swap
/dev/cciss/c0d0p4 1670 17848 129957817+ 5 Extended
[root@dcslnx10 root]# mkfs -t ext3 /dev/cciss/c0d0p4
mke2fs 1.32 (09-Nov-2002)
mkfs.ext3: No such device or address while trying to determine filesystem size
[root@dcslnx10 root]#
LINUX - Making the simple things unecessarily complicated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 12:15 AM
10-20-2005 12:15 AM
SolutionSo try to change /dev/cciss/c0d0p4 type from 5 to 83 an run mkfs again.
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 12:23 AM
10-20-2005 12:23 AM
Re: Adding new partition - or not
Run fdisk again and create the logical paritition, just type "n" and ask the questions. Or you may delete the extended partition and create a primary partition instead of the extended paritition. If you create a primary partition, you will be able to create a filesystem in c0d0p4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 12:29 AM
10-20-2005 12:29 AM
Re: Adding new partition - or not
Problem solved, Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 12:29 AM
10-20-2005 12:29 AM
Re: Adding new partition - or not
The PC partition table in the beginning of the disk can only handle four partitions. These are now called "primary" partitions. To get more than four, you must use one of the four slots to build an "extended" partition. Within the extended partition, you can define as many "logical" partitions as you want.
Why this complexity? Well, when using a "standard" PC Master Boot Record at the beginning of the disk, you can use only primary partitions for booting an operating system. If you install LILO or GRUB or any other "advanced" bootloader to the Master Boot Record, you can usually use extended partitions for booting, too.
You have created /dev/cciss/c0d0p4 as an extended partition, which is just a shell for logical partitions and not really useful by itself.
Use fdisk to create another new partition, of type "logical". Because your primary partition slots are already filled, fdisk will probably default to creating a logical partition without bothering to ask.
Note that the logical partition will automatically be located inside the area occupied by the extended partition.
After creating a logical partition, you can set its type ID to Linux (83) as usual.
If this disk contains your root filesystem, you must boot before the change is visible to the kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 01:35 AM
10-20-2005 01:35 AM
Re: Adding new partition - or not
Let's say I have an array Lun 0 with 8x72GB RAID1+0 out on the SAN (MSA1500) and presented to server A and the disk designator is "SDA" - Now, I need to add 4 more 72Gb disks to this volume, no big deal from the controller level. Once the expansion done at the controller, how would Linux handle this expansion and how I go about fdisk this volume /dev/sda and give it more space?? Any ideas??
Thank you in advance.
Ian