- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- LVM/ASM/etc. - Need for Partitioning Disks that wi...
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
02-03-2010 08:37 AM
02-03-2010 08:37 AM
LVM/ASM/etc. - Need for Partitioning Disks that will be Used Wholly?
i.e.: if I have a disk /dev/sdda, I always use the enire disk /dev/sdda as an LVM PV or an ASM disk. Most recipes out there I have seen seem to partition the disk to /dev/sdda1 to encompass the whole disk...
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 11:12 AM
02-03-2010 11:12 AM
Re: LVM/ASM/etc. - Need for Partitioning Disks that will be Used Wholly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2010 08:46 AM
03-09-2010 08:46 AM
Re: LVM/ASM/etc. - Need for Partitioning Disks that will be Used Wholly?
I am curious also.
It adds to my confusion when creating nice- names in the /etc/multipath config...
In an older Oracle cluster installation using ASM we did not partition the disks, simply provided the raw device path, e.g. /dev/mapper/nice-name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 06:23 AM
03-10-2010 06:23 AM
Re: LVM/ASM/etc. - Need for Partitioning Disks that will be Used Wholly?
On the system disk of a typical x86 system, it would theoretically be possible to build a MBR bootloader that could boot the system from an all-LVM disk, but so far nobody seems to have done that. The common bootloaders (GRUB, SYSLINUX and LILO) all seem to expect that the system disk has a standard partition table and that at least /boot is a traditional PC partition.
But in a multi-OS environment, it might be sensible to set up the whole-disk-encompassing partition anyway. If e.g. a storage administrator makes a mistake and allows a Linux data LUN to be presented to a non-Linux OS, there is a risk of data corruption.
A Linux LUN that is initialized as a LVM PV with no traditional partitioning is indistinguishable from a disk that has been overwritten with random data for e.g. most versions of Windows.
Adding the partition table makes the disk identifiable as *being already used for something*, even if the filesystem and partition type is unknown to the OS trying to identify the disk.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 11:03 AM
03-10-2010 11:03 AM
Re: LVM/ASM/etc. - Need for Partitioning Disks that will be Used Wholly?
I think the biggest benefit is as you stated
"Adding the partition table makes the disk identifiable as *being already used for something*, even if the filesystem and partition type is unknown to the OS trying to identify the disk"
Also, I am sure everyone else knew this but thought I would share.
fdisk /dev/mapper/my-nice-name
does not create the partition like /dev/mapper/my-nice-namep1
kpartx -av /dev/mapper/my-nice-name
does...
now you are ready to..
oracleasm createdisk MY_DATA1 /dev/mapper/my-nice-namep1
(if you do not use the partition device file ASM writes over the top of the new partion and negates what was just done.