- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Problem creating partitions > 1TB
Operating System - Linux
1753659
Members
5884
Online
108798
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
11-21-2008 01:42 AM
11-21-2008 01:42 AM
I am trying to create 2 partitions approximately 3TB in size. I have a Linux-machine with a 2.6 kernel and x86_64 architecture. The filesystem type is ext3. According to the information I have found I should be able to create partitions at least 32 TB in size, yet I keep ending up with 1 TB partitions.
According to fdisk there are a certain number of cylinders available. When I create a partition, the default (and max) number of cylinders I can chose for the upper range is much lower than the total listed however. And no matter if I divide the default in 2 and create 2 same-size partitions, or if I create 1 partitions of all the cylinders, the resulting disk(s) are 1 TB.
What can cause this?
According to fdisk there are a certain number of cylinders available. When I create a partition, the default (and max) number of cylinders I can chose for the upper range is much lower than the total listed however. And no matter if I divide the default in 2 and create 2 same-size partitions, or if I create 1 partitions of all the cylinders, the resulting disk(s) are 1 TB.
What can cause this?
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 05:57 AM
11-21-2008 05:57 AM
Solution
The traditional PC partition table (designed along with the IBM PC/AT in the 1980s) cannot handle disks that big. I seem to recall that the limit is somewhere at or above 1 TB size, so that's what you're hitting.
If you want to create something resembling traditional partitions, you must use GPT-style partitioning (what is called a "Dynamic Disk" in newer Microsoft Windows products). The "fdisk" tool cannot do this; you must use "parted" or some other tool.
You could also skip the traditional partitioning entirely and use Linux LVM.
For example, if your large disk is /dev/sdd, begin with:
pvcreate /dev/sdd
vgcreate /dev/sdd
vgdisplay
Pick a name for your volume group and use it in place of.
To create a logical volume (the equivalent of a partition) of 3 TB size, you can run:
lvcreate -L 3T
If you don't use the options of lvcreate to specify a different name, your first logical volume will be named /dev//lvol0, the next /dev//lvol1, and so on.
LVM is more flexible than partitioning: if you need more disk space in your logical volume, you can extend the LV beyond the limits of a single disk. If you use a filesystem that allows on-line expansion (like ext3), you don't even need to unmount the filesystem to expand it.
MK
If you want to create something resembling traditional partitions, you must use GPT-style partitioning (what is called a "Dynamic Disk" in newer Microsoft Windows products). The "fdisk" tool cannot do this; you must use "parted" or some other tool.
You could also skip the traditional partitioning entirely and use Linux LVM.
For example, if your large disk is /dev/sdd, begin with:
pvcreate /dev/sdd
vgcreate
vgdisplay
Pick a name for your volume group and use it in place of
To create a logical volume (the equivalent of a partition) of 3 TB size, you can run:
lvcreate -L 3T
If you don't use the options of lvcreate to specify a different name, your first logical volume will be named /dev/
LVM is more flexible than partitioning: if you need more disk space in your logical volume, you can extend the LV beyond the limits of a single disk. If you use a filesystem that allows on-line expansion (like ext3), you don't even need to unmount the filesystem to expand it.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP