Red Hat Bugzilla – Bug 227356
read only mount allowed in %pre/%post sections of kicjstart file
Last modified: 2007-11-30 17:07:41 EST
Description of problem:
I have mount commands that are attempting to mount read/write file systems
during the %pre and %post phases of Linux installation. When the instaler gets
to these commands, a message saying the "the File system is Read Only" is
printed. I tried tp mount it manyally with the -rw options to mount, but it
did not work. The same commands work fine froma a RHEL4 installation, so I
know the NFS mountse are OK.
Version-Release number of selected component (if applicable):
1) Add a mount command that mounts an NFS share read/write in the %pre or %post
sections of a kickstart file
Add a command that echo text to a file on the mounted share
2) Start the installation
A message saying the mounted file system is Readonly is displayed
The file should be created with the echoed text.
The title is a little misleading. It should say write to NFS shared not
allowwed in %pre/%post kickstart sections.
What does your kickstart file look like?
Created attachment 147494 [details]
This is the kickstart file.
Solved. Turns out one of the mounts did not have the -o nolock
Closing as NOTABUG on the basis of comment #4. If you still continue to see
problems even after adding -o nolock, please feel free to reopen this bug report.