- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux fdisk & LVM
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
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
тАО02-20-2011 11:27 AM
тАО02-20-2011 11:27 AM
If am going to you san disks to put under lvm, do I still need to create fdisk with option 8e?
Can you please shed light on this? Some people say it is required & some say not.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2011 04:46 PM
тАО02-20-2011 04:46 PM
SolutionSome people use fdisk first to try to enhance performance by track-aligning the starting block of the empty space. The SANs I have used have been quite good at hiding the information on physical placement that is necessary for such alignment. The two times I went to the extra work of locating the space and using fdisk to adjust the starting block I found that the buffering and I/O reordering that the SAN controller was doing made the performance increase negligible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 03:34 AM
тАО02-21-2011 03:34 AM
Re: Linux fdisk & LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 10:26 AM
тАО02-21-2011 10:26 AM
Re: Linux fdisk & LVM
This is easily verifiable on the EMC arrays using the NaviAnalyser tools. As a result, I always align partitions using diskpart (Windows) or fdisk (Linux).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 01:45 AM
тАО02-22-2011 01:45 AM
Re: Linux fdisk & LVM
With older Linux distributions using the 2.6 series kernel (and thus LVM2), you can use the "--metadatasize 250k" to achieve a 256k alignment for your data. That is not very intuitive, so newer versions of LVM utilities include two options for the purpose of explicitly specifying the data alignment: "--dataalignment" and "--dataalignmentoffset".
You can verify the alignment of each existing LVM PV with "pvs -o +pe_start".
If you use partitions to align your data, fdisk will require you to calculate the proper alignment yourself. On the other hand, if you use parted to create the partitions, it includes at least some support for automatic alignment (disclaimers: may depend on your distribution version, I haven't tested this yet).
MK