Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery registry cleaner router screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
LVM / pvcreate vs fdisk / mkfs sector offset.

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
O111111O's Avatar
Computer Specs
Senior Member with 896 posts.
 
Join Date: Aug 2005
Location: Right here.
Experience: 31337
09-Apr-2006, 01:05 PM #1
LVM / pvcreate vs fdisk / mkfs sector offset.
Anybody familiar with LVM? I had a question come up that I can't seem to find answers to.

The issue is creating partitions and filesystems on RAID/SAN based filesystems. When creating a partition with FDISK, a disk header for the partition table is written to the start of a disk. This is done based on BIOS interperation of heads/cyl/sectors of the disk in question. In a RAID the block chunk may need to be offset to compensate for the striping across the RAID in question.

[I.E., to compensate for 63 byte sectors I would offset the start of the partition table by 128. Giving room for the disk header.]

In any case here's my question; Does anybody know if LVM pays attention to this? It seems as if it treats disks in general as raw block devices, so I have difficulty determining if it's reading the disk info from the disk/HBA or from BIOS.

Anybody?
__________________
That's nice, last I read; there was a free opensource dev for [insert product name here]
saikee's Avatar
Distinguished Member with 2,835 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
09-Apr-2006, 06:54 PM #2
I don't use LVM and not qualified to answer your question. However I believe in LVM the disk location appears to be addressed by the label and not as a block device. This arrangement is widely practised by the Red Hat family distros which also like to turn the disks into LVM.

I stay away from LVM because I boot a lot of systems and LVM appears only good for a single distro because it can't even accommodate a single "/boot" inside..
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 09:37 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.