Read only disks on Linux system | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Read only disks on Linux system

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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
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 02-02-2010
pludi's Avatar
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 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 02-02-2010
pludi's Avatar
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 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:51 PM.