> Read only disks on Linux system | Unix Linux Forums | Fedora

  Unix/Linux Go Back    


Fedora is an operating system centered on the Linux open source kernel and is developed by the community-supported Fedora Project. Fedora is sponsored by Red Hat. Fedora contains software distributed under a free and open-source license. Fedora focuses on innovation, integrating and adopting new technologies and working closely with various Linux communities. The default desktop in Fedora is the GNOME desktop environment and the default user interface is the GNOME Shell. Other desktop environments include KDE Plasma, Xfce, LXDE, MATE and Cinnamon. Security is an important aspect of Fedora with one specific security feature, Security-Enhanced Linux, implementing a variety of software security policies, including mandatory access controls.

Read only disks on Linux system

Fedora


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-02-2010
wbdevilliers wbdevilliers is offline
Registered User
 
Join Date: Jan 2010
Last Activity: 9 October 2012, 7:39 AM EDT
Location: Johannesburg, South Africa
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Unix or Linux Question Read only disks on Linux system

Hi guys

I have a SSL server that is running Fedora 9. I wanted to create a directory but get:

mkdir: cannot create directory `test': Read-only file system

Any ideas?
Sponsored Links
    #2  
Old Unix and Linux 02-02-2010
pludi's Unix or Linux Image
pludi pludi is offline Forum Advisor  
Cat herder
 
Join Date: Dec 2008
Last Activity: 28 March 2014, 8:35 AM EDT
Location: Vienna, Austria, Earth
Posts: 5,522
Thanks: 38
Thanked 335 Times in 308 Posts
Yes. Remount the file system as read-write. That's the best answer I can offer based on the information you've give.
Sponsored Links
    #3  
Old Unix and Linux 02-02-2010
wbdevilliers wbdevilliers is offline
Registered User
 
Join Date: Jan 2010
Last Activity: 9 October 2012, 7:39 AM EDT
Location: Johannesburg, South Africa
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
System mounted the disk as read only due to I/O failure errors...
    #4  
Old Unix and Linux 02-02-2010
pludi's Unix or Linux Image
pludi pludi is offline Forum Advisor  
Cat herder
 
Join Date: Dec 2008
Last Activity: 28 March 2014, 8:35 AM EDT
Location: Vienna, Austria, Earth
Posts: 5,522
Thanks: 38
Thanked 335 Times in 308 Posts
If the disk has I/O errors, shouldn't you be more concerned with repairing/recovering that, instead of doing a (possibly dangerous) write operation?

But if you really want to go through with it:
Code:
mount -oremount,rw /path/to/disk

should mount the device in read/write mode. However, should you lose data due to that, neither I nor the UNIX and Linux Forums can be held liable.
Sponsored Links
    #5  
Old Unix and Linux 02-03-2010
wbdevilliers wbdevilliers is offline
Registered User
 
Join Date: Jan 2010
Last Activity: 9 October 2012, 7:39 AM EDT
Location: Johannesburg, South Africa
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
This was a Virtual server running on ESX with a Netapp NFS data-store solution. Something screwed up the virtual disk... I rebooted it but obviously could not boot after that. It is fine, took me a few minutes to roll back the whole server to a previous snapshot.

Thanks!
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone lifegeek UNIX for Advanced & Expert Users 0 11-15-2009 10:12 PM
file system not getting mounted in read write mode after system power failure gtkpmbpl SCO 1 09-24-2009 12:57 PM
Read data of a page frame (linux) make freeze the system hahai Linux 2 09-15-2009 02:04 PM
system disks on aix 5.3 ariec AIX 9 03-12-2008 11:36 AM
donation on hpux system admin cbt disks hpux2006 HP-UX 0 08-30-2006 01:23 PM



All times are GMT -4. The time now is 08:58 PM.