Anyone have much success with the 'ignoredisk' kickstart option? I have
several machines that I need to be able to rebuild over and over again
(lab systems) and they have SAN-attached storage on them in addition to
the internal disks. I think I'm successfully building the ignoredisk
statement with all the appropriate drives to ignore, but when the system
actually starts the partitioning, I get warnings about drives being
read-only and with bad disk geometry. The disks that this is happening
on are the disks I'm trying to ignore.
Internal disk: cciss/c0d0
Detected SCSI disks (from /tmp/scsidisks): sda,sdb,sdc,sdd,sde,sdf
Ignoredisk statement (generated during a %pre script):
ignoredisk --drives=sda,sdb,sdc,sdd,sde,sdf
SAN disks:
/dev/sda 45M
/dev/sdb 2048M
/dev/sdc 2048M
/dev/sdd 2048M
/dev/sde 2048M
/dev/sdf 3M
/dev/sdg 45M
/dev/sdh 2048M
/dev/sdi 2048M
/dev/sdj 2048M
/dev/sdk 2048M
/dev/sdl 3M
These are all EMC presented LUNs sdg-sdl are the secondary path to the
same devices as sda-sdf.
Errors:
parted exception: Warning: Unable to open /dev/sda read-write
(Read-only file system). /dev/sda has been opened read-only.
parted exception: Warning: Unable to open /dev/sdg read-write
(Read-only file system). /dev/sdg has been opened read-only.
parted exception: Warning: The disk CHS geometry (5,255,63)
reported by the operating system does not match the geometry stored on
the disk label (96,15,64).
Two questions:
How is the system detecting /dev/sdg?
How can I ignore these so my build continues without me having
to acknowledge the warnings? (my 'part' statements all use --ondisk to
put the partitions on cciss/c0d0)
Maarten Broekman
Email: [EMAIL PROTECTED]
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list