LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   parttion gives an error that it is readonly when it mounted as rw (https://www.linuxquestions.org/questions/linux-general-1/parttion-gives-an-error-that-it-is-readonly-when-it-mounted-as-rw-462027/)

jabka 07-08-2006 04:43 AM

parttion gives an error that it is readonly when it mounted as rw
 
Howdy,..

i created a parttion using fdisk and mkfs.
i had mounted it as :
Code:

mount /dev/hdb4 /mnt/hdb4
i checked that it is mounted as rw:
Quote:

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)
debian:/mnt/hdb4#
if i try to create a dir by mkdir all go good:
Quote:

debian:/mnt/hdb4# mkdir 1
debian:/mnt/hdb4# ls
1 finshed
debian:/mnt/hdb4#
now if i try to cp lots of data from another hdd im getting an error that the system is readonly :
Code:

cp -r  /mnt/downstream/distro /mnt/hdb4/
Quote:

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.

nadroj 07-08-2006 09:03 PM

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!


All times are GMT -5. The time now is 09:20 PM.