Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-08-2006, 05:43 AM   #1
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Rep: Reputation: 31
parttion gives an error that it is readonly when it mounted as rw


i created a parttion using fdisk and mkfs.
i had mounted it as :
mount /dev/hdb4 /mnt/hdb4
i checked that it is mounted as rw:
debian:/mnt/hdb4# mount
/dev/hda7 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda6 on /home type reiserfs (rw)
/dev/hda8 on /mnt/downstream type ext3 (rw)
/dev/hda1 on /usr type ext3 (rw)
/dev/hdb1 on /mnt/hdb1 type ext3 (rw)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
/dev/hdb4 on /mnt/hdb4 type ext3 (rw)
if i try to create a dir by mkdir all go good:
debian:/mnt/hdb4# mkdir 1
debian:/mnt/hdb4# ls
1 finshed
now if i try to cp lots of data from another hdd im getting an error that the system is readonly :
cp -r  /mnt/downstream/distro /mnt/hdb4/
cp: cannot create regular file `/mnt/hdb4/distro/ftp/pub/Mandrivalinux/media/main2/mplayer-1.0-1.pre7.12mdk.i586.rpm': Read-only file system
cp: cannot create regular file `/mnt/hdb4/distro/ftp/pub/Mandrivalinux/media/main2/mt-st-0.8-1mdk.i586.rpm': Read-only file system
cp: cannot create regular file `/mnt/hdb4/distro/ftp/pub/Mandrivalinux/media/main2/mures-0.5-4mdk.i586.rpm': Read-only file system
cp: cannot create regular file
lots of more ro errors.
im runnig debian unstable.
Old 07-08-2006, 10:03 PM   #2
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
after this happens can you still create folders and files manually on hdb4? what about other drives? did you run 'mount' after you got these errors? is there any relevant output in 'dmesg | less'? maybe run 'fsck' on either hdb4 or hda8. if none of this helps, then im out of ideas.
good luck!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mounted fat32 filesystem becomes readonly after sometime, wierd? koodoo Linux - Newbie 6 11-24-2005 12:34 AM
Hda errors-how to buckup a parttion ? jabka Linux - Hardware 2 11-08-2005 02:58 PM
EXT-fs error (device hda3) in start_transaction: Readonly filesystem kiwibird Linux - Hardware 2 10-21-2005 11:15 AM
mounted filesystem error.... Basslord1124 Linux - General 4 03-17-2005 02:29 PM
root parttion/hda problem with fedora jimmierock Linux - Newbie 1 11-09-2004 07:29 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration