- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Read-only file system Error
Categories
Company
Local Language
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
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО07-27-2010 01:09 PM
тАО07-27-2010 01:09 PM
I am getting a read-only filesystem error on /opt. But some times it will be writable after a reboot.
I got the following error log while a DP agent installation.
[root@pwbsrmpm01a tmp]# more da-rpm.log
error: package OB2-DA is not installed
Preparing... ##################################################
OB2-DA ##################################################
error: unpacking of archive failed on file /opt: cpio: chown failed - Inappropri
ate ioctl for device
[root@pwbsrmpm01a tmp]# more cc-rpm.log
error: package OB2-CC is not installed
Preparing... ##################################################
OB2-CC ##################################################
error: unpacking of archive failed on file /opt: cpio: chown failed - Inappropri
ate ioctl for device
# df -h
/dev/mapper/vg00-lvol02
50G 283M 47G 1% /opt
There no more hints related to this in /var/log/messages.
Any help will be apreciated.
Thanks
Pramod
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2010 01:44 PM
тАО07-27-2010 01:44 PM
Re: Read-only file system Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2010 06:19 PM
тАО07-27-2010 06:19 PM
Re: Read-only file system Error
The times I have seen file systems flip to readonly after a successful boot is when the file system has issues, but isn't picked up on boot. When the kernel hits the bad part of the file system it flips it read only to protect the data on there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 02:21 AM
тАО07-28-2010 02:21 AM
SolutionThe /etc/mtab file is updated only when the "mount" command is used to mount or unmount filesystems: if the kernel changes the state of a filesystem because of a disk error, it won't be reflected in /etc/mtab.
Only /proc/mounts will display current information in this case, because all the information in /proc filesystem is dynamically generated by the kernel whenever it's requested, so it will always be up to date.
To find read-only filesystems, please run:
grep "ro," /proc/mounts
(The comma is important for avoiding false detections.)
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 10:00 AM
тАО07-28-2010 10:00 AM