- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- SAN LUN partition best-practice with LVM
Operating System - Linux
1821245
Members
3129
Online
109632
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
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
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
02-18-2011 03:05 AM
02-18-2011 03:05 AM
SAN LUN partition best-practice with LVM
Hi
I'm polling for a concensus on the best way to utilise SAN LUNs in a Linux server. The way I see it there are 2 options: -
1. pvcreate on the base LUN (e.g. /dev/mapper/mpath1) and create/add to volume groups as normal.
2. fdisk/parted to create a partition the full size of the disk, set type to 8e, then pvcreate on the partition (e.g. /dev/mapper/mpath1p1).
In the first instance, it's easier to manage when resizing LUNs etc, and also less work per LUN. In the second instance it gives visibility so you can easily see that a LUN contains (or contained) PV's in the event of LUNs being published to other servers on the SAN.
Just after an idea of what other people do, whether there's a published best-practice etc. I can see arguments for both sides, but at the moment I'm in the second camp.
Thanks, Simon
I'm polling for a concensus on the best way to utilise SAN LUNs in a Linux server. The way I see it there are 2 options: -
1. pvcreate on the base LUN (e.g. /dev/mapper/mpath1) and create/add to volume groups as normal.
2. fdisk/parted to create a partition the full size of the disk, set type to 8e, then pvcreate on the partition (e.g. /dev/mapper/mpath1p1).
In the first instance, it's easier to manage when resizing LUNs etc, and also less work per LUN. In the second instance it gives visibility so you can easily see that a LUN contains (or contained) PV's in the event of LUNs being published to other servers on the SAN.
Just after an idea of what other people do, whether there's a published best-practice etc. I can see arguments for both sides, but at the moment I'm in the second camp.
Thanks, Simon
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2011 06:37 AM
02-18-2011 06:37 AM
Re: SAN LUN partition best-practice with LVM
With Linux I usually use 2. It sort of feels safer that way and there is a possibility to assign only part of a disk to an LVM structure. On HP-UX, for comparison, the PV is created directly onto a disk device file.
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP