Everyone, I installed a sata drive on a SuperMicro with SCSI drives. No problem with the installation. Everything went as expected as the os recognized the drive and assigned /dev/sdc to the new 300 gig Seagate drive. I had planned to use this drive for backup tarballs. The drive had been functional for about a week with no problems. Apparently it went out today when I tried to reboot the system. Now the boot process brings the system up into repair mode, but mounts the / partition in "read only" status. I can see that the original /dev/sdc is present but /dev/sdc1 is not present. I removed the drive completely and predictably /dev/sdc is no longer present. The problem I have now is that I have an entry in /etc/fstab that references the disabled drive that I am unable to change because I can only get to /etc/fstab in "read only" status. I am sure there is way to remove the entry to /dev/sdc1 but I have not been able to do so. Any help would be appreciated Greg Ennis
You should be able to boot off the CentOS 5 (assuming its 5) DVD or CD1 and go into "linux rescue" mode which will allow you to mount the / drive in rw mode thus allowing you to remove the entry from the /etc/fstab. Look into that option, I have done it before, but can't remember the exact steps. A quick Google search found this: <http://www.linuxtopia.org/online_books/centos5/ centos5_installation_guide/centos5_s1-rescuemode-boot.html> On Sep 22, 2007, at 5:19 PM, Gregory P. Ennis wrote:> Everyone, > > I installed a sata drive on a SuperMicro with SCSI drives. No problem > with the installation. Everything went as expected as the os > recognized > the drive and assigned /dev/sdc to the new 300 gig Seagate drive. > I had > planned to use this drive for backup tarballs. > > The drive had been functional for about a week with no problems. > Apparently it went out today when I tried to reboot the system. > Now the > boot process brings the system up into repair mode, but mounts the / > partition in "read only" status. I can see that the original /dev/sdc > is present but /dev/sdc1 is not present. > > I removed the drive completely and predictably /dev/sdc is no longer > present. > > The problem I have now is that I have an entry in /etc/fstab that > references the disabled drive that I am unable to change because I can > only get to /etc/fstab in "read only" status. I am sure there is > way to > remove the entry to /dev/sdc1 but I have not been able to do so. > > Any help would be appreciated > > Greg Ennis > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos
When your / is mounted ro, you can remount / in rw using this command # mount -o remount,rw / Then update your fstab and reboot Regards Alain On 9/22/07, Gregory P. Ennis <PoMec at pomec.net> wrote:> Everyone, > > I installed a sata drive on a SuperMicro with SCSI drives. No problem > with the installation. Everything went as expected as the os recognized > the drive and assigned /dev/sdc to the new 300 gig Seagate drive. I had > planned to use this drive for backup tarballs. > > The drive had been functional for about a week with no problems. > Apparently it went out today when I tried to reboot the system. Now the > boot process brings the system up into repair mode, but mounts the / > partition in "read only" status. I can see that the original /dev/sdc > is present but /dev/sdc1 is not present. > > I removed the drive completely and predictably /dev/sdc is no longer > present. > > The problem I have now is that I have an entry in /etc/fstab that > references the disabled drive that I am unable to change because I can > only get to /etc/fstab in "read only" status. I am sure there is way to > remove the entry to /dev/sdc1 but I have not been able to do so. > > Any help would be appreciated > > Greg Ennis > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Alain Spineux aspineux gmail com May the sources be with you