| Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-15-2009, 06:19 AM
|
#1
|
|
LQ Newbie
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25
Rep:
|
Problem while creating PV on iSCSI disk.
Hi
I have a system running rhel5 which is set to identify a couple of iSCSI disks of size 5TB each. I want to create a volume group using these and use the space via LVM.
Device Boot Start End Blocks Id System
Disk /dev/sda: 5398.5 GB, 5398593536000 bytes
255 heads, 63 sectors/track, 656341 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdb: 5398.5 GB, 5398593536000 bytes
255 heads, 63 sectors/track, 656341 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
I created linux lvm partition (8e) on them with default values.
When I create PV on them with the default values the size of the PVs are only 2TB each.
Question - How to use the 5TB space on each iscsi disk?
Thanks
Arun
|
|
|
|
09-15-2009, 07:14 AM
|
#2
|
|
LQ Newbie
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25
Original Poster
Rep:
|
Some more Info
I tried removing a pv and recreate it noticing the default values carefully while allocating size .. this is what I found while using fdisk on /dev/sda
Partition number (1-4): 1
First cylinder (1-656341, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-267349, default 267349): 656341
Value out of range.
When I enter the last cylinder number i.e 656341 , it says value out of range.
Please help.
|
|
|
|
09-15-2009, 07:35 AM
|
#3
|
|
LQ Newbie
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25
Original Poster
Rep:
|
Limitation of fdisk!!!
Maybe I should use 'parted' instead of fdisk . But I have not used that before , and dont know how to create the partition with that and also how to mark the partition as Linux LVM -8e.
Some guidance would be much appreciated.
|
|
|
|
09-17-2009, 10:13 AM
|
#4
|
|
LQ Newbie
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25
Original Poster
Rep:
|
Its a limitation of fdisk
It is a limitation of fdisk and the way out is to use parted.
Steps are as below:
#parted /dev/sda
mklabel gpt
New disk label type? [msdos]? gpt
mkpart primary ext3 1 100%
quit
-----
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:02 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|