Sponsored Content
Operating Systems Linux Red Hat Tried to use undefined partition in Volume Group specification Post 302563621 by cokedude on Tuesday 11th of October 2011 06:03:14 PM
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

 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
PARTITION(8)						      System Manager's Manual						      PARTITION(8)

NAME
partition - make a partition table SYNOPSIS
partition [-mf] device [type:]size[+*] ... DESCRIPTION
Partition makes a partition table on device using the types and sizes given. It may be used in combination with repartition(8) for auto- matic installation of Minix. You may give up to four type:size[+*] specifications for the partitions. You may also specify holes before, between, and after the parti- tions. A hole differs from a partition specification by not having a type. The first hole is by default 1 sector to make space for the primary bootstrap and the partition table. The other holes are 0. The type field is the type of the partitition in hexadecimal. The size field is the partition's size in sectors. The + or * may option- ally be added to indicate that the partition must be expanded to contain any leftover space on the device or to mark the partition active. Partitions are padded out to cylinder boundaries, except for the first one, it starts on track 1. Some operating systems care about this. Minix and MS-DOS do not. OPTIONS
-m Minix only, no need to pad partitions. This is the default for subpartition tables. -f Force making a partition table even if the device is too small. EXAMPLE
partition /dev/hd0 01:16384 81:40000 81:2880* 06:20000+ Partitions disk 0 into an 8 Mb DOS partition, 20 Mb Minix /usr, 1.44 Mb Minix / (active), and a DOS partition of at least 10 Mb at the end of the disk. (06:0+ would have been ok too, it's just a sanity check.) SEE ALSO
hd(4), part(8), repartition(8). AUTHOR
Kees J. Bot (kjb@cs.vu.nl) PARTITION(8)
All times are GMT -4. The time now is 01:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy