Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RedHat5.5 LVM question

Status
Not open for further replies.

nyck

Technical User
Mar 10, 2004
447
GB
Hello,

During the install I created a 14 X 300GB R5 volume ( This was done from the BIOS level using HW raid ) which the installer could see as sdb. I have just run fdisk –l and I’m getting the following message:-

fdisk -l

Disk /dev/sda: 146.1 GB, 146163105792 bytes
255 heads, 63 sectors/track, 17769 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 17769 142625070 8e Linux LVM

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: The size of this disk is 3.3 TB (3293837262848 bytes).
DOS partition table format cannot be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).


Disk /dev/sdb: 3293.8 GB, 3293837262848 bytes
255 heads, 63 sectors/track, 400452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 267350 2147483647+ ee EFI GPT

I then run pvcreate /dev/sdb and its coming back with the following error:-

Device /dev/sdb not found (or ignored by filtering).

To get round this issue I followed the instructions in the below link:-


Now I have been able to create a 3 TB file system within LVM. Is this the correct way of doing this?

Cheers

Nick
 
Hi,

I try and result is ok.

My solution was initialize the disk as LVM:

# dd if=/dev/urandom of=/dev/sdb bs=512 count=64
then everything works:
# pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top