LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-20-2014, 10:13 AM   #1
circus78
Member
 
Registered: Dec 2011
Posts: 273

Rep: Reputation: Disabled
Question about LVM


Hi,
few days ago, I followed this tutorial to increase the size of the virtual disk of one of my VM (Vmware) with CentOS

http://kb.vmware.com/selfservice/mic...rnalId=1006371

now I realized that I have missed step g, h and i.
So, fdisk -l shows:

# fdisk -l

Quote:
Disk /dev/sda: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 13054 104751832+ 8e Linux LVM
/dev/sda3 13055 26108 104856255 83 Linux
Instead of:

Quote:
# fdisk -l

Disk /dev/sda: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 13054 104751832+ 8e Linux LVM
/dev/sda3 13055 26108 104856255 83 Linux LVM
However, I successfully increased the partition and everything seems to work properly. There could be problems?
Thank you
 
Old 03-20-2014, 10:26 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,691

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Nope. The OS does not use the partition ID.
 
Old 03-20-2014, 10:32 AM   #3
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Nothing much cares about the partition types. LVM certainly doesn't; it runs on top of dm so the actual disk is hidden.
 
Old 03-21-2014, 01:33 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Hmmmm .... dunno about that. Last time I tried a pvcreate on a swap partition if refused to proceed. It specifically responded that swap (x'82') was unacceptable - regardless of whether it had been mkswap'd or not.

Was a year or two ago tho' ... (and yes, I was just curious to see what might work, and what might not)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM Question pfisher Linux - Newbie 1 10-25-2012 10:42 AM
LVM Question Devyn Linux - Server 6 09-09-2011 11:41 PM
LVM question rolandpish Linux - General 7 02-08-2011 07:38 AM
LVM question sang_froid Linux - General 2 03-10-2009 10:25 AM
LVM question tom.bokman@mcwa.com Linux - Server 3 02-20-2008 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration