Tried to use undefined partition in Volume Group specification

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Tried to use undefined partition in Volume Group specification
# 1  
Old 10-11-2011
Tried to use undefined partition in Volume Group specification

I am trying trying to make a kickstart startup script and it keeps on hanging. It keeps on complaining about line 23. Can anyone tell me what my problem is?

Code:
# Kickstart file automatically generated by anaconda.

#version=DEVEL
#url --url http://mirrors.kernel.org/fedora/releases/7/Fedora/i386/os
#ks=http://127.0.0.1/ks.cfg
#ks=http://localhost/ks.cfg
url --url http://ftp.usf.edu/pub/fedora/linux/releases/14/Fedora/i386/os
install
cdrom
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto dhcp --noipv6
timezone --utc America/New_York
rootpw  --iscrypted $6$s9i1bQbmW4oSWMJc$0oHfSz0b/d90EvHx7cy70RJGIHrP1awzAgL9A3x2tbkyh72P3kN41vssaI3/SJf4Y4qSo6zxc2gZ3srzc4ACX1
selinux --permissive
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
firewall --service=ssh
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all --drives=sda
volgroup VG --pesize=32768 pv.5xwrsR-ldgG-FEmM-2Zu5-Jn3O-sx9T-unQUOe
logvol / --fstype=ext4 --name=lv_root --vgname=VG --size=40960
logvol /home --fstype=ext4 --name=lv_home --vgname=VG --size=25600
#volgroup VG --pesize=32768 pv.5xwrsR-ldgG-FEmM-2Zu5-Jn3O-sx9T-unQUOe
logvol swap --name=lv_swap --vgname=VG --size=4096

part /boot --fstype=ext4 --size=500
part pv.5xwrsR-ldgG-FEmM-2Zu5-Jn3O-sx9T-unQUOe --grow --size=500

bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
repo --name="Fedora 14 - i386"  --baseurl=http://fedora.mirrors.pair.com/linux/releases/14/Everything/i386/os/ --cost=1000
repo --name="Fedora 14 - i386 - Updates"  --baseurl=http://mirrors.kernel.org/fedora/updates/14/i386/ --cost=1000
repo --name="Fedora 14 - i386 - Test Updates"  --baseurl=http://mirrors.kernel.org/fedora/updates/testing/14/i386/ --cost=1000

%packages
@admin-tools
@base
@core
@editors
@fonts
@gnome-desktop
@games
@graphical-internet
@graphics
@hardware-support
@input-methods
@java
@office
@online-docs
@printing
@sound-and-video
@text-internet
@base-x
xfsprogs
mtools
gpgme
openoffice.org-opensymbol-fonts
gvfs-obexftp
hdparm
gok
iok
vorbis-tools
jack-audio-connection-kit
ncftp
gdm
%end

This is line 23

Code:
volgroup VG --pesize=32768 pv.5xwrsR-ldgG-FEmM-2Zu5-Jn3O-sx9T-unQUOe

# 2  
Old 10-11-2011
We can't see your computer from here. What, exactly, does it say when it complains?
# 3  
Old 10-11-2011
Quote:
Originally Posted by Corona688
We can't see your computer from here. What, exactly, does it say when it complains?
The error message is the title. Sorry for not making that clear.

Quote:
tried to use undefined partition in Volume Group specification
# 4  
Old 10-14-2011
looks like you issue lies here:

Quote:
clearpart --all --drives=sda volgroup VG --pesize=32768 pv.5xwrsR-ldgG-FEmM-2Zu5-Jn3O-sx9T-unQUOe
between these lines you need to add the following:
Code:
part pv.5xwrsR-ldgG-FEmM-2Zu5-Jn3O-sx9T-unQUOe --size=61440 --ondisk=sda

basically your problem is you are trying to make a volume group on a physical volume which does not exist.
You may need to change the size, however i think being on sda is correct looking at your clearpart command.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Resize partition volume

Hello, I am running ubuntu 14.04. Have just installed torrent into home directory but /dev/md2 is almost full. Is it possible to resize md2 to get rid of any problem that may arise in the near future? Filesystem Size Used Avail Use% Mounted on udev 17G 4.1k 17G 1% /dev... (2 Replies)
Discussion started by: baris35
2 Replies

2. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

3. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

4. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

5. AIX

Adding a Volume Group to an HACMP Resource Group?

Hi, I have a 2 node Cluster. Which is working in active/passive mode (i.e Node#1 is running and when it goes down the Node#2 takes over) Now there's this requirement that we need a mount point say /test that should be available in active node #1 and when node #1 goes down and node#2 takes... (6 Replies)
Discussion started by: aixromeo
6 Replies

6. HP-UX

Volume group are those LUNs?

In HP-UX, VLM: what volume group, are these LUNs? anyone know ? objecthexuid .........................: 6005-08b4-0001-529c-0005-6000-45d6-0000 objecthexuid .........................: 6005-08b4-0001-529c-0005-6000-45d9-0000 objecthexuid .........................:... (5 Replies)
Discussion started by: aav1307
5 Replies

7. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

8. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

9. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies

10. AIX

Volume Group Understanding

Looking for help in understanding volume groups. On the internal disks is it possible to have other volume groups other then root vg? If so would the other vg be captured in the mksysb? Any documentation links that you can point me to on volume groups and such woudl be welcomed. Thanks (1 Reply)
Discussion started by: cogsworth12000
1 Replies
Login or Register to Ask a Question