System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

kickstart error "non existent disks /dev/cciss in partition command

ramizkhan
Advisor

kickstart error "non existent disks /dev/cciss in partition command

Hello All,

I am trying to install OEL5 using Kickstart
I am getting following error...

"Specified nonexistent disk /dev/cciss in partiton command ..



## Partition Information from my KickStart File##

# Disk partitioning information
part / --bytes-per-inode=4096 --fstype="ext3" --ondisk=/dev/cciss/ --size=965
part /boot --bytes-per-inode=4096 --fstype="ext3" --ondisk=/dev/cciss/ --size=487
part /usr --bytes-per-inode=4096 --fstype="ext3" --ondisk=/dev/cciss/ --size=7782
part /tmp --bytes-per-inode=4096 --fstype="ext3" --ondisk=/dev/cciss/ --size=7782
part /var --bytes-per-inode=4096 --fstype="ext3" --ondisk=/dev/cciss/ --size=3584
part /home --bytes-per-inode=4096 --fstype="ext3" --ondisk=/dev/cciss/ --size=965




Following is the sample of other HP machine, which is similar to the one I want to install OEL5 Linux using KickStart...


Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p8 487M 364M 98M 79% /
/dev/cciss/c0d0p7 965M 923M 0 100% /home
/dev/cciss/c0d0p6 3.8G 637M 3.0G 18% /tmp
/dev/cciss/c0d0p5 3.8G 228M 3.4G 7% /var
/dev/cciss/c0d0p3 6.7G 3.8G 2.6G 61% /usr
/dev/cciss/c0d0p1 487M 19M 443M 4% /boot
tmpfs 4.7G 0 4.7G 0% /dev/shm


7 REPLIES
Joseph L. Casale
Regular Advisor

Re: kickstart error "non existent disks /dev/cciss in partition command

Read the first line of your ks:

--ondisk=/dev/cciss/

That is not a disc.

/dev/cciss/c0d0 is disc 0 on controller 0.

Here is one from a machine I recently deployed:

bootloader --location=mbr --driveorder=cciss/c0d0
zerombr
clearpart --all --drives=cciss/c0d0
part /boot --fstype ext3 --size=100 --ondisk=cciss/c0d0
part pv.100000 --size=0 --grow --ondisk=cciss/c0d0
volgroup VolGroup00 --pesize=32768 pv.100000
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1024 --grow --maxsize=2048
ramizkhan
Advisor

Re: kickstart error "non existent disks /dev/cciss in partition command

Hello Ritmo,

Thank you for reply by fixing that , i was able to proceed by fixing disks in KS file.
But I am getting another error now which is following.


"""Unable to read package metadata. this may be due to a missing repodata directory. please ensure that your install tree has been correctly generated. Cannot retrive repository metatadata(repomd.xml) for repository. Please verify path and try again """""


Looks like it is not able to find OEL5 Linux binaries ..rite ? I have OEL5 Linux binaries on my windows server and this "C:\OEL5" folder is NFS share as well, as you can see below in my kickstart file , I have mentioned following

# Use NFS installation media
nfs --server=10.32.200.46 --dir=OEL5

IS THERE ANYTHING ELSE I AM MISSING ?
THANKS FOR UR HELP




My KickStart looks following


======

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5
# System bootloader configuration
bootloader --append="rhgb quiet" --location=mbr --driveorder=cciss/c0d0,cciss/c0d1
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Use graphical install
graphical
# Firewall configuration
firewall --enabled --ssh
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Installation logging level
logging --level=info
# Use NFS installation media
nfs --server=10.32.200.46 --dir=OEL5
# Network information
network --bootproto=dhcp --device=eth1 --onboot=on
# Reboot after installation
reboot
#Root password
rootpw --iscrypted $1$9e5WqWHe$OXxbg1k/5xyG/FrZid8Bm1

# SELinux configuration
selinux --enforcing
# System timezone
timezone --isUtc America/Chicago
# Install OS instead of upgrade
install
# X Window System configuration information
xconfig --defaultdesktop=GNOME --depth=8 --resolution=640x480 --startxonboot
# Disk partitioning information
part / --bytes-per-inode=4096 --fstype="ext3" --ondisk=cciss/c0d0 --size=900
part /var --bytes-per-inode=4096 --fstype="ext3" --ondisk=cciss/c0d0 --size=2000
part /usr --bytes-per-inode=4096 --fstype="ext3" --ondisk=cciss/c0d0 --size=400
part /boot --bytes-per-inode=4096 --fstype="ext3" --ondisk=cciss/c0d0 --size=400
part /tmp --bytes-per-inode=4096 --fstype="ext3" --ondisk=cciss/c0d0 --size=2000
part /home --bytes-per-inode=4096 --fstype="ext3" --ondisk=cciss/c0d0 --size=900

==========
Joseph L. Casale
Regular Advisor

Re: kickstart error "non existent disks /dev/cciss in partition command

Don't know about OEL5, but I presume its no different than RHEL. Grab the docs for OEL5 or the Installation Docs for RHEL and check the kickstart section. I believe you may be doing it wrong, RHEL 5 ks lines are different and you dont copy the dvd contents out for nfs installs, it mounts the iso in the nfs dir.
mbscholz
Occasional Advisor

Re: kickstart error "non existent disks /dev/cciss in partition command

Just an idea: doesn't the firewall in that configuration block the access to that nfs-share?
I couln't verify this, but I once had a similar problem with a if-configuration which led to not accessing the mirror.

Good luck and happy easter :)
Michael
Stephen P. Schaefer
Frequent Advisor

Re: kickstart error "non existent disks /dev/cciss in partition command

You quote your installation media as

# Use NFS installation media
nfs --server=10.32.200.46 --dir=OEL5

I'm used to specifying a fully qualified path to the directory, e.g., --dir=/OEL5

If you do

showmount -e 10.32.200.46

what do you see? The directory you specify with the --dir= argument should contain the RedHat, images, and isolinux directories, among other things.
ramizkhan
Advisor

Re: kickstart error "non existent disks /dev/cciss in partition command

Stephen , here is the output

[root@AFSOQATDB102 ~]# showmount -e 10.32.200.46
Export list for 10.32.200.46:
/OEL5 (everyone)
/KS (everyone)
/Test (everyone)


=====

ok the error I am getting is following

"""Unable to read package metadata. this may be due to a missing repodata directory. please ensure that your install tree has been correctly generated. Cannot retrive repository metatadata(repomd.xml) for repository. Please verify path and try again """""


when i go to NFS Share "OEL5" folder I can see the folder following folder

/OEL5/Server/repodata and here I can see the "repomd.xml" file also, Why it still complains ? This NFS Share is on Windows as you can see from my above command that when I type the showmount -e it shows the "/OEL5" which is on Windows machine..

thanks


Thanks,
Fahad
ramizkhan
Advisor

Re: kickstart error "non existent disks /dev/cciss in partition command

I also change the path to "/OEL5" as you can see the below , but I got the same error ..

# Use NFS installation media
nfs --server=10.32.200.46 --dir=/OEL5