HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux Root Filesystem Read Only
Operating System - Linux
1835192
Members
1957
Online
110077
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 03:01 AM
04-29-2008 03:01 AM
Linux Root Filesystem Read Only
I have a Proliant server running Redhat 4. I had to run an up2date on it to bring it to Redhat 4 Update 4. I did that using the ISO's I had downloaded from Red Hat.
The up2date ran fine (no errors or dependency problems) but upon reboot the root filesystem mounted as read only so the boot hung.
I used my rescue cd and edited grub.conf to mount / as rw and it seemed to help it although now when i try to login as root at the prompt i receive 'Permission Denied'.
I'm guessing that editing grub.conf was totally wrong as any other Linux systems I have show / being mounted as ro in this file (must be somewhere else later it mounts it as rw).
Does anybody have any thoughts on this?
Any help greatly appreciated.
The up2date ran fine (no errors or dependency problems) but upon reboot the root filesystem mounted as read only so the boot hung.
I used my rescue cd and edited grub.conf to mount / as rw and it seemed to help it although now when i try to login as root at the prompt i receive 'Permission Denied'.
I'm guessing that editing grub.conf was totally wrong as any other Linux systems I have show / being mounted as ro in this file (must be somewhere else later it mounts it as rw).
Does anybody have any thoughts on this?
Any help greatly appreciated.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 06:46 AM
04-29-2008 06:46 AM
Re: Linux Root Filesystem Read Only
Go to rescue mode using the RHEL installation CD with the boot option:
linux rescue
if vg00 not getting mounted automaically.
2.Try to activate the volume groups by running the commands below:
lvmdiskscan
vgchange -ay
3.If vg00 is acitaved Further fsck test can be done using:
tune2fs -l /dev/vg00/lv01 | grep Block
Take note of the Block size.
e2fsck -b
Also if you encounter any super block corruption then try
# mke2fs -n /dev/vgeb_gdh0_p/lvol10
mke2fs 1.32 (09-Nov-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131072 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
# e2fsck -b 32768 /dev/vgeb_gdh0_p/lvol10
e2fsck 1.32 (09-Nov-2002)
/dev/vgeb_gdh0_p/lvol10 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/vgeb_gdh0_p/lvol10: ***** FILE SYSTEM WAS MODIFIED *****
/dev/vgeb_gdh0_p/lvol10: 11/131072 files (0.0% non-contiguous), 12329/262144 blocks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 07:13 AM
04-29-2008 07:13 AM
Re: Linux Root Filesystem Read Only
Shalom,
The root filesystem has been damaged.
e2fsck is needed.
You should be able to just boot single user and do this, but rescue mode is the standard approach.
SEP
The root filesystem has been damaged.
e2fsck is needed.
You should be able to just boot single user and do this, but rescue mode is the standard approach.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:15 AM
04-30-2008 02:15 AM
Re: Linux Root Filesystem Read Only
Your answers got me going in the right direction - thanks.
The issue was that because we SAN boot with multipath, when the kernel rebuilt as part of the up2date it lost its path to the boot disk (and ended up seeing multiple copies of it).
I zoned down to 1 path, and presented a cloned boot disk copy (i took this before doing any work). After booting up on this disk, I ran up2date again. This time it seems to have gone a lot smoother EXCEPT for the fact that now when i get to the GUI login prompt and try to login as root I receive a pop up saying "Authentication Failed".
Any more help is greatly appreciatted.
The issue was that because we SAN boot with multipath, when the kernel rebuilt as part of the up2date it lost its path to the boot disk (and ended up seeing multiple copies of it).
I zoned down to 1 path, and presented a cloned boot disk copy (i took this before doing any work). After booting up on this disk, I ran up2date again. This time it seems to have gone a lot smoother EXCEPT for the fact that now when i get to the GUI login prompt and try to login as root I receive a pop up saying "Authentication Failed".
Any more help is greatly appreciatted.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP